LPC4357 ISP mode code execution problem

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

LPC4357 ISP mode code execution problem

跳至解决方案
1,588 次查看
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,574 次查看
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,577 次查看
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,575 次查看
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,557 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello deler, 

Yes, It is correct.

 

BR

Alice

0 项奖励
回复