LPC8N04 EEPROM writing

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

LPC8N04 EEPROM writing

Jump to solution
1,272 Views
Caroline22
Contributor II

Hello,

I have questions about LPC8N04 EEPROM, SWD connection:

- how to start writing to EEPROM? (I can't write to CMD - 0x4003 4000 - in user manual: "When writing the binary value 110b inside the CMD register field, programming starts: " - is there more info? should I set something else before CMD? - I tried to set CMD with powered and powered down EEPROM - same effect)

- is there any description of STATUS register (address 0x4003 4034)? - for example: reset value for HVTRIM_E is not 0 (after powred EEPROM - also is not 0) - I read registers about EEPROM power settings - there are values as it should be in EEPROM powered case

- CLKDIV1 (0x4003 4054) and CLKDIV2(0x4003 4058) with read access - can't be read

- what values should be set in Wait state registers (WSTATE, WSTATE) (address 0x4003 4008)(address 0x4003 4010) - can i find more details?

 

 

Labels (1)
0 Kudos
Reply
1 Solution
1,260 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

There is EEPROM example in SDK package for LPC8N04, pls refer to it.

You can download SDK from the link:

https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-s...

Hope it can help you

BR

XiangJun Rong

xiangjun_rong_0-1644214596189.png

 

View solution in original post

0 Kudos
Reply
2 Replies
1,261 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

There is EEPROM example in SDK package for LPC8N04, pls refer to it.

You can download SDK from the link:

https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-s...

Hope it can help you

BR

XiangJun Rong

xiangjun_rong_0-1644214596189.png

 

0 Kudos
Reply
1,224 Views
Caroline22
Contributor II

Thank you!

0 Kudos
Reply