Quote:VDaniel
But trying to download to the flash I receive:
Error unsupported STM32 ID:0x465
This is EBlink related and not EmBitz so you have to add that device to EBlink.
As far as I can see, these are the same as generic G0 so you could try adding the device to EBlink:
I can't test it because I don't have these devices.
stm32-auto.script
Code:
<snip>
case 0x457 : // CHIPID_STM32_L0_CAT1
require("stmicro/stm32l0x.script")
break
// Cortex M0+
case 0x460 : // STM32G07xxx/08xxx
case 0x465 : // STM32Gx1 <-------------
case 0x466 : // STM32G03xxx/04xxx
require("stmicro/stm32gx.script")
break
// Cortex M3
case 0x410 : // CHIPID_STM32_F1_MEDIUM
<snip>
stmicro/stm32gx.script
Code:
<snip>
{
case 0x460 :
deviceStr = "07/08xx"
page_size = 0x800
sram_size = 0x9000 // 36Kbyte
break
case 0x465 :
deviceStr = "061x6/x8"
page_size = 0x800
sram_size = 0x4800 // 18Kbyte
break
case 0x466 :
deviceStr = "03/04xx"
page_size = 0x800
sram_size = 0x2000 // 8Kbyte
break
<snip>
Please let me know if this works so I can add it to the script repro.