Re: Wolfenduino 3D
Posted: Thu Oct 29, 2015 7:49 pm
@jhhoward:
I have seen similar things happening. In my case, it was caused by running out of RAM during program execution. What I was able to figure out was that somehow the PetitFS file stream buffer was overlapping other data. Freeing up RAM in other parts of the program solved the issues for me.
EDIT: the way I figured it out was that I was getting data from PetitFS that was actually other data structures that I recognized and I knew were in the memory.
it works for the most part, but occasionally I have a strange problem where the wrong data is loaded. I'm not sure if it is a hardware issue (i.e. my SD card or Gamebuino) or a bug in the Petit Fatfs implementation
I have seen similar things happening. In my case, it was caused by running out of RAM during program execution. What I was able to figure out was that somehow the PetitFS file stream buffer was overlapping other data. Freeing up RAM in other parts of the program solved the issues for me.
EDIT: the way I figured it out was that I was getting data from PetitFS that was actually other data structures that I recognized and I knew were in the memory.