2024-04-22 06:00 AM
I am reaching out regarding an issue we've encountered while attempting to flash our Buildroot image using the STM32CubeProgrammer in DFU mode.
Despite successfully building the image with Buildroot, we are encountering difficulties when attempting to flash it. Specifically, the STM32CubeProgrammer fails to recognize the image properly, displaying incorrect file size information, and subsequently failing after some time.
We have thoroughly reviewed our build process and ensured that the image generated by Buildroot is valid. However, the problem persists when attempting to flash it via the STM32CubeProgrammer.
we would greatly appreciate any insights or suggestions you might have to help us resolve this issue.
2024-05-03 05:23 AM
could you please precise more your environment :
Regards.
2024-05-07 03:52 AM
Hi @PatrickF
We are using Linux (Ubuntu 20.04.6 LTS) and Buildroot as our Build environment
CubeProgrammer - STM32CubeProgrammer v2.14.0
OpenSTLinux ecosystem - STM32MPU-ecosystem-v5.0.0(v6.1-stm32mp-r1)
We are not seeing any errors in console, but the CubeProgrammer is not detecting the file size properly, the actual image size is around ~6GB but it will be listed as 1.67 GB. After programming if we are trying to boot the device we will end up with kernel panic.
Please find the attached TSV file
2024-05-07 05:21 AM
please try with latest Cubeprogrammer (v2.16.0)
Regards.
2024-05-07 08:55 PM - edited 2024-05-07 09:11 PM
2024-05-13 01:11 AM
does CubeProgrammer v2.16.0 flash correctly ?
I think the file size issue is only a display issue.
Regards.
2024-05-13 05:29 AM