Part Number: CC2530
Hi Team,
A customer needs support on SBL reset.
Chip: CC2530
Stack version:ZHA1.2.2a
Device Type: Coordinator
His requirement: Connecting coordinator and linux gateway via serial port and making a firmware update.
He referred 《Serial_Boot_Loader_for_CC253x》 and the code worked fine.
His question:
1.The gateway sent a reset command to the coordinator to do a firmware update. But the coordinator didn't enter BOOT, it entered the beginning of the application code instead.
2.There are two reset function in Zstack: SystemReset() and SystemResetSoft(). He tested both of them:
2.1. SystemReset()----At any situation, the chip come to application section.
2.2. SystemResetSoft()-----The chip can enter BOOT on the first time after power on, other times it also come to application section.
2.3. Power On or pull down reset pin manually, the chip can enter BOOT.
3.In his application the CC2530 can not be powered off and there is no reset button when implementing firmware update, the only way is make a software reset. What changes are needed to reset the program and enter the boot mode to make a firmware update?
OTA is not considered, because the coordinator is designed to connected with linux gateway, so SBL is prefered. Any suggestion will be appreciated.
BR,
Viki