chipKIT® Development Platform

Inspired by Arduino™

ChipKIT Wi-Fire SD problems

Created Wed, 23 Dec 2015 20:28:15 +0000 by ltheoret


ltheoret

Wed, 23 Dec 2015 20:28:15 +0000

Hi,

I just purchased an ChipKIT Wi-Fire and wanted to test it out. I also have a ChipKIT WF32 that works well. to test the Wi-Fire I took the deWebIOServer code from the instructable "Controlling a WF32 from a Computer". This works well with the WF32 but when I try it on the Wi-Fire, it fails to initialize the SD card reader but connects to the network. I placed the same card in both units (one after the other) and there is nothing wrong with the "Kingston 32GB SD HC"

Luc


ltheoret

Thu, 24 Dec 2015 08:25:34 +0000

Hi, An update. I went out and bought more 'kingston 16GB micro SD HD I' cards. I found if i use the internal MPIDE library for SD and change the SS from 4 to 52 i can read the SD card info and directory, but it still will not work with the deWebIOServer sketch, this sketch also uses the SD library and it is set to 52 by default. Has anybody else tried to get this working?

Luc


Nate42

Sat, 02 Jan 2016 23:04:50 +0000

Looks like I'm in the same boat. I don't have a WF32 to compare to, but so far I can't make anything SD card related work on the WI-FIRE.


Nate42

Mon, 04 Jan 2016 17:03:33 +0000

For anyone else with a similar issue, If you look at my post over at the Digilent forums, https://forum.digilentinc.com/topic/1353-problems-with-wi-fire-and-sd-card/, you can see that I found a partial solution by moving to the arduino ide and the latest github version of the chipkit core.

Still having issues with mounting the sd card in the httpserver example though.


photomankc

Wed, 25 Jan 2017 22:11:47 +0000

I'll have to keep an eye on this. I was planning to use the SD card on the WiFire for data-logging and configuration updates. Sounds like the 200MHz board is breaking timing assumptions in the SD library.


ltheoret

Wed, 15 Feb 2017 06:52:58 +0000

Hi,

Actually if you read Note42's last post, you will see I was using an unsupported MPIDE at the time. If you use the Arduino IDE I believe there is no problem. I am pretty sure I had it all working. I just abandoned it for the Dragino YUN Shield as I do not understand how to code my own network stuff. Somebody told me to read a couple of books on network protocols, which I started reading. then went on a job, came back restarted the book and aahh. so now I YUN.

Luc