Problem verifing and downloading code
Hi,
I had the same problem, but I think, it is solved.
My goal is programming a STM32F407 embedded in the STM32F407G-DISC1 by using STM32CubeMX and openSTM32.
First, I tried it with board selector in CubeMX, it didn’t work and the same error as above occurred. With MCU selector and only a simple program (blinking LED -> pin settings in CubeMX), it was working. After using extended functionality (e.g. timer -> settings in CubeMX), the error occurred again. But the real trigger for the problem, I did not find.
I had googled at lot, with much of solution approachs, but nothing was solving my problem. The hint with the error in the linker script was really helpful.
By comparing a working project with a not working project, I detect an empty linker file STM32F407VGTx_FLASH.ld in the not working project. I copy the one from the working project, and the MCU is programmed and verified without errors.
I hope it will continue to work in the future and it solves your problem as well.
Maybe it is a bug by converting the project from CubeMX to openSTM32.
Good luck,
Thomas