platformio / platform-nxplpc

NXP LPC: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/nxplpc
Apache License 2.0
8 stars 12 forks source link

debug for mbed LPC1768 board #3

Closed sstaub closed 6 years ago

sstaub commented 7 years ago

can you add debug for the mbed LPC1768 board (and other like LPC800-MAX, LPCXpresso11U68 ... with CMSIS-DAP)

ivankravets commented 7 years ago

@valeros please add support and check if these boards are ready for debugging or have "onboard" debugger.

ivankravets commented 7 years ago

@sstaub do you have any boards based on LPC1768?

sstaub commented 7 years ago

yes, i have a mbed LPC1768 board (https://developer.mbed.org/platforms/mbed-LPC1768) and can test it. All boards have a cmsis-dap interface on board.

valeros commented 7 years ago

Hi @sstaub! Would be great if you could test debug with your board! Just Install updated NXP platform from the development branch:

pio platform install https://github.com/platformio/platform-nxplpc/archive/develop.zip
sstaub commented 7 years ago

I tried to update, but i get always v2.0.0, when I try to debug I get an error that there is no support for the lpc1768 nxp

valeros commented 7 years ago

@sstaub could you try next steps:

pio platform uninstall nxplpc
pio platform install https://github.com/platformio/platform-nxplpc.git
sstaub commented 7 years ago

now I get following error when starting debugging error

ivankravets commented 6 years ago

Resolved via http://docs.platformio.org/en/latest/plus/debugging.html#pyocd-and-cmsis-dap