Preprogramming LPC5512 and setting default state to OEM-Closed to disable ISP/SWD

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Preprogramming LPC5512 and setting default state to OEM-Closed to disable ISP/SWD

506 Views
Gorvak
Contributor II

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?

Labels (1)
0 Kudos
1 Reply

493 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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

0 Kudos