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 help me on activating CRP for LPC1768 micro using keil uv4.
Regards Zal
IF :LNOT::DEF:NO_CRP AREA |.ARM.__at_0x02FC|, CODE, READONLY CRP_Key DCD 0xFFFFFFFF ENDIF
The above is copied from startup_LPC17xx.s (NXP's code.bundle.lpc17xx.keil). So, I believe that, you can find the CRP_Key setting in the KEIL startup.s for LPC17xx.
John,
The OP was interested in ENABLING CRP. Your code snippet does not;
It should have been
CRP_Key DCD 0x12345678
for CRP1, or
CRP_Key DCD 0x87654321
for CRP2 or
CRP_Key DCD 0x43218765
for CRP3.
Hi Tamir,
I remember that you have already start the real development on LPC17xx Cortex-M3. Do you use the new programming model? I mean the Software Driver Model.
lpc17xx.cmsis.driver.library.zip:
ics.nxp.com/.../code.bundle.lpc17xx.keil.zip
More and more documentation need to be read, I am a little frustrated.
I only wrote 2 small bootloader for this chip so I don't know it too well - still working with LPC2478. But once we start with the C model (we still did not start with B though...) - I will ! Thanks for the link.