Good day all! I have an issue in code that I cannot find.
Is it possible to setup GDB to see what the UART is getting in incoming serial data?
Thanks!
Good day all! I have an issue in code that I cannot find.
Is it possible to setup GDB to see what the UART is getting in incoming serial data?
Thanks!
I'd suggest you to modify UART driver for Linux kernel and inside of this driver dump the incoming data. The GDB works in user space but you need to do this on the lower level - in UART driver. GDB has no access to registers of the physical device as the UART is.