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
Solved! Go to Solution.
2025-10-20 1:11 AM - edited 2025-10-21 1:29 AM
Hello,
This is not a ST solution. You need to contact its 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-19 11:55 PM
2025-10-20 1:11 AM - edited 2025-10-21 1:29 AM
Hello,
This is not a ST solution. You need to contact its 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.
2025-10-20 6:55 PM
Hello, mƎALLEm
I would first like to know the exact values for the SRAM address range, FLASH address range, PPS, PSize, Option byte address range, System memory address range, and Flags items.
I expect you to inform me about this.
thanks,
2025-10-20 8:31 PM
Dear all,
As you mentioned, using STM32CubeProgrammer would be ideal, but we need to control the STM32H MCU by integrating a flash programmer into the host.
Therefore, despite some potential issues, I believe we should use “stm32flash 0.7”.
Anyway, I have compiled the device information based on the contents of the following capture file and I successfully performed flash writing and verification.
However, for some reason, the STM32H MCU does not boot.
I suspect the settings below might be incorrect.
I need advice on whether these settings are correct.
==========
SRAM-address-range : 0x20000000 ~ 0x20040000
FLASH-address-range : 0x08000000 ~ 0x08200000
PPS : 1
PSize : p_8k
Option-byte-addr-range : 0 // I couldn't find this information.
System-mem-addr-range Flags : 0x0BF97000 ~ 0x0BFA0000
Flags : 0
2025-10-20 9:38 PM
Dear all,
The STM32H MCU has just successfully booted up.
Thank you all for your help.
2025-10-21 1:33 AM
Hello @nama
"jeson" is a spammer.
So please provide the exact steps you followed to solve the issue and mark it as solution, otherwise we will select the answer from our side.
Thank you.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.