hi,
i use this example code:
http://elm-chan.org/fsw/ff/res/app1.c
to append data to a file that is already on sdcard. it works, but i get some random wrong written bytes when i append big chunks (ca. 1500 bytes or more)
here is the object i created. non appending mode does work as intended. as soon as i try to append, things go strange. with small arrays it works with big ones it fails. any clues on this? the wrong bytes are not in the beginning of the appended data, but somewhere in the middle. the file has the right length. for example 3 bytes might get inserted at one place and 3 bytes are omitted in another place... very strange.
lpcwizard3.axo (3.7 KB)
on a related note, there is a flag FA_OPEN_APPEND in fatfs r0.12a and higher, any chance axoloti would incorporate the new version?