LPC1769 debugging with the Bus Blaster

in Bus Blaster by DP | 1 comment

IMG_0037

Alvaro wrote a post on his blog detailing how to debug LPC1769 with the Bus Blaster:

After getting the gcc-arm compiler working with the mbed, I decided to take a look at my LPCXpresso LPC1769 development board. The mbed is really easy to program. It mounts as a flash drive and you just drag and drop the binary file onto it. Unfortunately, that’s it. There is no way to get any debug information out of it. The LPCXpresso, on the other hand, comes with a nice LPC-link board attached just for this purpose. Unfortunately(again), it only works with certain IDE’s, like code_red. I cut the lpc-link board off and instead used a BusBlaster from Dangerous Prototypes along with OpenOCD.

This entry was posted in Bus Blaster and tagged , .

Comments

  1. Chris Styles says:

    I’m not sure I would entirely agree with this :

    “The mbed is really easy to program. It mounts as a flash drive and you just drag and drop the binary file onto it. Unfortunately, that’s it. There is no way to get any debug information out of it”

    There is of course LEDs, if you wish to indicate where your program is as it executes.

    Or you could use the USB Serial port to printf messages to a terminal window, including variable data to help you.

    Alternatively, you could use the CMSIS-DAP interface for mbed (http://mbed.org/handbook/CMSIS-DAP) which enables you to do full blown debug from a a range of industry standard tools including MDK, IAR, Code Red. (see http://mbed.org/handbook/CMSIS-DAP-MDK for more details)

    The drag a drop programming is only one part of the picture, that happens to be convenient for fast experiments.

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.