LPC804 M101JDH20 Warning "the scripted reset failed"

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

LPC804 M101JDH20 Warning "the scripted reset failed"

ソリューションへジャンプ
1,130件の閲覧回数
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,105件の閲覧回数
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,110件の閲覧回数
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,106件の閲覧回数
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 件の賞賛
返信