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

STM32H7 #24

Open
NicoEFI opened this issue Mar 4, 2024 · 4 comments
Open

STM32H7 #24

NicoEFI opened this issue Mar 4, 2024 · 4 comments

Comments

@NicoEFI
Copy link

NicoEFI commented Mar 4, 2024

Hello
Would it be possible to modify the library to use it with an STM32H757XIH6, it has a flash of up to 2Mb on 2 banks, 8 sectors per bank and 128kb between two sectors. For each recording we must do it on 32bits even to write a single byte.
I need it to use with a Riverdi screen.
If you could port the library that would be great.
https://www.st.com/content/ccc/resource/training/technical/product_training/group0/1f/4f/b7/85/91/e0/4d/2f/STM32H7-Memory-Flash_FLASH/files/STM32H7-Memory-Flash_FLASH.pdf/_jcr_content/translations/en.STM32H7-Memory-Flash_FLASH.pdf

https://riverdi.com/fr/product/7-inch-lcd-display-capacitive-touch-panel-air-bonding-atouch-frame-stm32h7-rvt70hssfwca0

@nimaltd
Copy link
Owner

nimaltd commented Mar 9, 2024

Hello. it seems stm32f407, you should use #define _EE_PAGE_OR_SECTOR SECTOR
and modify the address and add 8word like U5 series ( 4word is FLASH_TYPEPROGRAM_QUADWORD)

@NicoEFI
Copy link
Author

NicoEFI commented Mar 10, 2024

Thanks for your answer
If I configure like this, is it good?

image
image

@nimaltd
Copy link
Owner

nimaltd commented Mar 17, 2024

it seems ok. did you try? did you add FLASH_TYPEPROGRAM_QUADWORD and edit writing array?

@nimaltd
Copy link
Owner

nimaltd commented Mar 28, 2024

I have updated the LIB. please try again for any device you have. @NicoEFI

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