Skip to content

STM32H7 support #8

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

Closed
magnifikus opened this issue Mar 10, 2023 · 4 comments
Closed

STM32H7 support #8

magnifikus opened this issue Mar 10, 2023 · 4 comments

Comments

@magnifikus
Copy link

Any plans for this?

Im using the H725 with an external qspi flash (large app with http data), so im very interested in helping here.
One problem i see, is the 128kb sector size (minimal erase)

Would appreciate hints and suggestions.

@firmwareguru
Copy link
Contributor

As a matter of fact I've recently completed a port to the H7 platform and specifically the DISCO-H745I. I'll be rolling this board into the list of new platforms supported for the v1.4.0 release - around the end of this month.

The H7's uniform 128 KB sector size isn't really a problem - unless you're trying to use internal flash to store different sets of data that don't necessarily line up with 128 KB and you're using a small device like the 725 (512 KB model).

The bootloader is going to take the first sector (128 KB). On a 512 KB device, that would leave 3 for the application - kind of hard to split that in half for a dual-slot internal flash layout. You could, as you've suggested, use external flash configured for memory mapped access mode to extend the active slot (SLOT0) past the 3 sectors of internal flash to cover additional sectors on external flash. You wouldn't want to necessarily run the executable portion of your app from QSPI, but it would be possible.

More traditionally the internal remaining 3 sectors (384 KB) could get assigned to SLOT0 and an equivalent amount in QSPI flash is assigned to the download SLOT1.

Either way, the stm32-secure-patching-bootloader has you covered ;)

@magnifikus
Copy link
Author

after some discussions we sadly have to skip, the pricing for a binary blob is abit off sorry.

@firmwareguru
Copy link
Contributor

Thank you for at least considering it. You can still use it on one of the supported dev boards to implement a prototype. Best of luck.

@magnifikus
Copy link
Author

thank you for the fast reply and the offer!

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

No branches or pull requests

2 participants