There are two central sd_* methods for writing to flash - write and erase. The problem is I need to know where I can put my data without trashing something else that is already there and without reading every memory location and looking for the 'magic value'.
The examples do not help a bit, as they simply use the address of the last page. What if I need more than 1024 bytes?
Yes I know how to get the end of the memory. But that is a pretty stupid place to begin writing unless one writes backwards.
Clearly what the application writer wants is to find the start of free flash, so there is a maximum amount of flash available.
How does one do this???
Why isn't there a method sd_get_start_address_of_free_flash()? I think that was first suggested some six years ago.