Hi;
I am using MCB1700 evalutaion board I set CRP by modifing CRP_Key DCD 0x12345678 in startup_LPCxx.s file.
As I read from user manual this is CRP level 1 and I should be able to erase the flash . But when I click "erase" option under "flash" menu in MDK 4.54 , I am getting can't access to memory error and can't erase the flash. This is a big handicap for my project if anyone help I will be glad .
Thanks in advance
"As I read from user manual this is CRP level 1 and I should be able to erase the flash ."
Oh, really? The answer is that you cannot and must use ISP/FlashMagic.
To be more accurate: "Erase command can erase Sector 0 only when all sectors are selected for erase".
I see , I think it is not working for me because I have CRP on bootloader and on bootloader there is user application. When I click erase it is tring to delete sectors of bootloader and because app's sectors are not selected it is not working .
My other problem I already tried flash magic but couldn't made it work. Do you have any link for a good tutorial for making flash magic work on MCB1700
Thanks
Just follow the procedure to enter ISP mode as indicated in your user manual. The pin used to enter that mode should be 2.10.
I don't know the MCB1700, but normally power-up combined with a push button depressed puts the system in ISP mode, if available (i.e. CRP level 3 not used).
Thanks Tamir your posts are very usefull for me .