Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By chris
#1947 Did anyone get the examples flashed? I thought that I got it right, but this is being played back in a loop for the AT example.
(Official VM + SDK)

Code: Select allready

 ets Jan  8 2013,rst cause:4, boot mode:(3,0)

wdt reset
load 0x40100000, len 24664, room 16
tail 8
chksum 0xf5
load 0x3ffe8000, len 3136, room 0
tail 0
chksum 0x40
load 0x3ffe8c40, len 6288, room 8
tail 8
chksum 0x29
csum 0x29


Code: Select all./esptool.py --port /dev/ttyUSB0 write_flash 0x00000 bin/eagle.app.v6.flash.bin
./esptool.py --port /dev/ttyUSB0 write_flash 0x40000 bin/eagle.app.v6.irom0text.bin


Did I mix up the esptool.py arguments? I cannot get any useful state working on the chip.

Cheers,
Chris
User avatar
By stb
#1955 Has anyone had success building and uploading a firmware from the 0.9.2 SDK? Building was simple enough following the instructions that come with the VirtualBox VM, but I'm a bit reluctant to brick my first unit...

I currently have
Code: Select allAT+GMR
00160901

is there a way I can restore this? I coulnd't find out how to dump the flash with esptool.py.
User avatar
By mamalala
#1962
stb wrote:Has anyone had success building and uploading a firmware from the 0.9.2 SDK? Building was simple enough following the instructions that come with the VirtualBox VM, but I'm a bit reluctant to brick my first unit...

I currently have
Code: Select allAT+GMR
00160901

is there a way I can restore this? I coulnd't find out how to dump the flash with esptool.py.


You can't brick the modules/chip. The core stuff is in the internal ROM. If you flash something that doesn't work, you can always reflash it.

You can find a working good firmware as binaries on tinhead's OneDrive here: https://onedrive.live.com/?cid=C4DDF72E6EEA3826&id=C4DDF72E6EEA3826!872

Greetings,

Chris
User avatar
By stb
#1974
mamalala wrote:You can't brick the modules/chip. The core stuff is in the internal ROM. If you flash something that doesn't work, you can always reflash it.

You can find a working good firmware as binaries on tinhead's OneDrive here: https://onedrive.live.com/?cid=C4DDF72E6EEA3826&id=C4DDF72E6EEA3826!872


Excellent, thank you! Now I just need to figure out why esptool.py doesn't want to talk to my module ("Invalid head of packet").


Stefan