cancel
Showing results for 
Search instead for 
Did you mean: 

Device information for STM32H5 MCU on stm32flash0.7

nama
Associate

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

4 REPLIES 4
Issamos
Lead II

Hello @nama 

I suggest you to try using the STM32CubeProgrammer.

Best Regards.

II

mƎALLEm
ST Employee

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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

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.

Hello,

Unfortunately STM32CubeProgrammer tool is not an open source solution.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.