Hello,
I want to ask, in LPC804M101JDH20 I use GPIO14 / pin 4 as PWM output, and this is my schematic
I use IAR as editor, when I upload the program I get error like this :
Please help me to solve this problem. Thanks.
Solved! Go to Solution.
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.
Hello @witaradya
How about try to debug a simple project like hello world that doesn't use this pin.
BR
Alice
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.