Just blew the dust off a product from 2010.
Using the EMX10-SM-128, upgraded to .Net Microframework V4.2. from 4.0.
Device is a data logger that is woken up by a micro controller periodically and then when the data logger is finished it instructs the micro to put it back to sleep. Micro controls power and reset line.
The formerly working code runs on the EMX, I can download and debug it, step through etc. For some reason however, it no longer writes the data to a file on the SD card consistently. It seems to work sometimes when I am stepping through but not when running full speed. Using streamwriter class.
Persistent storage mounts, doesn’t appear to be any issue along the way.
I am using streamwriter class. I am flushing and closing. I can post code but It isn’t available to me right now.
I have searched for and read posts I thought were related to this issue and have tried long delays after mounting the storage (3+ seconds) and three different SD cards. SD card is formatted FAT16.