pyocd / pyOCD

Open source Python library for programming and debugging Arm Cortex-M microcontrollers
https://pyocd.io
Apache License 2.0
1.13k stars 484 forks source link

STM32H7B3xx programming failure due to wrong sector size #1721

Open gdf8gdn8 opened 2 months ago

gdf8gdn8 commented 2 months ago

Hello, While programming the mcu there are several warnings and it fails finally.

pyocd load app.elf --pack Keil.STM32H7xx_DFP.3.1.1.pack --target stm32h7b3zitx
 0002763 W Page size (32768) is larger than sector size (8192) for flash region FLASH_Bank2; using sector size [flm_region_builder]

Issue is H7B0, which is used as buildin target, have different sector size etc.

Besides that 'Keil.STM32H7xx_DFP.3.1.1.pack' have also some issues.