Skip to main content

Posts

Showing posts with the label sdhc

SD card extension for OpenFAT library

OpenFAT is an open-source FAT file system implementation for embedded systems. The original library is well written and documented. We recently came across this library while looking for a LibOpenCM3 support SD/MMC FAT file system library. At the initial review, we notice that this library does not maintain for the last ten years. Also, it does not provide support to the latest SD card types. After review the latest SD card specifications , we add SD card support to this library and release it with the same license. The updated library is available at the github.com/dilshan/sdfatlib . The testing of this library is carry on a popular STM32F103C8T6 blue pill development board. The suggested wiring layout is given, below. Wiring layout for the test setup. For the above test layout, we use a standard SD card adapter module (which comes without a built-in level-shifter and voltage regulator). Due to the 3.3V support of the STM32F103C8T6 , the wiring layout is straightforward. The CH34...

How to resolve Windows 10 IoT core provisioning file flash failure

Recently I checked Windows 10 IoT core on Raspberry Pi 3 B+ board. While flashing this operating system using Windows 10 IoT dashboard I got " Failed to write provisioning file to the microsd card " error. I tried several options in dashboard UI but I got this error continuously. After some google search, I found a forum in Microsoft MSDN saying that this issue happens due to poor or slow speed SD cards. The SD card which I used previously is Kingston 16GB class 4 SDHC memory card . Later by following the site, I flash this image into new class 10 SD cards and SDXC cards but repeatedly I got this same errors. After a couple of hours of digging I fix this issue by following the steps below: Open Windows 10 IoT core dashboard and try to install the OS image.  If you got " Failed to write provisioning file to the microsd card " error, close the Windows 10 IoT core dashboard . Open C:\Users\USER-NAME\AppData\Local\Temp\RPi2\msi\msicontent\Microsoft IoT\FFU\R...