Content originally posted in LPCWare by CodeRedSupport on Wed Apr 21 05:23:20 MST 2010
Hi again,
Your MCU debug log shows that your ~7KB of code is getting programmed into the flash in ~8 seconds, which sounds about right for XP, particularly if you are using the hid driver (and it is presumably not a recent, fast PC if it is running XP). So this leaves the question of what is then happening for the remaining 1min 37 seconds!
What should be happening is that the MCU should be coming out of reset and running the initialisation code and then stopping when it hits the breakpoint on main(). But this should only take a second or two to happen at most.
Can you try creating a new workspace, import the LPC13 CMSIS project from the examples, and then use the Project wizard to create an "NXP LPC1300 C Project". Build this as created, then select Debug. How long does this take to program into flash and execute up to the breakpoint on main() ?
As you are using your own LPC1342 board, I presume that you have split the LPC-Link off from the MCU part of the LPCXpresso board? It would be good to try the same test using the MCU on the LPCXpresso1343 board. Do you have another such board to hand, or can you connect your LPC-Link back to the main MCU part of your LPCXpresso board?
Please make sure you have "Initialise LPC-Link as HID" unticked on your XP box when you do all this. Note that this setting is stored in the workspace, so make sure you check it after creating the new workspace.
Regards
CodeRedSupport