cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE flash problem

oeliks
Senior

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.

1 ACCEPTED SOLUTION

Accepted Solutions
KnarfB
Principal III

> 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.

View solution in original post

2 REPLIES 2
KnarfB
Principal III

> 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
Senior

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