Open wnts opened 5 years ago
Unfortunately, the flash algorithm in the Keil.STM32L0xx_DFP CMSIS-Pack is broken, because it has a page size that is larger than the sector size. I've already reported this to the Keil team and they plan to issue a fixed CMSIS-Pack (not sure what timeframe, though).
Even so, I'm going to try to implement some workarounds for common mistakes in packs, like this one.
I tried pyOCD on an stm32h7a3zitxq, pack Keil.STM32H7xx_DFP 3.1.1, and get a similar error:
Error: Flash pages (32768 bytes) do not fit evenly into sector (8192 bytes)
I'm using the B-L072Z-LRWAN evaluation board from ST, and I'm trying to flash a program into the MCU memory using the gdb "load" command, but I receive the following error:
I downloaded the CMSIS pack for the stm32l072cz target. I'm using pyOCD version 0.20.1