Skip to main content
oeliks
Associate III
December 8, 2019
Solved

CubeIDE flash problem

  • December 8, 2019
  • 2 replies
  • 796 views

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.
Best answer by KnarfB

> 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
KnarfBAnswer
Super User
December 8, 2019

> 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
December 9, 2019

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