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

CRP on LPC1768

Please help me on activating CRP for LPC1768 micro using keil uv4.

Regards
Zal

Parents
  • On a LPC24xx, you place this

                    AREA    |.ARM.__at_0x01FC|, CODE, READONLY
    CRP_Key         DCD     0x87654321
                                    AREA     |.text|, CODE, READONLY
    

    after the interrupt vector. I don't know your chip well just that the CRP codes are the same as many other peripherals etc. I believe this is the construct the compiler will accept for you too but I don't know exactly where to place it in the startup code.

Reply
  • On a LPC24xx, you place this

                    AREA    |.ARM.__at_0x01FC|, CODE, READONLY
    CRP_Key         DCD     0x87654321
                                    AREA     |.text|, CODE, READONLY
    

    after the interrupt vector. I don't know your chip well just that the CRP codes are the same as many other peripherals etc. I believe this is the construct the compiler will accept for you too but I don't know exactly where to place it in the startup code.

Children