Close

about using that SD card for programs

A project log for LAMEBOY - another ESP12 handheld

fully portable ESP12 project with battery charging and power muxing

davedarkodavedarko 10/11/2017 at 00:512 Comments

https://tech.scargill.net/tag/another-way-to-update-flash-esp8266/

https://tech.scargill.net/espressif-save-to-flash-an-alternative/

https://github.com/raburton/rboot

http://www.esp8266.com/wiki/doku.php?id=esp8266_memory_map

https://github.com/esp8266/esp8266-wiki/wiki/Memory-Map

So if I get it this right, I need a bootloader that starts with reading the sd card to check for roms to start. Then I'd have to write that binary file into a 1MB area of the spi flash and start from there, if that is possible. Every program would have to be compiled for that sector then? Or is there a start pointer and a soft reset? 

Let's call it homework.

further homework

http://bbs.espressif.com/viewtopic.php?t=202

http://bbs.espressif.com/viewtopic.php?f=15&t=56

Discussions

deʃhipu wrote 10/11/2017 at 02:54 point

Hmm, you could also use the sdio boot mode — remove (or disable) the flash chip completely, and put all your code on the SD card...

  Are you sure? yes | no

davedarko wrote 10/11/2017 at 03:07 point

I think that's a common misunderstanding for the SDIO mode that's been used on projects like the #RPi WiFi - haven't seen one project that loads from SD card.

It might be easier (for me) to add another avr that reads from the sd card and uploads over the uart... meh meh meh.

  Are you sure? yes | no