Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add STM32U5 and STM32L5 support
#1
Hello,

basicly I'm using a selfmade cmake based buildchain and using EMBitz only for debuging by passing the .elf file to it.
I have bought 2 nucleo boards. Both are not suppoerted, yet. I would like to add the both devices myself, just by copy&paste&replace. But I'm not sure about the different core M33.
I also tried to check EBLink-github for updates, but I cannot reach it.


ST-LINK SN  : 002B004F3331510A33323639
ST-LINK FW  : V3J8M3
Board      : NUCLEO-U575ZI-Q
Voltage    : 3.30V
SWD freq    : 24000 KHz
Connect mode: Normal
Reset mode  : Software reset
Device ID  : 0x482
Revision ID : Rev X
Device name : STM32U575/STM32U585
Flash size  : 2 MBytes
Device type : MCU
Device CPU  : Cortex-M33
BL Version  : 0x92
Debug in Low Power mode enabled

Interface USB# : 002B004F3331510A33323639
Interface type : STlink/V3
STlink connect : Under reset
Target voltage : 3.30V
Interface speed: 24000KHz
Target detected: Cortex-M33 (r0p4) with FPv5_SP
HW breakpoints : 8
HW watchpoints : 4
Fault unwind  : Active break (level 2)

Error unsupported STM32 ID: 0x482

Please report this ID so that we can add it.

-------------------------------------------------------

ST-LINK SN  : 066CFF505352716587121640
ST-LINK FW  : V2J37M26
Board      : NUCLEO-L552ZE-Q
Voltage    : 3.24V
SWD freq    : 4000 KHz
Connect mode: Normal
Reset mode  : Software reset
Device ID  : 0x472
Revision ID : Rev B
Device name : STM32L5xx
Flash size  : 512 KBytes
Device type : MCU
Device CPU  : Cortex-M33
BL Version  : --


Interface USB# : 066CFF505352716587121640
Interface type : STlink/V2.1
STlink connect : Under reset
Target voltage : 3.24V
Interface speed: 4000KHz
Target detected: Cortex-M33 (r0p2) with FPv5_SP
HW breakpoints : 8
HW watchpoints : 4
Fault unwind  : Active break (level 2)


Please report this ID so that we can add it.
Reply
#2
Ok, and what is your question?
Reply
#3
(23-07-2022, 05:25 PM)embitz Wrote: Ok, and what is your question?


Hallo,

Quote:Please report this ID so that we can add it.
I just reported as requested.


At the moment, I think I'm fine.

I added both devices to file "stm32-auto.script"

The seetings in that file seems to be important only for flashing.
Only for debugging, it seems to make the job.



Code:
    // Cortex M4
    case 0x415 : // CHIPID_STM32_L4
    case 0x435 : // CHIPID_STM32_L43X
    case 0x461 : // CHIPID_STM32_L49X/L4A
    case 0x462 : // CHIPID_STM32_L45X/L46X
    case 0x464 : // CHIPID_STM32_L41X/L42X
    case 0x470 : // CHIPID_STM32_L4R/L4S
    case 0x471 : // CHIPID_STM32_L4P5/L4Q5x
    case 0x472 : // L5xx
    case 0x482 : // U575/U585
        require("stmicro/stm32l4x.script")
        break
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)