Forum: System Workbench for STM32

Problem to attach Nucleo411 debugger

Hi,

I just start with OpenSTM32 and try to program a Nucleo411 board. Base is a Cube generation and I followed your advice for the Cube import. Compilation works well, but if I try to activate the debugger via debug as..., the error message “Cannot find binaries, please build project first” appears. I had build the project and and an .elf file has been generated.

Any hints, what went wrong?

Many thanks in advance
Walter

France

Hi Walter,

There is a bug in the CubeMX project generation; the workaround is simple: you should refresh the project after the first successfull compile (select the project then hit F5 or right-click >> Refresh) and then it should work.

Bernard


Hi Bernard,

Many thanks for your quick answer. It runs perfectly now!

Best regards
Walter