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

Mx25v8035f flash write routines should not update buffers #293

Closed
terrillmoore opened this issue Apr 10, 2021 · 0 comments
Closed

Mx25v8035f flash write routines should not update buffers #293

terrillmoore opened this issue Apr 10, 2021 · 0 comments
Assignees
Labels

Comments

@terrillmoore
Copy link
Member

Due to severe limitations in the Arduino SPI API, the Catena_Mv25v8035f::program() routine not only takes a writable buffer as input, but actually modifies it with the data shifted in from the SPI bus while writing.

Change to use a bounce buffer. (Longer term, add an API like the bootloader's, which stuffs zeroes if TX buffer pointer is NULL and discards input if RX buffer pointer is NULL.)

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

No branches or pull requests

1 participant