Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By daveb1014
#50627 Thanks, I replaced just the one .cpp file and recompiled, but I am still getting a wdt reset

ets Jan 8 2013,rst cause:4, boot mode:(3,0)

wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v60000318
~ld

...whenever I use

sd.remove(MY_FILE);

Is there something special which needs to be done when replacing a library file besides recompiling?
User avatar
By daveb1014
#50731 Just wanted to add that whilst I haven't been able to get this to work, the SD library has been working fine with FAT32 on 8GB cards, I just can't .remove() or .exists().

I have worked around this in the case of .remove() by instead using:

SD.open("file.txt", O_WRITE | O_CREAT | O_TRUNC);

and in the case of .exists() I have to call:

file = SD.open("file.txt");
if (file) {// file exists

Still not sure why I get crashes on .remove and .exists and they would be very useful to have, but not a show stopper at the moment.