Hello
We bought a standard test board for stm32g0 micro , from China and we are testing it.
The vcc and vss are connected properly and .First boot0 pin is in program mode and then is run mode .
The reset button is on the same board and it connects the nrst pin to ground.
I created a simple "blinky" program by cube and downloaded the code by stink.
I set boot0 to 1,the program runs correctly in debug mode But the program does not run ,outside the debug mode.
If you have any ideas in this regard, please guide me.
Thank You
Hi
At the first we designed our board and tested it with the code that we got from github.com/.../stm32g030. And we faced this problem.
Then we made the second borad. There were the same problems again. We wrote a new program using registers. We saw the same problems again.
Then we bought a ready board and built a project using a cube. There is the same problem again.
We changed the option byte items according to the attached photos. But again we failed. After reset, the code will not be run.
The program code and photos of the boards are attached.
Please guide us if you have a point.
Thanks
/cfs-file/__key/communityserver-discussions-components-files/469/6232.rar
I think you may need to try running the program without the debugger hardware attached (disconnect the STlink)
PA14 seems to be used as the BOOT0 Pin.
PA14 is also used for the SWCLK pin.
Thanks for the update and quick reply. I'll be sure to keep an eye on this thread. Looking for the same issue. Bumped into your thread. Thanks for creating it. Looking forward for solution.
krogerfeedback survey