m-labs / dslite2svd

Converter of register descriptions from the TI DSLite format to CMSIS SVD format
BSD Zero Clause License
34 stars 8 forks source link

Support for Tiva-C Launchpad TM4C123GXL development board #15

Open UdayakumarHidakal opened 2 years ago

UdayakumarHidakal commented 2 years ago

Hello, I am working on TM4C123GXL development board, here i am able to blink led, But i am unable to debug the things regarding flash writing/erasing, also which is not available in probe-run list.

So please let me know is this repository stops working or not ?

sbourdeauducq commented 2 years ago

It definitely works well enough to blink LEDs, though it wasn't tried on that board. You may have some homework to do.

amcelroy commented 1 year ago

This repository works. We use it with the latest TM4C123 chips (our own PCB and Launchpads) in combination with the tm4c-hal and RTIC 0.5.

Debugging a stock Launchpad is challenging due to TI wanting us to use Stellaris and their Code Composer Studio, but you can use a Segger debugger by connecting the unsoldered debug pins on the the Launchpad to the Segger, typically using a breakout board. We use VS Code, Segger, some various plugins, and ultimately the Segger GDB program bundled with the JLink tools. If you download the .SVD file and configure the VS Code plugins correctly, you can view peripheral addresses and inspect registers also.

There is a way to use a 2nd Launchpad to flash the target Launchpad using OpenOCD and the debug pin headers that a colleague used initially, but I think the Segger + Breakout Board is a much more intuitive way to interact with the MCU.