Debugging via usb port

Hi, I’m new to spark core.

I’m having some issues with my core and I’d like to know if there is some firmware for the core that spits debugging info via the USB port.
I’d like open the serial port and see all the steps the core is doing to setup the mcu and the radio. Something a little more detailed than the led.

Regards, Diego

This can be done by turning on Debug mode on the core but this requires local toolchain to compile.

Another way is to attach a StlinkV2 jtag debugger and use eclipse/netbeans to debug.

On a user level, you can insert Serial.print() messages at lines of concern. :slight_smile:

1 Like