2020-04-01 09:26 PM
I have been trying the CubeIDE recently with a couple of my own PCBs. While working on the code with the board connected to USB power everything was great, but after finalizing the program, I find that it doesn't start when simply powered on, without having the IDE trigger it via SWD (eg. by starting a debug run).
However, the same boards with an equivalent program made by the mbed compiler do start ok with just a plain old power connection. Is there some setting that needs to be done for the CubeIDE version in order to have the program start when powered up?
2020-04-03 07:54 PM
Sorry, my mistake. I was looking at an I2C device (small OLED screen) to determine whether the program had started or not. When I tried a simple LED blinky program, it starts up ok. All I had to do was insert a small delay at the program start, to give the I2C device enough time to power up before attempting to use it.