#define HAL_SYSTEM_RESET() (HWREG( AON_SYSCTL_BASE + AON_SYSCTL_O_RESETCTL ) |= AON_SYSCTL_RESETCTL_SYSRESET_M);
5X5的芯片,调用这个函数复位不成功。
请问下是什么原因
测试方案:正常上电之后,LED常亮,设备广播。
当手机发起连接的时候,并且连接成功,设备执行复位操作、
现象:手机建立连接之后,LED灭掉,设备没有广播。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
#define HAL_SYSTEM_RESET() (HWREG( AON_SYSCTL_BASE + AON_SYSCTL_O_RESETCTL ) |= AON_SYSCTL_RESETCTL_SYSRESET_M);
5X5的芯片,调用这个函数复位不成功。
请问下是什么原因
测试方案:正常上电之后,LED常亮,设备广播。
当手机发起连接的时候,并且连接成功,设备执行复位操作、
现象:手机建立连接之后,LED灭掉,设备没有广播。
TI工程师是真忙!!!
如果有遇到同样问题的同学 , 尝试吧调试器断开(主要为D,C引脚)。 在测试。
有人解决复位死机的问题了吗?HAL_SYSTEM_RESET()属于软件复位吗?
我在测试OAD的时候,也遇到同样的问题。
升级完成后设备重启失败,必须手动复位一次才行。
这是一个bug,具体见下面的OAD链接:
http://processors.wiki.ti.com/index.php/CC2640_OAD_User%27s_Guide
Note: This affects all CC26xx/CC13xx devices.
Symptom: OAD Doesn’t reboot into BIM after successful OAD. Unplug/replug or hard reset will fix this and the device will boot okay.
Cause: There is a bug with the emulation tools packages that predate the 7.0.48.0 release. The bug would cause the processor enter Halt In Boot (HIB) on the next bootup when the JTAG disconnects. In the case of OAD, that was when HAL_SYSTEM_RESET() was issued at the end of an OAD. The two waveforms (left = HIB, right = normal JTAG disconnect) can be seen below: