Menu

#173 STM32U0 Support - Unknown/unsupported device (Device ID: 0x489)

none
New
nobody
None
Medium
Enhancement
2025-07-28
2025-05-25
No

With the stm32u073cct6, I get the following error message:
stm32flash 0.7

http://stm32flash.sourceforge.net/
Unknown/unsupported device (Device ID: 0x489)

Is it possible to support the STM32U0 MCU's?

Discussion

  • Tormod Volden

    Tormod Volden - 2025-05-25

    It is possible that it just needs the right parameters in dev_table.c and it will work.

    I have added placeholders for this device (and all other devices in latest AN2606) in dev_table.c, in hope that people will contribute the missing pieces, after looking up the individual data sheets and testing on their devices.

     
  • Anonymous

    Anonymous - 2025-05-25

    I would test it with the following line, if someone provide a binary to me:

    /*  {0x489, "STM32U073xx/83xx"                , 0x20002170, 0x2000A000, 0x08000000, 0x08040000, 1, p_2k, 0x1FFF7800, 0x1FFF7860, 0x1FFF0000, 0x1FFF6800, 0}, */
    

    Here the reference documents AN2606 rev 66
    SRAM Table 209 STM32U073xx/83xx
    System-mem-addr Table 192 26 Kbytes, starting from address 1FFF0000,

    STM32U0 – FLASH Memory Flash presentation
    Flash-Address: Main Memory Page 7
    PSize: Page 7
    Option Byte: Page Option Bytes are used to early configure the system-on-
    chip before starting the Cortex®-M0+. They represent 96
    Bytes.
    Not complete sure but other Products with Coretex M0+ have also this rang: 0x1FFF7800, 0x1FFF787F

    If someone can provide a binary with these configuration, I would test an upload over UART to STM32U073CCT6

     

    Last edit: Tormod Volden 2025-05-25
  • Tormod Volden

    Tormod Volden - 2025-05-25

    Thanks! Here is binary with your patch.

     

    Last edit: Tormod Volden 2025-05-25
  • Anonymous

    Anonymous - 2025-07-28
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.