We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Please explain me how i can disable CRP for LPC 1777 in keil. I am getting error like no algorithm found for Address 0x000002FC while downloading program. This address related CRP. Regards Anandan A
To my knowledge, there are no magic about that address.
Most NXP ARM chips just has a specific address where a program can store magic values and if the boot loader internal to the chip sees any of these magic values then it will lock down the chip, i.e. not activate read-out functionality in IAP/ISP and block the JTAG interface.
An interesting thing is that too large startup code can result in the startup code reaching this magic address - and the startup code just may contain one of the magic values that will activate one of the code read-protect modes.
IF :LNOT::DEF:NO_CRP AREA |.ARM.__at_0x02FC|, CODE, READONLY CRP_Key DCD 0xFFFFFFFF ENDIF
In your startup.s file, you should see something like the above. Fiddle with the CRP_Key, and see what will happen. You may brick your MCU, if you don't know what you are doing.