rBoot now supports Sming for ESP8266

Although it’s always been possible to use Sming compiled apps with rBoot it wasn’t easy. I’ve shared Makefiles and talked a few people through it previously on the esp8266.com forum, but now there is a new sample project on GitHub to help everyone do it. The sample demonstrates: Compiling a basic app (similar to the … Continue reading rBoot now supports Sming for ESP8266

C Version of Cache_Read_Enable for ESP8266

Just a quick post with a C version of the decompiled ESP8266 rom function Cache_Read_Enable. This function is responsible for memory mapping the SPI flash. I’ve previously discussed it, but a couple of people have wanted the code so it seemed worth posting here. This compiles to quite a few bytes which must stay in … Continue reading C Version of Cache_Read_Enable for ESP8266

esptool2 – a rom creation tool for ESP8266

Time to write something about esptool2, as I’ve been using it in the last few posts. The SDK way of creating rom images is a mess involving a shell script / batch file and Makefile. I did find a windows version of esptool by mamalala, but it didn’t create the newer rom format used by … Continue reading esptool2 – a rom creation tool for ESP8266

rBoot tutorial for ESP8266 – OTA updates

Ok, hope you’re still with me after my previous massive post. Now I’m going to show you how to perform an over-the-air (OTA) update with rBoot. I’ve covered all the background already, so this should be pretty straight forward as long as you have a simple two rom rBoot setup running. Now add rboot.h, rboot-ota.h … Continue reading rBoot tutorial for ESP8266 – OTA updates

A boot loader tutorial for ESP8266 using rBoot

From recent reading and discussions it seems that lots of people aren’t using the Espressif boot loader (or my own rBoot, but that’s less of a surprise) on the ESP8266. Why? Maybe people aren’t aware of the reasons why you might want to. Or maybe they can’t figure out how to – when I started … Continue reading A boot loader tutorial for ESP8266 using rBoot

rBoot – A new boot loader for ESP8266

As promised here is my new boot loader for the ESP8266 – rBoot. Advantages over SDK supplied bootloader: Open source (written in C) – this is the big one. Supports any number of roms. Roms can be different sizes. Rom slots can be used for resource storage as well as bootable apps (and benefit from … Continue reading rBoot – A new boot loader for ESP8266