Hello! I got keil project for LPC4088
In start up file i see:
; IF :LNOT::DEF:NO_CRP ; AREA |.ARM.__at_0x02FC|, CODE, READONLY ;CRP_Key DCD 0xFFFFFFFF ;
and in iap.h file i see:
#define IAP_CRP_ENABLED 19 /*!< Code read protection enabled */
Some times i can t to connect with my MCU. In this case i try to connect with help of flashmagic.exe throught UART. ANd then i do full erase.
Then one more time i get blocked MCU and using flashmagic.
What is means ? what is my CRP level ? How many count of erase do i have ?
What can i do for turn off CRP protection ?
Please help.
Are those semi-colons?
Don't semi-colons usually indicate a comment in an assembler file?
If the answer to both is yes, then no setting of a define is going to magically activate those lines.
Yeah! it is under comment. But also we see
I tried to uncomment - it is not working.
If you want help about code, then you need to post the code exactly as it's written in the actual source code file.
Else, it's impossible to know if your edits are correct or not.
Another thing - you don't have fixed number of lock attempts. The CPR doesn't have any counter for number of accesses. If the CPR value is written in flash, then it's just a question of how many times the flash sector thatn stores this value can be erased and rewritten without wearing out.