Hi all, I'm using a J-link Mini Edu to debug firmware on a Raspberry Pi Pico board. If I plug in my J-link, start the GDB server, and load my .ELF file, it will work fine first time. However, if I close the GDB server, rebuild my project, and try to start the GDB server again, it will fail to connect to the RP2040, giving a communication error. If I unplug the USB cable on the J-link and plug it back in again, I am able to connect to the board again. It appears that a full power-down resets something, allowing me to connect again.
Is there some sort of command I should issue when starting the GDB server or just before closing it to force a reset of the hardware so I don't have to keep unplugging and replugging my USB cable?
Is there some sort of command I should issue when starting the GDB server or just before closing it to force a reset of the hardware so I don't have to keep unplugging and replugging my USB cable?