Hi Jeremy,
The programming procedure is as follows:
1. Hold the ISP_EN input low by pressing a push button.
2. Power the LPC11E67, which then goes into ISP mode.
3. The RXD0 and TXD0 of the LPC11E67 are connected to a MCP2221 USB-UART transceiver, so the LPC can be programmed with FlashMagic via USB.
4. The LPC gives corrected response, but with a very low baudrate, which is different each time.
Next I tried the following procedure, which works:
1. Power the board
2. Hold reset and ISP input low
3. Make reset high
4. Make ISP high
5. The device is now in ISP mode, and responds with the correct baudrate.
So it looks like the LPC is determining the baudrate wrongly during power-up in ISP mode. When extending the power-up reset time (larger capacitor on reset input) to >200ms, the baudrate is ok. So the problem is:
1. Power-up in normal operation: short power-up reset (small or no cap on reset input): everything ok, so baudrate ok
2. Power-up in ISP mode by holding ISP input low: reset time >200ms is needed to have correct baudrate on UART0
Hope you can help!
Regards,
Hans