Skip to content

Mx25v8035f flash write routines should not update buffers #293

Closed
@terrillmoore

Description

@terrillmoore

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.)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions