没有连接jtag 看过示波器,tms,tck 波形稳定,调用 HAL_SYSTEM_RESET() 会死机
Viki Shi:
这个问题大部分是连接调试器容易出现,不过软复位本身也容易造成系统不稳定,见hal_mcu.h注释:
// Perform the equivalent of a PIN Reset (hard reset).
// The cc26xx system has not been design to handle soft reset.
// Making a soft reset can make the system unstable.
// All soft reset needs to be replace by Hard reset.#define HAL_SYSTEM_RESET()(HWREG( AON_SYSCTL_BASE + AON_SYSCTL_O_RESETCTL ) |= AON_SYSCTL_RESETCTL_SYSRESET_M);
kurj h:
回复 Viki Shi:
Perform the equivalent of a PIN Reset (hard reset).这不是等效硬复位么
Susan Yang:
回复 kurj h:
请问您现在想实现什么功能?
kurj h:
回复 Susan Yang:
HAL_SYSTEM_RESET()在l206gprs模块无法连接网络的时候,重启芯片,重新运行程序