Skip to main content
SMac
Associate II
October 9, 2019
Question

How can i download project from STM32CubeIDE to micro controller to make it work without USB connection with PC, only with power supply?

  • October 9, 2019
  • 4 replies
  • 2250 views

Can't find any drop down menu or other pointer to this functionality in STM32CubeIDE v. 1.0.2. My stm32 device - STM32 F429ZI - Nucleo. Please, help me to solve the problem?

This topic has been closed for replies.

4 replies

TDK
October 10, 2019

Do you want to flash the chip without a USB connection?

Or do you want your program to run after flashing, and after disconnecting the USB cable?

"If you feel a post has answered your question, please click ""Accept as Solution""."
SMac
SMacAuthor
Associate II
October 10, 2019

I want my program (after building in STM32CubeIde v. 1.0.2) to run AFTER disconnecting the USB cable.

TDK
October 10, 2019
Once your program is in flash, you can supply power some other way and your program will run once it receives power. For example, using an external power supply.
"If you feel a post has answered your question, please click ""Accept as Solution""."
SMac
SMacAuthor
Associate II
October 10, 2019

Do you mean that since i have run once my program in debug mode on device, it apears in flash and after that the one thing i need to do is to connect it to external power supply and disconnect from USB?

TDK
October 10, 2019
Yes, that is typically what happens. Running a program will download it to the flash as the first step.
"If you feel a post has answered your question, please click ""Accept as Solution""."
SMac
SMacAuthor
Associate II
October 10, 2019

Unfortunately, after i disconnect USB and leave only power supply, my stm device turns off :(

TDK
October 10, 2019
Time to break out the multimeter.
Does it still have power? Is the NRST pin being held low by something?
"If you feel a post has answered your question, please click ""Accept as Solution""."