Skip to main content
oeliks
Associate III
Dec 8, 2019 8:11 PM UTC
Solved

CubeIDE flash problem

CubeIDE 1.0.2 deb linux.

IDE see STlink.v2​, I sucessfully upgraded it.

When I click on build (checked debug or release) project builds without errors but it dont flash target.

​​

Only once it flashed my board (disco f407vg) when messing with debug configuration (checked - release), but really dont know how to replicate this.

​

​I will prowide more info (screenshoots) if needed.

This topic has been closed for replies.
KnarfB
KnarfBBest answer
Super User
Dec 8, 2019 9:17 PM UTC

> When I click on build (checked debug or release) project builds without errors but it dont flash target.

Build builds only, this is expected. To flash, use Debug.

For troubleshooting you can use STM32CubeProgrammer tool and see if you can read/write the flash from there.

2 replies

KnarfB
KnarfBBest answer
Super User
Dec 8, 2019 9:17 PM UTC

> When I click on build (checked debug or release) project builds without errors but it dont flash target.

Build builds only, this is expected. To flash, use Debug.

For troubleshooting you can use STM32CubeProgrammer tool and see if you can read/write the flash from there.

oeliks
oeliksAuthor
Associate III
Dec 9, 2019 3:20 PM UTC

Thanks. It works just fine. Project -> Clean -> Build (debug) -> Run -> Debug as MCU​