Delta_G:
How was I supposed to know that from the OP? How from the OP with only that snippet was I supposed to know that those types of statements weren't sprinkled all over your code.
You didn't at the time. I am fine with that, so you were (politely) informed those statements were added only for debugging as reply #5
Delta_G:
Forget this. You're pretty unpleasant to deal with. I'll go help someone who actually wants to fix something.
Bye now.
I want the help. I need the help. But the fact is that you can't help. You don't know the problem or you can't find the problem. You are as stumped as I. You're hoping to get lucky and close and then one of us will randomly stumble across it. You have added seven posts (and I seven replies) and you haven't had one new thought, piece of new information, place to look, or test to perform to identify the problem. (actually in 12 posts there has only been 1 suggestion).
As I said six posts back,
adwsystems:
What is your suggestion of what to check, test, or change?
Please make suggestions and not insults. If you want to go away, then please do. You are helping the situation and it will leave room for someone that can find the problem.
So is there a programmer willing to take on the challenge?
Attached is the updated program with all relevant recommended changes included. The program crashes upon reaching the file.open() instruction in the run_test() function. (see post #1).
The compile stats are:
Sketch uses 21810 bytes (67%) of program storage space. Maximum is 32256 bytes.
Global variables use 1632 bytes (79%) of dynamic memory, leaving 416 bytes for local variables. Maximum is 2048 bytes.
Low memory available, stability problems may occur.
All libraries are used directly (unmodified) from the library manager.
I am aware you don't have the hardware. If you feel there is a test to be performed requiring the hardware, just let me know.
SDFAT_Test_post.ino (21 KB)