This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC CRP

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.

Parents
  • ; IF :LNOT::DEF:NO_CRP
    ; AREA |.ARM.__at_0x02FC|, CODE, READONLY
    ;CRP_Key DCD 0xFFFFFFFF
    ;
    

    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.

Reply
  • ; IF :LNOT::DEF:NO_CRP
    ; AREA |.ARM.__at_0x02FC|, CODE, READONLY
    ;CRP_Key DCD 0xFFFFFFFF
    ;
    

    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.

Children