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

writting 200kB data to the flash #24

Open
CSC-Olivier opened this issue Sep 5, 2018 · 0 comments
Open

writting 200kB data to the flash #24

CSC-Olivier opened this issue Sep 5, 2018 · 0 comments

Comments

@CSC-Olivier
Copy link

The way I understand the library, is that the storage is limited to the size of the RAM since one have to first declare the variable in RAM. Is that correct?

I am trying to write a lot of data to the flash (like up to 200kB).

The way I would like it to work is to fill a 256B buffer in RAM and then write it to flash. Then increment the address, refill the buffer and write it again to the new address.
Is there a way to do that?
I looked at the write(flash_address, data, flash_size) function, but between the different class definition and the pointers, I am lost!
Any help (or pointer towards the right direction) would be much welcome.
I think that could also be a useful feature for other data logger projects that will want to store a lot of data.

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

1 participant