#1
Posted 04 December 2015 - 08:26 PM
#2
Posted 05 December 2015 - 02:36 AM
Hi David,
Try doing a "flush" to force all updates to the SD card
Microsoft.SPOT.IO.VolumeInfo("\\sd").FlushAll();
Regards
@KiwiBryn
blog.devmobile.co.nz
#3
Posted 05 December 2015 - 12:19 PM
Good morning kiwBryn or afternoon New Zealand is a long way from Illinios,
After adding a reference to Microsoft.SPOT.IO the code below works in vb version 4.3 using the Netduino 3.
#4
Posted 05 December 2015 - 08:05 PM
Hi David,
Currently NZ is UTC+13 Illinois is UTC-6 so your answers are coming from tomorrow :-)
Rolling sunrise global support
I had a look at the NetMF source on github
HRESULT FAT_FS_Driver::FlushAll( const VOLUME_ID* volume )
When I follow this in it writes sectors out to the media which is what I would expect.
On the otherhand
#5
Posted 05 December 2015 - 10:01 PM
Hello kiwBryn, (I won't pretend to even know what day it is )
This is the code I am using may be over kill be it seems to work every time?
If Directory.Exists("\SD\Scenes") = False Then
Also tagged with one or more of these keywords: sd card, create directory
Hardware →
Netduino Plus 2 (and Netduino Plus 1) →
Sd Card read issuesStarted by claudio.serio, 24 Jun 2015 SD Card |
|
|||
Hardware →
Netduino Plus 2 (and Netduino Plus 1) →
Garbage Collector, SD Card, Stream Writer, RamStarted by stotech, 06 Apr 2015 Garbage Collector, SD Card and 2 more... |
|
|||
Hardware →
Netduino Plus 2 (and Netduino Plus 1) →
Memory Shortage while Loading Assemblies DynamicallyStarted by Afshin, 23 Feb 2015 RAMAssembly, SD Card |
|
|||
Hardware →
Netduino Plus 2 (and Netduino Plus 1) →
Serial port stop readingStarted by newPudong, 19 Sep 2014 Serial Port, SD Card |
|
|||
Hardware →
Netduino Plus 2 (and Netduino Plus 1) →
Frequent writing into SD card caused lost data in reading from serial portStarted by Afshin, 09 Jun 2014 SD card, Serial Port, FileStream and 7 more... |
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users