2025-10-19 11:42 PM
Hi all,
I am using an STM32H563 (device ID 0x484).
When attempting to update the MCU firmware using stm32flash 0.7, I am encountering the following error.
=============
stm32flash 0.7
http://stm32flash.sourceforge.net/
Interface serial_posix: Baud Rate : 115200, Data Bit : 8, Parity : E, Stop Bit : 1
GET returns unknown commands (0x50)
Unknown/unsupported device (Device ID: 0x484)
I would like to know what the 0x50 command is and what content should be added to devices[] for the STM32H.The following is what I found through a search, but I don't know if it's accurate.
=============
const stm32_dev_t devices[] = {
/* ID "name" SRAM-address-range FLASH-address-range PPS PSize Option-byte-addr-range System-mem-addr-range Flags */
/* H5 */
/* {0x474, "STM32H503xx" , 0x20004000, 0x20008000, x , x , x, x, , x , x , 0x0BF87000, 0x0BF90000, x}, */
/* {0x484, "STM32H563xx/573xx , 0x20000000, 0x200A0000, x , x , x, x, , x , x , 0x0BF97000, 0x0BFA0000, x}, */
/* {0x478, "STM32H523xx/33xxx , 0x20004000, 0x20044000, x , x , x, x, , x , x , 0x0BF97000, 0x0BFA0000, x}, */
thanks, nama
2025-10-19 11:55 PM
2025-10-20 1:11 AM
Hello,
This is not a ST solution. You need to contact it developper.
The log says: "Unknown/unsupported device (Device ID: 0x484)".
More likely that "stm32flash 0.7" doesn't support the device yet. So please use STM32CubeProgrammer instead.
2025-10-20 1:56 AM
Hello,
The solution we are developing includes a HOST AP(Linux OS) connected to an STM32H MCU via serial.
This HOST AP must perform MCU upgrade via serial communication.
I was unable to find the open-source version of STM32CubeProgrammer for Linux.
Does ST provide the source code?
thanks for your quickly response.
2025-10-20 2:01 AM
Hello,
Unfortunately STM32CubeProgrammer tool is not an open source solution.