2024-03-15 06:23 AM
I have made a prototype, and it runs as just after upload. But when i just turn on the power, it wont. It does not matter if the st-linkv3 ist connected or not. When i reset it, via the NRST pin, it also wont run.
I already used the HSE and HSI, and checked on a nucleo, that my code is working (it does).
I dont know how i further can investigate this. The level of NRST is clean and the level is good.
Solved! Go to Solution.
2024-03-15 07:49 AM - edited 2024-03-15 07:51 AM
It works:
I had to set nSWBOOT0 to 0. See picture attached.
Thanks a lot.
2024-03-15 06:27 AM - edited 2024-03-15 06:51 AM
Hello,
What about Boot pin? connected to VDD or GND?
See for example this thread: https://community.st.com/t5/stm32-mcus-products/stm32h723zgt6-will-not-reboot-after-powering-off/m-p/650457
2024-03-15 06:29 AM
BOOTx pins or settings?
Get a USART working very early in the Reset Handler so you can express signs-of-life. Could perhaps use GPIO/LEDs at as simpler level. Have Hard Fault and Error Handlers output actionable data.
2024-03-15 07:41 AM - edited 2024-03-15 07:48 AM
2024-03-15 07:45 AM - edited 2024-03-15 07:51 AM
Hello,
Neither: It is connected to RX of a CAN chip. See attached the waveforms.
Sorry.. I didn't catch that point! How did you connect Boot pin? which CAN chip? could you please share schematics?
pink is Boot0 pin, blue is 3.3V of STM
Pink signal is rising. It should be connected to the ground. Why BOOT pin voltage is changing?
2024-03-15 07:49 AM - edited 2024-03-15 07:51 AM