Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
4 years, 2 months ago.
Porting code from mbed LPC11U24 to LPC1114 on target application
I've written a small application on an mbed LPC11U24 device. It works perfectly.
I have modified the pin assignments to suit the LPC1114 device which is on my target board (I am using the SO28 device) and recompiled it for the LPC1114.
It loads perfectly into the target device using Tedd Okano's 'ika shouyou poppakai' ISP utility.
However, it does not work. It runs through the first few set lines of code and then hlts. I can see this because of the printf statements I inserted into the code that come back to Teraterm via the pass through mode on the ISP programmer. I initially thought that is was the printf statements - but if I comment these out, it still does not run.
I also note that pin 3 is not available when compiling on the LPC1114 platform because it is used by the mbed LPC1114 device. Even if I disable that pin (i.e. I don't use it), it still hangs.
What am I doing wrong? How can I free up all the pins on my target device?