LPC4357 ISP mode code execution problem

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

LPC4357 ISP mode code execution problem

Jump to solution
1,584 Views
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 Kudos
Reply
1 Solution
1,570 Views
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.

View solution in original post

0 Kudos
Reply
3 Replies
1,573 Views
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 Kudos
Reply
1,571 Views
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 Kudos
Reply
1,553 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello deler, 

Yes, It is correct.

 

BR

Alice

0 Kudos
Reply