lpcware

LPC1227 recover from bad PLL value

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Kartman on Wed Apr 06 05:22:17 MST 2011
I was a little unhappy about my LPC1227 running at only 24MHz so I set about changing the PLL value to give me 48MHz, so in the file system_LPC12xx.c I changed this line:

[B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]#define[/B][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] SYSPLLCTRL_Val 0x00000043 //was 0x41[/SIZE]
[SIZE=2][/SIZE]
[SIZE=2]unfortunately, I can no longer use the LPC-Link to talk to the device. It has trouble writing to the flash. How can I recover from this?
[/SIZE]

Outcomes