Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32H7B3xx programming failure due to wrong sector size #1721

Open
gdf8gdn8 opened this issue Aug 26, 2024 · 0 comments · May be fixed by #1724
Open

STM32H7B3xx programming failure due to wrong sector size #1721

gdf8gdn8 opened this issue Aug 26, 2024 · 0 comments · May be fixed by #1724

Comments

@gdf8gdn8
Copy link

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.

gdf8gdn8 added a commit to gdf8gdn8/pyOCD that referenced this issue Sep 22, 2024
- Fixed ram size for target H7B3
- Fixed flash size
  Sectory size for STM32H3B0xx is 32kbyte but for
  STM32H7B3xx 8kbyte

Resolves pyocd#1721
gdf8gdn8 added a commit to gdf8gdn8/pyOCD that referenced this issue Sep 22, 2024
- Fixed ram size for target H7B3
- Fixed flash size
  Sectory size for STM32H3B0xx is 32kbyte but for
  STM32H7B3xx 8kbyte
- Fixed fragments from patch integration

Resolves pyocd#1721
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant