LPC55S0 flash re-programming using reset pin vs power cycling

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LPC55S0 flash re-programming using reset pin vs power cycling

跳至解决方案
685 次查看
Ash17
Contributor I

When reprogramming the LPC55S06JHI48, with the example "hello world" FW found in the SDK, we noticed that the "hello world" text does not appear in a terminal or console when we power cycle after programming. But the "hello world" text shows up if we program and then press reset. However, we discovered that the re-program does work during power cycle when we tried another FW file but for some reason resetting and power cycling makes the MCU behave differently. 

Does the MCU bootloader do different tasks after a power cycle vs a reset? Is it ok to only power cycle after re-flashing (no reset)?

 

标签 (1)
0 项奖励
回复
1 解答
666 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Ash17 

About the reset difference, please refer to Table 164. Resets of UM11424.

https://www.nxp.com.cn/docs/en/user-guide/UM11424.pdf  

Below just part of them:

Alice_Yang_0-1708585447824.png

 

 

BR

Alice

在原帖中查看解决方案

0 项奖励
回复
3 回复数
618 次查看
Ash17
Contributor I

I do want to point out that it appears that this MCU appears to have some delay during bootup where code in the flash won't properly execute until the booting is complete. Since the the RTC and MCU clock is still active during a reset but obviously not during a power-cycle, it explains why the "hello world" text shows up after reset but not after power cycle.

0 项奖励
回复
667 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Ash17 

About the reset difference, please refer to Table 164. Resets of UM11424.

https://www.nxp.com.cn/docs/en/user-guide/UM11424.pdf  

Below just part of them:

Alice_Yang_0-1708585447824.png

 

 

BR

Alice

0 项奖励
回复
620 次查看
Ash17
Contributor I

Thanks! That answers my question.

0 项奖励
回复