cancel
Showing results for 
Search instead for 
Did you mean: 

Help troubleshooting stm32g431 board

aks1
Associate

Hi. I designed a stm32 board an am trying to program it with a stm32 development board. i am having issues with programming it. This is my board design and my programming setup. I have connected the stm32f4 to my laptop to program it and the Integrated Circuit I'm using on my board is the stm32 g431. I know i have not pulled boot0 to low which is a problem i tried to resolve using option bytes where i set the nBoot1 byte to 0. But i have my boards boot up and then after clearing flash storage, they are usually stable. The board isn't dead since current is being drawn but the stm32 status LED is blank and when i try to connect to it with the stm32 programmer, i get ' Unable to detect Core ID. No stm32 target found. If your product uses debug authentication, please enable debug authentication. Please help me figure out what is wrong. This is the second board that has gone this way. I only have 3 more left.

 

WhatsApp Image 2025-10-22 at 16.02.43_99bd9ff3.jpgScreenshot 2025-10-22 161018.pngScreenshot 2025-10-22 160147.png

2 REPLIES 2
Karl Yamashita
Principal

STM32Cube Programmer shows you're connected to a STM32F4Discovery, not your custom STM32G4. 

Pull the JP1 jumper so that the STM32F4 is no longer powered. Then you should be able to connect to the STM32G4.

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.
CAN Jammer an open source CAN bus hacking tool
CANableV3 Open Source

The jumper is pulled. The reason that is showing is prolly because i am programming the stm32g431 though the debug pins of the stm32f4.