LPC13xx SWD Programe MCU Flash

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

LPC13xx SWD Programe MCU Flash

695 Views
Luoyin
Contributor I

Hello,

Our company is design the programer, Local in Guangzhou China(www.up48.com).

Now, We are try to add the NXP LPC13xx to our device. Via the swd to programe the mcu flash.

But we can't find the doc about the FMC Register description.  

 

0 Kudos
Reply
4 Replies

644 Views
Luoyin
Contributor I

Thank very much.

0 Kudos
Reply

681 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls refer to section 21.16 Flash controller registers, especially FLASHCFG register for flash delay configuration.

Hope it can help you

BR

XiangJun Rong

xiangjun_rong_0-1710123724076.png

 

0 Kudos
Reply

666 Views
Luoyin
Contributor I

Hello, thank !

Yes, I note that before, But it no detail description.

For example, how to set the REG to erase the chip, program the flash and unlock chip, etc.

I thank, It should be have a doc to describe.

 

0 Kudos
Reply

661 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

For Flash programming operation, pls refer to section in UM10524.pdf:

21.14 IAP commands

There is code in ROM, which provides flash eraing/programming api function, you can call them.

Hope it can help you

BR

XiangJun Rong

 

 

0 Kudos
Reply