gdb remote debug with custom gdb stub
Posted: Mon Oct 15, 2018 3:50 am
Does anybody ever made custom gdb stubs for non standard interface hardware?
I have not well known ARM9 SoC based on the arm926 core.
The hardware I have has no JTAG routed, and no working Ethernet (uses Microchip's RMII extender I must to debug).
The single serial port must work with the RS485 interface, so in the result, the only free interfaces I can use for debugging is CAN or generic SPI.
I made a bare metal arm-none-eabi GNU toolchain build for arm926 (with newlib porting in progress), but to be more close to the main task I must solve, how should I write custom gdb stub for debugging w/o use of JTAG features?
I have not well known ARM9 SoC based on the arm926 core.
The hardware I have has no JTAG routed, and no working Ethernet (uses Microchip's RMII extender I must to debug).
The single serial port must work with the RS485 interface, so in the result, the only free interfaces I can use for debugging is CAN or generic SPI.
I made a bare metal arm-none-eabi GNU toolchain build for arm926 (with newlib porting in progress), but to be more close to the main task I must solve, how should I write custom gdb stub for debugging w/o use of JTAG features?