Hi folks, is it possible to use UART to debug ThreadX in BG95? Tx_trace.h is there…
Thanks.
Hi folks, is it possible to use UART to debug ThreadX in BG95? Tx_trace.h is there…
Thanks.
Hi @tecojlle
Could you please explain more details?
I mean is it possible to use TraceX or other tool for debugging using UART?
Thanks.
The ARM Cortex-A7 processor in the BG95 theoretically supports TraceX because its memory mapping, interrupt handling, and timing features are compatible with ThreadX. This means you should be able to analyze things like:
With TraceX, you can also transfer data to a PC via UART, SPI, or the debug interface and open it in the TraceX GUI.
But the catch is: it’s impossible to be 100% sure without testing it on a real device. Trace overhead, buffer management, or BG95 driver limitations may come into play.
In short: there’s theoretical support, but you need to try it in practice. Testing and verifying is the most reliable way to go.