ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By Zatta
#43900
WhiteHare wrote:I tried upgrading my Huzzah ESP8266 to Release 2.0.beta2 using ESP FLASH DOWNLOAD TOOL V2.3 (actually, it says v2.3 in the title bar when I open it, but the application file says its v2.4, so I'm guessing it's the most current?) with the settings given in the release instructions:
flash boot_v1.4(b1).bin from the official esp_iot_sdk_v1.3.0 and included in the release tgz to 0x00000
flash blank.bin from the official SDK and also included in the tgz to 0x3FE000
flash user1.bin to 0x01000

However, it does not appear as an AP that I can connect with, and I can't connect with it using its former IP address either. The blue LED on it double blinks once every 15 seconds. Not sure what that means, but probably something.

I used the same flash tool to upload the version 1.0.1 firmware without a problem. Does it no longer work for Release 2?

Edit: OK, I just tried Release 2.0.rc1. Same results.

It would seem my Adafruit Huzzah simply doesn't work with any of the Release 2 firmwares.


I've just flashed my Huzzah with version 2.2.b2 after some difficulties.

I have used ESP_DOWNLOAD_TOOL_V2.4 from Espressif. At first couple of tries neither version 2.1.7 nor 2.2.b2 booted up (as in: no AP was found and the LED on GPIO0 stayed dimmed like it does on bootloader mode). After googeling around I stumbled on your post so I tried it with version 1.0.0 which booted up and I could connect it to my network.

So, I decided to try v2.2.b2 one more time after getting a friendly headup on gitter by @tve, and miraculously I now have a working esp-link on y huzzah.

Now I just have to learn using it :)

EDIT: I spent some time to get AtmelStudio 7 directly talking to my 328p-pu projects, I ended up with a nice addon made by @bc547: https://gitlab.com/bc547-playground/avr-link, using it as an external tool. Before I used to use avrdude but the original version doesn't support net communication on windows.
Alternatively I've learned in the gitter about a modified avrdude for this but I'm not sure if I can link to that directly (also, I haven't tried that because I'm very satisfied with @bc547's avr-link.
User avatar
By vnarmy
#44499 I have a trouble when flash esp-link on ESP-12E.
I clone the git from https://github.com/jeelabs/esp-link.git
Then run
Code: Select allmake
make flash

It's flashed successfully. But when running the ESP restart repeatly.

This is the log
Code: Select allets Jan  8 2013,rst cause:4, boot mode:(3,0)

wdt reset
load 0x40100000, len 1856, room 16
tail 0
chksum 0x63
load 0x3ffe8000, len 776, room 8
tail 0
chksum 0x02
load 0x3ffe8310, len 552, room 8
tail 0
chksum 0x79
csum 0x79

2nd boot version : 1.5
  SPI Speed      : 80MHz
  SPI Mode       : QIO
  SPI Flash Size & Map: 32Mbit(512KB+512KB)
jump to run user1 @ 1000

rŽùlÀĞbßä ‚Œbrãbã‰à âlìŽÄìŽ

   127>
   127> ** esp-link master - 2016-03-30 10:17:52 - development
   127> Flash config restore *FAILED*
   128> CONN led=0
   130> Wifi init, mode=AP+STA
   133> Wifi uses DHCP, hostname=esp-link
   136> "ip": "0.0.0.0"
   138> "netmask": "0.0.0.0"
   141> "gateway": "0.0.0.0"
   144> "hostname": "esp-link"
   146> sleep enable,type: 2
   149> Serbridge pins: reset=12 isp=13 swap=0
   162> Reset cause: 1=wdt reset
   162> exccause=4 epc1=0x40000f68 epc2=0x0 epc3=0x0 excvaddr=0x4010048b depc=0x0
   164> Flash map 4MB:512/512, manuf 0xC8 chip 0x4016
   168> ** esp-link ready
   171> initializing MQTT
   173> MQTT_Init
   175> initializing user application
   178> Waiting for work to do...
   181> mode : sta(18:fe:34:f4:72:4f) + softAP(1a:fe:34:f4:72:4f)
   187> add if0
   188> add if1
   190> dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
   198> bcn 100
  2591> Fatal exception 0(IllegalInstructionCause):
  2591> epc1=0x4020137e, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4010047b, depc=0x00000000

Am I doing sth wrong?
User avatar
By vnarmy
#44506
vnarmy wrote:I have a trouble when flash esp-link on ESP-12E.
I clone the git from https://github.com/jeelabs/esp-link.git
Then run
Code: Select allmake
make flash

It's flashed successfully. But when running the ESP restart repeatly.

This is the log
Code: Select allets Jan  8 2013,rst cause:4, boot mode:(3,0)

wdt reset
load 0x40100000, len 1856, room 16
tail 0
chksum 0x63
load 0x3ffe8000, len 776, room 8
tail 0
chksum 0x02
load 0x3ffe8310, len 552, room 8
tail 0
chksum 0x79
csum 0x79

2nd boot version : 1.5
  SPI Speed      : 80MHz
  SPI Mode       : QIO
  SPI Flash Size & Map: 32Mbit(512KB+512KB)
jump to run user1 @ 1000

rŽùlÀĞbßä ‚Œbrãbã‰à âlìŽÄìŽ

   127>
   127> ** esp-link master - 2016-03-30 10:17:52 - development
   127> Flash config restore *FAILED*
   128> CONN led=0
   130> Wifi init, mode=AP+STA
   133> Wifi uses DHCP, hostname=esp-link
   136> "ip": "0.0.0.0"
   138> "netmask": "0.0.0.0"
   141> "gateway": "0.0.0.0"
   144> "hostname": "esp-link"
   146> sleep enable,type: 2
   149> Serbridge pins: reset=12 isp=13 swap=0
   162> Reset cause: 1=wdt reset
   162> exccause=4 epc1=0x40000f68 epc2=0x0 epc3=0x0 excvaddr=0x4010048b depc=0x0
   164> Flash map 4MB:512/512, manuf 0xC8 chip 0x4016
   168> ** esp-link ready
   171> initializing MQTT
   173> MQTT_Init
   175> initializing user application
   178> Waiting for work to do...
   181> mode : sta(18:fe:34:f4:72:4f) + softAP(1a:fe:34:f4:72:4f)
   187> add if0
   188> add if1
   190> dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
   198> bcn 100
  2591> Fatal exception 0(IllegalInstructionCause):
  2591> epc1=0x4020137e, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4010047b, depc=0x00000000

Am I doing sth wrong?

The default makefile with FF is 80m. I have to change this to 40m. Solved.
User avatar
By Subhajit Das
#49418
pableitor wrote:I tried ESP-LINK v2.1.7 on an ESP-12 with Arduino UNO, the SLIP protocol on the REST&MQTT page enabled and uploaded this sketch to the Arduino:
https://github.com/tve/espduino/blob/ma ... o/demo.ino

That worked for me, it sends Arduino data to thingspeak by REST protocol.

Cheers
Pablo

Did reset function for worked for you when uploading the program? Or did you manually reset with the button?