G431 will run (somewhat) with debugger, but not on its own.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-15 6: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.
- Labels:
-
STM32G4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-15 7:49 AM - edited ‎2024-03-15 7:51 AM
It works:
I had to set nSWBOOT0 to 0. See picture attached.
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-15 6:27 AM - edited ‎2024-03-15 6: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-15 6: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-15 7:41 AM - edited ‎2024-03-15 7:48 AM
Neither: It is connected to RX of a CAN chip. See attached the waveforms.
pink is Boot0 pin, blue is 3.3V of STM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-15 7:45 AM - edited ‎2024-03-15 7: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-15 7:49 AM - edited ‎2024-03-15 7:51 AM
It works:
I had to set nSWBOOT0 to 0. See picture attached.
Thanks a lot.
