Forum Discussion
Altera_Forum
Honored Contributor
20 years agogdb and daig_printf()
Is it possible to use jtag_uart with gdb, i.e. I want to use gdb via nios2-gdb-server --tcpport=2343 and still use diag_printf over the same jtag port. It looks like it should be possible in the conf...
Altera_Forum
Honored Contributor
20 years agoHello,
simply start two shells, on one start nios2-gdb-server and on the other start nios2-terminal. The jtag_uart is indeed blocking: if you don't have the nios2-terminal running, the application blocks in the diag_printf call. Regards, Andreas.