STM32h747 MCU missing chunk of memory when flashing with stm32flash tool
Hello!
I'm using an STM32H747 MCU on a custom board. We typically flash the STM32 from a Jetson using stm32flash over UART, and this process has worked reliably on over 50 boards.
However, I recently discovered that a couple of boards from a new manufacturing batch, using the same MCU, are experiencing issues with the CM4 core failing to boot.
To investigate, I used STM32CubeProgrammer to inspect the flash memory directly and found a consistent gap. The CM4 firmware starts at 0x08100000, but the region from 0x08100040 to 0x081002F0 remains erased every time the firmware is programmed using stm32flash.
Interestingly, the memory regions before and after this gap appear to be programmed correctly, and the same issue occurs consistently on the affected boards.
So far, i have found two MCU’s where this problem occurs and both have the same chunk of memory missing.
I am able to fully flash successfully using the JTrace. Its just when we try to flash with the stm32flash tool that this fails.
I was wondering if this is apart of a “known limitation” in the ST Community or if this issue is rooted from our custom boards.
Bootloader version 0x90
Thanks!
Amanda
