Hello
I'm trying to set read protection code in LPC2368
I have read the post regarding that read code protections uses four bytes at a specific memory location
But I can't change the .hex file, Still how can I enable read code protection?
I'm looking for version for old command HEXFILE(CODEREADPROTECTION)
Thanks in advance
Assuming the hex file doesn't use those locations, you can patch it by adding a single record to the end to set the CRP to the value you want. Or, you could write a Just-in-Time module to generate the record automatically every time the hex file is programmed.
Andy
Hello
Sorry I didn't quite get it
What command should I use in (command line) to set read code protection?
I can't add/touch the .hex file
Thanks
I've given you two options. The third - which is the easiest of course - is to go back to the software engineer and have them add the CRP value in to the project. It's a trivial change that will take less than one minute to do.
Andy