I need help with LoLin NodeMcu V3 + ESP8266 SDK
Posted: Sun Jun 24, 2018 6:49 pm
I'm quite new in the 8266's world and I need some help.
First of all, I'm going to tell you what is my experience so far:
- I bought two NodeMcu LoLin V3 boards (I also have a esp8266-f SoC I've been successfully using to connect an Arduino board to Wifi)
- I bought Kolban's book about ESP8266 (I've read it more or less in depth depending on my interest in each topic)
- I installed Arduino IDE's extensions for programming ESP8266 modules and I was able to play with various test programs (AP listing, led blinking, etc.).
I used the "NodeMCU 1.0 (ESP-12E Module)" option under "ESP8286 Modules" (I'm telling it because maybe it's important let you know)
So far so good, then I tried to take a step further and start to play with the SDK (No OS). In this regard, I followed these steps to set up de environment:
- I installed (over Windows 7 ultimate 64 bits):
* Eclipse IDE for C/C++ Developers (Oxygen.3a Release (4.7.3a))
* MinGW (i686-posix-dwarf-rev0, Built by MinGW-W64 project) 8.1.0
* Core Utils 5.3.0 (aka GnuWin32)
* Latest Unofficial Development Kit for Espressif ESP8266 (http://dl.programs74.ru/get.php?file=Es ... 8266DevKit)
The problems arose when I tried some examples (blinky & blinky2 to be more precise) and nothing seemed to work:
I built the binaries objects from Eclipse (eagle.flash.bin & eagle.irom0text.bin) and then I flashed the board with them (from Eclipse itself and using nodemcu-flasher, eagle.flash.bin to 0x00000 and eagle.irom0text.bin to 0x10000 and
playing with different value for Flash Speed and SPI Mode). After flashing, I reset the board with the integrated switch and nothing happened: no led blinking and nothing was written to the UART0 (from os_printf's added by me in order to do some debug)
Could someone help me?
I'll be glad to add any extra info needed
Thanks in advance
Best regards
First of all, I'm going to tell you what is my experience so far:
- I bought two NodeMcu LoLin V3 boards (I also have a esp8266-f SoC I've been successfully using to connect an Arduino board to Wifi)
- I bought Kolban's book about ESP8266 (I've read it more or less in depth depending on my interest in each topic)
- I installed Arduino IDE's extensions for programming ESP8266 modules and I was able to play with various test programs (AP listing, led blinking, etc.).
I used the "NodeMCU 1.0 (ESP-12E Module)" option under "ESP8286 Modules" (I'm telling it because maybe it's important let you know)
So far so good, then I tried to take a step further and start to play with the SDK (No OS). In this regard, I followed these steps to set up de environment:
- I installed (over Windows 7 ultimate 64 bits):
* Eclipse IDE for C/C++ Developers (Oxygen.3a Release (4.7.3a))
* MinGW (i686-posix-dwarf-rev0, Built by MinGW-W64 project) 8.1.0
* Core Utils 5.3.0 (aka GnuWin32)
* Latest Unofficial Development Kit for Espressif ESP8266 (http://dl.programs74.ru/get.php?file=Es ... 8266DevKit)
The problems arose when I tried some examples (blinky & blinky2 to be more precise) and nothing seemed to work:
I built the binaries objects from Eclipse (eagle.flash.bin & eagle.irom0text.bin) and then I flashed the board with them (from Eclipse itself and using nodemcu-flasher, eagle.flash.bin to 0x00000 and eagle.irom0text.bin to 0x10000 and
playing with different value for Flash Speed and SPI Mode). After flashing, I reset the board with the integrated switch and nothing happened: no led blinking and nothing was written to the UART0 (from os_printf's added by me in order to do some debug)
Could someone help me?
I'll be glad to add any extra info needed
Thanks in advance
Best regards