LPC4357 ISP mode code execution problem

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

LPC4357 ISP mode code execution problem

ソリューションへジャンプ
1,590件の閲覧回数
deler
Contributor I

Hi All,

I am trying to do ISP programming board with MCB4300 dev board. To go into ISP mode I am pulling P2.7 LOW after power on (using push button- ISP) & my boot select pins P2_9, P2_8, P1_2 & P1_1 are set to LOW. With this setup I am able to program the MCU successfully.

BUT, the code is not executing post programming-

1. even if ISP switch is not pressed during next power up.

2. changing the boot select pin positions.

Code runs when-

1. I check "Go after programming" option in flashmagic software.

deler_1-1659356933012.png

 

Also, MCB4300 stays in ISP mode even after multiple reset cycles, which I feel is the creating problems in code execution. 

Can anyone please help me to resolve this issue. Thanks in advance.

0 件の賞賛
返信
1 解決策
1,576件の閲覧回数
deler
Contributor I

Resolved the problem last night when I tick Activate Bank: "A" & untick Go After Programming. However, being new user of flashmagic, I would like to know if it is a correct solution? If its a correct the I will accept this as a solution.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,579件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

1) Please confirm whether your application project works well using debugger to download? Not use ISP mode program.

2) Make sure program successfully using Flash Magic.

3) How about power reset after using Flash Magic programed.

 

BR

Alice

 

0 件の賞賛
返信
1,577件の閲覧回数
deler
Contributor I

Resolved the problem last night when I tick Activate Bank: "A" & untick Go After Programming. However, being new user of flashmagic, I would like to know if it is a correct solution? If its a correct the I will accept this as a solution.

0 件の賞賛
返信
1,559件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello deler, 

Yes, It is correct.

 

BR

Alice

0 件の賞賛
返信