Install ESPEasy with a Mac, esptool.py

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
cobrp
New user
Posts: 1
Joined: 18 Feb 2016, 10:30

Install ESPEasy with a Mac, esptool.py

#1 Post by cobrp » 18 Feb 2016, 10:48

I'am trying to install ESPEasy on a ESP8266-01, it's black. I want to use ESPEasy with Domoticz.
Flashing a nodeMCU with esptool.py works well.

I did try to flash the 1024 k and 512 k binary images both from R78.
Both images flash well with or without the parameter set: -fs 32m -fm dio -ff 40m at the end of the command line.

But when I open a terminal after a reset, I get:

Code: Select all

Fatal exception (0): 
epc1=0x400ef278, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
about once a second.

Anybody an idea?
Enschede, Mac user, RaspberryPi user (Domoticz running)

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: Install ESPEasy with a Mac, esptool.py

#2 Post by costo » 18 Feb 2016, 17:07

cobrp wrote:

Code: Select all

Fatal exception (0): 
epc1=0x400ef278, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
?
Fatal exception (0) >> illegalInstructionCause
epc1=0x400ef278 >> Exception program counter.
this points to an address above 1MB, looks like you are trying to write/read from an adress that is not there.

Maybe you set wrong parameter ?
Look into the documentation for esptool, maybe you can find the right parameter there.

chrille
Normal user
Posts: 88
Joined: 26 Aug 2015, 15:11
Location: Horsens, Denmark

Re: Install ESPEasy with a Mac, esptool.py

#3 Post by chrille » 21 Feb 2016, 12:29

cobrp wrote:I'am trying to install ESPEasy on a ESP8266-01, it's black. I want to use ESPEasy with Domoticz.
Flashing a nodeMCU with esptool.py works well.

I did try to flash the 1024 k and 512 k binary images both from R78.
Both images flash well with or without the parameter set: -fs 32m -fm dio -ff 40m at the end of the command line.

But when I open a terminal after a reset
-fs 32m means that you try to write to a 4 MB (32 Mbit) flash. You should either use -fs 8m and the 1MB file, or no -fs option (default is 512k flash) and the 512k image. Since you probably want to do OTA upgrades in the future, I suggest you use the 1M option

-fs 32m only applies to modules with 4 MB flash (ESP-12)
You can write a smaller image to a 4 MB flash, but you need to set -fs accordingly

Make sure your version of esptool supports the -fs option - it was not present in older versions

- Jan
Jan Chrillesen, Denmark

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 34 guests