Re: Everything about Esp8266 and SD cards
Posted:
Mon Jun 15, 2015 1:37 pm
by sigrokBlack
Yeah, you're right, its just a simple 5 minute schematic. When I've time, I'll redo it right.
My esp201 has wires soldered on between io15 and GND .....
Re: Everything about Esp8266 and SD cards
Posted:
Mon Jun 15, 2015 3:30 pm
by martinayotte
I'm getting "#error Architecture or board not supported" ...
Did you have to tweak any #define for the architecture ?
Re: Everything about Esp8266 and SD cards
Posted:
Mon Jun 15, 2015 4:15 pm
by Ribeiro Santos
martinayotte wrote:I'm getting "#error Architecture or board not supported" ...
Did you have to tweak any #define for the architecture ?
I thing this message comes from
https://github.com/esp8266/Arduino/blob/esp8266-sdk-1.0/libraries/SD/src/utility/Sd2PinMap.h at line 384, may be you have some old libraries?
Also I think
ESP8266 is defined in
https://github.com/esp8266/Arduino/blob/esp8266-sdk-1.0/hardware/esp8266com/esp8266/platform.txt at line 45
build.extra_flags=-DESP8266, may be you have an old platform.txt file?
Re: Everything about Esp8266 and SD cards
Posted:
Sat Jun 20, 2015 10:03 am
by martinayotte
I've updated the SD library (I had an old one that didn't manage ESP8266 define).
It is now compiling, but at run time, it is failing opening the SDCard.
I've plugged a logic analyser in parallel, I can see SPI transaction going out on MOSI, but the MISO seems to be almost garbage returned.
Is there other things that is needed ?