Embedded gdbserver for K22 controlled via UART

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Embedded gdbserver for K22 controlled via UART

451 Views
gsosnow
Contributor II

I'd like to be able to debug my FreeRTOS app running on a K22, but the connectivity of the K22 is such that the JTAG/SWD are not available. However, a UART is available, so the hope was that a gdbserver could be compiled into the FreeRTOS app and activated with a specific UART sequence, in order to set breakpoints, inspect variables, etc. Does something like this exist for the ARM Cortex M4 that runs on the K22?

0 Kudos
1 Reply

381 Views
miduo
NXP Employee
NXP Employee

Hi,

Sorry we do not have the application & sample as you would like to. Anyway, there has a quite useful reference for this issue you may find at:Adding FreeRTOS Thread Awareness to GDB and Eclipse | MCU on Eclipse . Hope it will be helpful.

0 Kudos