LPC55S0 flash re-programming using reset pin vs power cycling

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC55S0 flash re-programming using reset pin vs power cycling

ソリューションへジャンプ
344件の閲覧回数
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 解決策
325件の閲覧回数
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 返答(返信)
277件の閲覧回数
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 件の賞賛
326件の閲覧回数
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 件の賞賛
279件の閲覧回数
Ash17
Contributor I

Thanks! That answers my question.

0 件の賞賛