LPC804 M101JDH20 Warning "the scripted reset failed"

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

LPC804 M101JDH20 Warning "the scripted reset failed"

Jump to solution
518 Views
witaradya
Contributor II

Hello, 
I want to ask, in LPC804M101JDH20 I use GPIO14 / pin 4 as PWM output, and this is my schematic

witaradya_0-1679885688742.png

I use IAR as editor, when I upload the program I get error like this :

witaradya_1-1679885790877.png

Please help me to solve this problem. Thanks.


Labels (3)
Tags (2)
0 Kudos
Reply
1 Solution
493 Views
witaradya
Contributor II

Thanks, the problem already solved. The problem is use PIO0_12 and reference this pin to GND. At the same time PIO0_12 use as ISP entry pin that a LOW level in this pin during reset starts the ISP command handler. The solution is set CRP mode to NO_ISP in startup_lpc804.c. change __CRP const unsigned int CRP_WORD = CRP_NO_CRP; to __CRP const unsigned int CRP_WORD = CRP_NO_ISP;. Thanks.

View solution in original post

0 Kudos
Reply
2 Replies
498 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @witaradya 

How about try to debug a simple project like hello world that doesn't use this pin.

 

BR

Alice

0 Kudos
Reply
494 Views
witaradya
Contributor II

Thanks, the problem already solved. The problem is use PIO0_12 and reference this pin to GND. At the same time PIO0_12 use as ISP entry pin that a LOW level in this pin during reset starts the ISP command handler. The solution is set CRP mode to NO_ISP in startup_lpc804.c. change __CRP const unsigned int CRP_WORD = CRP_NO_CRP; to __CRP const unsigned int CRP_WORD = CRP_NO_ISP;. Thanks.

0 Kudos
Reply