I am attempting to flash a custom PCB using Atollic TrueStudio and a Nucleo board. I have the PCB connected to the SWD header on the Nucleo. In TrueStudio I have set the target device and am using ST-LINK as the debug probe with the GDB Connection Settings set to "Autostart local GDB server", and the Interface set to JTAG. When I click debug, it builds the project, but then gives me an error:
Target unknown MCU target Error in initializing ST-Link device. Reason: Unknown MCU found on target.
What does this error mean?
I have also tried debugging using the SWD interface, but when I use that I get the error:
Target no device found Error in initializing ST-Link device. Reason: No device found on target.
I have searched for explanations of these errors, but have not been able to find anything helpful. I have also looked through tutorials on using TrueStudio, but I have not been able to figure out why this fails to flash my board or what is going wrong.
Also, I am new to TrueStudio, so please explain. Thanks!