LPC804 M101JDH20 Warning "the scripted reset failed"

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

LPC804 M101JDH20 Warning "the scripted reset failed"

跳至解决方案
1,123 次查看
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.


标签 (3)
标记 (2)
0 项奖励
回复
1 解答
1,098 次查看
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 项奖励
回复
2 回复数
1,103 次查看
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 项奖励
回复
1,099 次查看
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 项奖励
回复