LPC1226 GPREG1 & GPREG2 reset values

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

LPC1226 GPREG1 & GPREG2 reset values

603 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JSalisbury on Mon Dec 12 09:10:15 MST 2011
Hi,
Hi,
I am looking to use PMU GPREG1 and GPREG2 in my design. Looking in the  manual it suggests these should reset to 0x00000000 at power up. I am finding at  power up that via the debugger that  GPREG1 and GPREG2 are both being set to Ox292E or 0x293A  I have tried a complete power down and checked that the power rails have fallen to 10mV or less.

Any suggestions?

Thanks
0 Kudos
Reply
1 Reply

594 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JSalisbury on Mon Dec 12 09:25:32 MST 2011
Problem solved,
the debugger lets the program run before entering the debug state. In this instance it is required to erase flash and then enter the debugger.This ensures that the program hasn't been able to run before debugging.
0 Kudos
Reply