Main Site Documentation

JTAG debugging


#1

I want to get into porting TinyCLR to a board I have and one of the things I’d like to have is a way to debug the code with breakpoints and single stepping etc.

How has anyone done this before? Can we do this from the Visual Studio editor? I have Visual GDB and wondering if somehow I could use this?

I have a Segger J-Link and a couple of other JTAG interfaces.


#2

We don’t have a doc outlining it yet, but we often use Visual Studio to debug the native side of TinyCLR now that they support ARM debugging. https://blogs.msdn.microsoft.com/vcblog/2018/01/10/debugging-an-embedded-arm-device-in-visual-studio/ has some details on that. https://blogs.msdn.microsoft.com/vcblog/2017/10/23/arm-gcc-cross-compilation-in-visual-studio/ may be useful as well.


#3

So if someone were to say, record themselves attempting to port tinyclr to another platform (successfully or not); such content would have value?


#4

You should do it