I have weird situation on LPC1768 microcontroller. I have copied project software from original to new folder for backup needs. I compiled the copied program with uVision4 and download it to uC via ulink2. The flashing process is stopped at 70% and uC stops working. The uC doesn’t response to reset anymore. The Bootloader doesn’t start up (tested with Flash Magic). Some pins stay at 3.3V when the reset is activated. I have tried this on 3 uC, 100% software problem. Tested on Keil MCB1700 too. Can I destroy the uC with software? This problem disappear when I have replaced startup and configuration file.
Best Regards Franc Hanzic
I looked on new and previous startup file and find edited CRP code in previous one.
;IF :LNOT::DEF:NO_CRP ;AREA |.ARM.__at_0x02FC|, CODE, READONLY ;CRP_Key DCD 0xFFFFFFFF ;ENDIF
Don’t ask me why the code was edited with semicolon, I’m not the only developer in our company. Can be edited CRP protection the reason of this problem? But still, this startup code is working with other projects.