Hello
After I flash STM32F407 Discovery by DFU
and write program in main.py
with complete ( such as blinky program)
after I disconnect and connect it again via usb
but why program didn't start up to main.py ?
( no blinky as start up )
then I must re start by running program via thonny ide again.
What will I must do to running main.py as start up for this STM32F407 Discovery
( I have experience to run micropython via esp32 that main.py will run on startup as I want , but for this STM32F407 , it's not the same as I want)
STM32F407 Discovery not boot to main.py
Re: STM32F407 Discovery not boot to main.py
Hi,
I haven't used Thonny but from other questions on the forum it sounds like it's default behavior is to just run the code from RAM rather than copying the file to the device. You either need to find a way to tell Thonny to actually copy the file, or use another tool such as pyboard.py or rshell to do it.
I haven't used Thonny but from other questions on the forum it sounds like it's default behavior is to just run the code from RAM rather than copying the file to the device. You either need to find a way to tell Thonny to actually copy the file, or use another tool such as pyboard.py or rshell to do it.