STM32G4 - Program brand new MCU over SPI bootloader.
I am seeing this issue on around 20% of new MCU's.
I am programming brand new STM32G474's through the internal bootloader over SPI. When put into bootloader mode, 20% of the MCU's wont respond with the synchronisation byte. I have played around with timings to no luck.
The peculiar thing is that if I program the MCU's with an ST-Link, the bootloader over SPI will then work/respond from here on. I'd like to avoid using the ST-Link and get to the bottom of why some of the chips don't respond when unprogrammed.
Should the bootloader work for brand new unprogrammed MCU's? To me it looks like that when the are programmed via ST-link, the pins are in a different state on startup which makes the bootloader work.
Any ideas what could be happening?
fw_guy
