Content originally posted in LPCWare by kemes on Mon Apr 01 11:12:33 MST 2013
Hi to all
I am porting my code from LPC1114 to LPC11U37. The code, that uses UART, compile and works well under LPC1114. On the new processor the code compile correctly and works well except when I attempt to enable UART1. In particular if I set :
LPC_IOCON->PIO0_18 = 1; // PIO0_18 is RXD
LPC_IOCON->PIO0_19 = 1; // PIO0_19 is RXD
In order to config the usart1 pins, it compiles, but when I start debugging the result is:
15: Target error from Commit Flash write
Flash verify operation failed.
And I can't debug. if I comment the two lines, it compiles and downloads well (and, of course, doesn't work usart 1....) allowing me to debug.
There are some other settings ?
Thanks