Can't go wrong with more jigawatts
Oh I forgot to say, the counter read 110,000 plus it had a " 0 0" after it. Not sure what that is but, it didn't seem to affect the counter.
It looked like this if that is not clear 110000 0 0 . The two extra 0s never changed.
A few more jigawatts and you could go back in time to fix all these bugs before they ever happen.
Also, I still can't log anything when selecting E38 auto.
The two zeros are the number of read and write sector errors on the SD card. Previously those would count up at a rate of about 1 or 2 every ten minutes. The SD card read/write routines have a 3 loop retry so if an error occured it would normally recover. The times when it did not recover (and logging failed) was when it failed 3 times in a row.Originally Posted by XLR8NSS
The reason for the failures was because the thermocouple chips were transmitting every 200ms on the SPI bus (the same SPI bus that the SD card uses) without checking first to see if the SD card was currently reading/writing.
After fixing the thermocouple transmit routines, I added the two error counters to observe that the problem was fixed. I left them there so that you guys can see if any errors were occuring (possibly for other reasons). I will remove them before the official release.
Regards
Paul
Before asking for help, please read this.