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

Debugging support for LPCxpresso1549 #4

Open ptpaterson opened 6 years ago

ptpaterson commented 6 years ago

I am working with the LPCxpresso1549 (lpc15491)

It has the same debugger built into it as the other Xpresso boards.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/47641401-debugging-support-for-lpcxpresso1549?utm_campaign=plugin&utm_content=tracker%2F38218499&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F38218499&utm_medium=issues&utm_source=github).
ivankravets commented 6 years ago

Sorry for late answer. Do you have this board?

SietseAchterop commented 6 years ago

I also have a few older boards: LPCXpresso lpc1114, LPCXpresso lpc1768, and a base-board from Embedded Artists that I want to use. I also have stm32f4's and microbits, so I want to exploit platformIO of course. LPCXpresso's have an LCP-link for uploading and debugging.

Is there any support (possible) for that? What would be needed if I want to do this myself?

ivankravets commented 6 years ago

@SietseAchterop LPC1768 should work. Have you tried it?

SietseAchterop commented 6 years ago

Thanks for the response, I tried, but I fail to get a working configuration. What should the platformio.ini be? There is no mention of a lpc-link in the platformio docs, only J-link. Does that mean that it is unsupported?

I also have a home grown lpc1768 board that I use with an Olimex arm-usb-ocd-h and openocd. I see this system is mentioned in the udev-rules, but again I cannot figure out how to configure it. Did I miss something?