Flashing ESP8266 ESP-03 with NodeMCU

Recently I have been working with ESP8266 ESP-03 and decided to flash it with NodeMCU. Looking at how to do this ( here ) it seemed to be pretty straight. forward task.

However when I started to try and flash the module I have not received any results. Most of the cases module became unresponsive. After many hours ( really ) of looking for some guideline where the problem can be I have came across post which referenced to write the default data into 2 memory addresses of the module.

So I have done so with the following command and that has helped – now got my nodemcu running as it should be!


esptool.py --port /dev/tty.usbserial-A7HFE6HK --baud 115200 write_flash -fm qio -fs 4m 0x00000 bin/nodemcu_integer_master_20161025-0533.bin 0x7C000 ~/Downloads/esp8266_nonos_sdk_v2.0.0_16_08_10/ESP8266_NONOS_SDK/bin/esp_init_data_default.bin 0x3fc000 ~/Downloads/esp8266_nonos_sdk_v2.0.0_16_08_10/ESP8266_NONOS_SDK/bin/esp_init_data_default.bin

Hope this will help you if you have been looking for some tips!



Setup for AVR development on MacOS


So today we look into something which I really was looking for recently. In nutshell it is setup of required components which are necessary to program AVRs on our MacOS.

Here I assume you for sure already have HomeBrew installed as it will be our main point of software installation.


Add new tap

brew tap osx-cross/avr

Install avr-gcc

brew install avr-libc

This one will install avr-binutils and avr-gcc. The avr-gcc installation takes time as it is compiling … so make ur self your favourite drink here 😉


Install avrdude

brew install avrdude --with-usb


Avrdude error when loading MCU in Eclipse

If you have error when using Eclipse and avrdude it seems that the AVR plugin has not been updated for a while. Although this does not affect programming can be easily solved. My friend sanderv32 has created a really nice AVRdude wrapper which solves this problem once and for all!

You can find his repo here => https://github.com/sanderv32/avrdude-av


Happy coding!