[quote user="Mark Hinds"]
We were planning to send over data from the BLE central 20 bytes at a time, incrementally write it to flash, and then when done send it elsewhere.
[/quote]
It is generally not a good idea to store temporary data to flash, due to several reasons:
- Writing to flash takes very long, compared to RAM (milliseconds vs. nanoseconds), which is part of the "known issues": The realtime capabilities are very limited
- Unlike with RAM, there is limited number of write/erase cycles (see datasheet)
- Flash can only be erased in blocks bigger than 20 bytes; you need a rather complex algorithm to deal with that issue
If you have the chance to reduce the size of the buffered data block to, say, 4 kBytes, do so and use RAM for buffering.