We have an unsigned image with CRC created using elf2sb. We would like to ensure these defaults are by default have disabled ISP & SWD by setting state to OEM-Closed.
We believe the PFR starts at 0x3de00 on the 5512, do we include this address in our binary file or must programming house define this area themselves? If the former, is there a tool to create such an area?
Hi Gorvak
You don't need to include PFR address in code. When use blhost program CFPA, the command defines the burning address like this:
blhost -p COMxx write-memory 0x3DE00 <path to the CFPA(.bin)>
For more, see
https://www.nxp.com/docs/en/application-note/AN12283.pdf
https://www.nxp.com/docs/en/application-note-software/AN12283SW.zip
AN12283 is based on LPC55S69.
The PFR size of LPC55S6x/LPC55S2x is 10 KB, located in 0x0009_D800 – 0x0009_FFFF.
The PFR size of LPC55S1x is 12 KB, located in 0x0003_D000 – 0x0003_FFFF.
When refer it, you need adjust PFR to the right address.
Have a nice day,
Jun Zhang