LPC55S0 flash re-programming using reset pin vs power cycling

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC55S0 flash re-programming using reset pin vs power cycling

Jump to solution
302 Views
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)?

 

Labels (1)
0 Kudos
1 Solution
283 Views
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

View solution in original post

0 Kudos
3 Replies
235 Views
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 Kudos
284 Views
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 Kudos
237 Views
Ash17
Contributor I

Thanks! That answers my question.

0 Kudos