Debug not working #2603
-
when trying to debug on a fresh (Windows) install of Arduino IDE 2.3.4 and Srduino_Core_STM32 2.9.0 on Nucleo L4R5ZI I get the following error message on a first debug attempt
I then realized I hadn't set the debug options and also reset the board on every subsequent debug attempt, I then get:
|
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 14 replies
-
after a rebuild of the Blink example, I now have a combination of both errors
|
Beta Was this translation helpful? Give feedback.
-
So I guess this was some kind of hiccup specific to my machine/setup. But what is strange (at least to me), is that I can program the MCU with the very same setup that fails when trying to debug... |
Beta Was this translation helpful? Give feedback.
-
I just tried using openOCD STLink for programming - which failed as well |
Beta Was this translation helpful? Give feedback.
-
I used STLINK-V3MINIE to connect to both custom boards. It has V3J15M7 firmware, which according to STM32CubeProgrammer 2.18.0 is the latest. Luckily I have Nucleo-L4R5 and Nucleo-L412 at hands. Both have V2J45M31 firmware, which should be the latest. For Nucleo-L4R5, I first got a But Nucleo-L412 always threw me an It definitely seems to be linked to the L412 somehow. Little side-question: to me it seems that starting debug does neither recompile, nor download the binary to the board. Is this observation correct? |
Beta Was this translation helpful? Give feedback.
-
modifiying the config allows me to connect the debugger, but it does not seem to work. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I am waiting for a brandnew Nucleo L412 to arrive and I might have a L432 lying around at home |
Beta Was this translation helpful? Give feedback.
-
the brandnew Nucleo-L412KB works as it should So I have one Nucleo-L412 that I am not able to debug and 2 custom board designs that I cannot debug Thanks for your support |
Beta Was this translation helpful? Give feedback.
-
@fpistm well, for the Nucleo-L412KB you were absolutely on the right track! soldering it back restored debug capabilities :) Thanks again! Now, I "only" have to find out what is wrong with my custom design. I had a sharp look at the Nucleo schematic before creating it, not to say that I copied a lot from there ;P |
Beta Was this translation helpful? Give feedback.
@fpistm well, for the Nucleo-L412KB you were absolutely on the right track!
SB12 was open, which deconnects BOOT0
soldering it back restored debug capabilities :)
Thanks again!
Now, I "only" have to find out what is wrong with my custom design. I had a sharp look at the Nucleo schematic before creating it, not to say that I copied a lot from there ;P