Content originally posted in LPCWare by mfc on Tue Jan 11 04:32:53 MST 2011
Hi, thanks for the reply -- some additional details below.
> I'm sorry you have been having problems getting started with your
> LPCxpresso1114.
>
> Looking again at your text, I think that you initial build problems
> were caused by picking the "wrong" set of LPCXpresso1114 examples.
> Inside the LPC11 examples subdirectory there are actually several
> sets of examples. I think that you chose "LPCXpresso1114.zip" which
> is a set of simple examples maintained by CodeRed.
Yes, there were three zips there and the Getting Started guide did
not say which. Since only one had 'LPCXpresso' in the name that
seemed the obvious one to select...
> This ZIP contains a number of application projects, plus TWO library
> projects - CMSIS and LPC11_Lib. The application projects require both
> of these library projects in order to build (this should be described
> in the readme contained within each project). As you originally did
> not import the LPC11_Lib project, building the blinky application
> failed.
Yes, that sounds right -- it was not finding GPIO functions, etc.
> The Getting Started was written by NXP and focusses on their more
> indepth examples for the LPC11xx. Unfortunately the LPCXpresso 3.6.x
> release pulls in some more recent examples from NXP, which no longer
> tie up 100% with the text given in the Getting Started Guide. We'll
> discuss with NXP updating the Getting Started Guide to match the
> latest examples provided with the product.
That would be a good idea; after all, it's the first thing one sees
after installing your IDE. :-)
> With regards to your problems connecting to the board, if you
> disconnect the debug session before starting a new debug session,
> then this should "just work". I certainly cannot provoke the same
> issue you are seeing with the second connection failing (LPCXpresso
> IDE 3.6.1 running on Win7/32bit talking to an LPCXpresso1114 board).
Note that I did not disconnect/terminate the debug session before I
rebuilt (I had no idea that might be necessary). After that, it was
'broken', and the Terminate button did not work either.
> If you continue to experience problems, then please provide more
> details of your setup, including:
I'm going to wait until the LPC1768/9 version is available before I
try again (I've decided porting my M3 code to M0 is low value), but
here is some additional information on yesterday's attempts:
> * What operating system are you using? And are you running it
> natively or via a virtual machine.
Windows 7, fully updated. Native.
> * What version of the LPCXpresso IDE are you using?
Downloaded yesterday.
> * What is the full error message that you actually see?
There was first a popup saying the device was in use, then on trying
Terminate the 'failure to Interrupt' message (see earlier post).
> * Are you connecting the LPCXPresso board directly to your PC's USB
> port, or via a USB hub. If via a hub, then try connecting directly.
It was connected directly.
> If directly, try via a powered hub (we don't normally recommend
> the use of a hub, but if you have a power issue with the USB ports
> on your PC, then this might help.
The PC is a Lenovo Thinkpad X200 .. I've tested earlier that it will
supply the full 500 mA.
> * Do you have any other hardware connected the the LPCXPresso board
> (external hardware, including, for example, an Embedded Artists
> baseboard). If so, try removing it.
None; just came out of the package.
> * Try swapping the USB cable for another one.
Will try to remember to try that, but the cable is use is short and
has ferrite; never had a problem with it (even very heavy traffic,
such as the Saleae Logic).
Mike