![]() |
Forum Index : Microcontroller and PC projects : Wattmon uPHP on PIC32
![]() ![]() |
|||||
Author | Message | ||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
That is a point. As far as I know the Microchip SD card routines do not write the data out until you close the file. Geoff BTW Thanks for the doco on reducing code size. I was already using all the tricks except optimising the library - I had missed that one and it has the potential to recover 4.5K of flash on the Micromite. There is a 20% speed penalty but it will come in handy if my back is to the wall. Geoff Graham - http://geoffg.net |
||||
akashh Senior Member ![]() Joined: 19/01/2014 Location: IndiaPosts: 115 |
I have been meaning to post the results of the accelerated write test on the microsd card, but didnt get down to it yet, sorry. Basically from what I could tell, the card did several million writes. I checked it regularly for a few days, and once it lost its counter and started from zero. The next time i checked it the card was so fried I couldn't read it, but it is interesting to note some things in general about sd cards from my personal experience: 1) cards fail after several months of constant wear but not consistently 2) although a card appears to be working on Wattmon, using microchip's FAT32 libraries, plugging it into a pc doesn't work and it will either not read at all or eject when trying to access any file. 3) sometimes reformatting works if the card is not too damaged I was wondering whether there isn't a fun little project to be made from this experience, such a small network accessible or USB sd card reader using microchips libraries. Perhaps this would allow us to recover stuff off damaged sd cards that no pc will look at! Akash |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |