Sonoff Basic and ESPeasy mega fw issue

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Sp33dFr34k
New user
Posts: 3
Joined: 27 Sep 2018, 20:24

Sonoff Basic and ESPeasy mega fw issue

#1 Post by Sp33dFr34k » 27 Sep 2018, 20:29

Hi,

I've been trying for 2 days now to get the mega firmware running on my Sonoff Basic and feel like I'm missing something very obvious, but can't figure out what it is.

I've tried so far, which don't work:
ESP_Easy_mega-20180927_normal_ESP8266_1024.bin
ESP_Easy_mega-20180723_normal_ESP8266_1024.bin
ESP_Easy_mega-20180923_normal_ESP8266_1024.bin
ESP_Easy_mega-20180924_normal_ESP8266_1024.bin

These do work (old non-mega fw):
ESPEasy_R120_1024.bin
ESPEasy_R148_1024.bin
ESP_Easy_v2.0-20180316_normal_ESP8266_1024_DOUT.bin
ESP_Easy_v2.0-20180322_normal_ESP8266_1024_DOUT.bin

I've tried multiple flash methods;
FlashESP8266.exe
ESP8266Flasher.exe

I've tried erasing, flashing the blank bin in advance. Using the "minimal" version: ESPEasyUploaderMega_1024.bin

Nothing works and it drives me crazy :)

Oh yeah, by not working I mean there's no ESP_0 AP coming up. With the old R releases and the v2.0 ones everything works in one simple try.

Any ideas?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Sonoff Basic and ESPeasy mega fw issue

#2 Post by grovkillen » 27 Sep 2018, 21:00

Have you tried my flasher? Link in signature below.

And make sure you have the button pressed for 1-2 seconds after you hit the flash button. Just to make sure the ESP is in flash mode.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Sp33dFr34k
New user
Posts: 3
Joined: 27 Sep 2018, 20:24

Re: Sonoff Basic and ESPeasy mega fw issue

#3 Post by Sp33dFr34k » 28 Sep 2018, 15:33

Thanks for your reply.

I've used your tool (looks nice btw, except for the font but that's due to W10 I see), like the option of setting the wifi details in there.

Everything seems to go okay, but it won't connect. 100% positive my wifi details are correct.

Any ideas?

Here's the log:

######2018-09-28######
#######0.01.001#######
######FLASH INFO######
BIN file: ESP_Easy_mega-20180927_normal_ESP8266_1024.bin
COM port: (COM5) USB-SERIAL CH340
Baud rate: 115200
######POST FLASH######
Unit name: Sonoff2
Unit number: 2
Admin password:
WiFi SSID 1: Donno
WiFi password 1: Password
WiFi SSID 2:
WiFi password 2:
IP: <DHCP>
######FLASH LOG######
[esptool.exe -vv -cd nodemcu -cb 115200 -cp COM5 -ca 0x00000 -cf "C:\esp\BIN\ESP_Easy_mega-20180927_normal_ESP8266_1024.bin"]
[28-9-2018 15:27:55] esptool v0.4.12 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
[28-9-2018 15:27:55] setting board to nodemcu
[28-9-2018 15:27:55] setting baudrate from 115200 to 115200
[28-9-2018 15:27:55] setting port from to COM5
[28-9-2018 15:27:55] setting address from 0x00000000 to 0x00000000
[28-9-2018 15:27:55] espcomm_upload_file
[28-9-2018 15:27:55] espcomm_upload_mem
[28-9-2018 15:27:55] setting serial port timeouts to 1000 ms
[28-9-2018 15:27:55] opening bootloader
[28-9-2018 15:27:55] resetting board
[28-9-2018 15:27:55] trying to connect
[28-9-2018 15:27:55] flush start
[28-9-2018 15:27:55] setting serial port timeouts to 1 ms
[28-9-2018 15:27:55] setting serial port timeouts to 1000 ms
[28-9-2018 15:27:55] flush complete
[28-9-2018 15:27:55] espcomm_send_command: sending command header
[28-9-2018 15:27:55] espcomm_send_command: sending command payload
[28-9-2018 15:27:55] read 0, requested 1
[28-9-2018 15:27:55] trying to connect
[28-9-2018 15:27:55] flush start
[28-9-2018 15:27:55] setting serial port timeouts to 1 ms
[28-9-2018 15:27:55] setting serial port timeouts to 1000 ms
[28-9-2018 15:27:55] flush complete
[28-9-2018 15:27:55] espcomm_send_command: sending command header
[28-9-2018 15:27:55] espcomm_send_command: sending command payload
[28-9-2018 15:27:55] espcomm_send_command: receiving 2 bytes of data
[28-9-2018 15:27:55] espcomm_send_command: receiving 2 bytes of data
[28-9-2018 15:27:55] espcomm_send_command: receiving 2 bytes of data
[28-9-2018 15:27:55] espcomm_send_command: receiving 2 bytes of data
[28-9-2018 15:27:55] espcomm_send_command: receiving 2 bytes of data
[28-9-2018 15:27:55] espcomm_send_command: receiving 2 bytes of data
[28-9-2018 15:27:55] espcomm_send_command: receiving 2 bytes of data
[28-9-2018 15:27:55] espcomm_send_command: receiving 2 bytes of data
[28-9-2018 15:27:55] Uploading 749552 bytes from C:\esp\BIN\ESP_Easy_mega-20180927_normal_ESP8266_1024.bin to flash at 0x00000000
[28-9-2018 15:27:55] erasing flash
[28-9-2018 15:27:55] size: 0b6ff0 address: 000000
[28-9-2018 15:27:55] first_sector_index: 0
[28-9-2018 15:27:55] total_sector_count: 183
[28-9-2018 15:27:55] head_sector_count: 16
[28-9-2018 15:27:55] adjusted_sector_count: 167
[28-9-2018 15:27:55] erase_size: 0a7000
[28-9-2018 15:27:55] espcomm_send_command: sending command header
[28-9-2018 15:27:55] espcomm_send_command: sending command payload
[28-9-2018 15:27:55] setting serial port timeouts to 15000 ms
[28-9-2018 15:27:55] setting serial port timeouts to 1000 ms
[28-9-2018 15:27:55] espcomm_send_command: receiving 2 bytes of data
[28-9-2018 15:27:55] writing flash
[28-9-2018 15:28:07] ................................................................................ [ 10% ]
[28-9-2018 15:28:18] ................................................................................ [ 21% ]
[28-9-2018 15:28:30] ................................................................................ [ 32% ]
[28-9-2018 15:28:41] ................................................................................ [ 43% ]
[28-9-2018 15:28:53] ................................................................................ [ 54% ]
[28-9-2018 15:29:04] ................................................................................ [ 65% ]
[28-9-2018 15:29:16] ................................................................................ [ 76% ]
[28-9-2018 15:29:27] ................................................................................ [ 87% ]
[28-9-2018 15:29:39] ................................................................................ [ 98% ]
[28-9-2018 15:29:40] ............ [ 100% ]
[28-9-2018 15:29:40] starting app without reboot
[28-9-2018 15:29:40] espcomm_send_command: sending command header
[28-9-2018 15:29:40] espcomm_send_command: sending command payload
[28-9-2018 15:29:40] espcomm_send_command: receiving 2 bytes of data
[28-9-2018 15:29:40] closing bootloader
[28-9-2018 15:29:40] flush start
[28-9-2018 15:29:40] setting serial port timeouts to 1 ms
[28-9-2018 15:29:40] setting serial port timeouts to 1000 ms
[28-9-2018 15:29:40] flush complete
[2018-09-28 15:29:40] DONE!
[2018-09-28 15:29:40] Waiting for user input (reset the unit).
[2018-09-28 15:29:58] Proceeding...
######POST FLASH######
[2018-09-28 15:29:59] Sending SERIAL: "..."
[2018-09-28 15:30:02] Sending SERIAL: " Name Sonoff2 "
[2018-09-28 15:30:04] Sending SERIAL: " Unit 2 "
[2018-09-28 15:30:06] Sending SERIAL: " WifiSSID Donno "
[2018-09-28 15:30:09] Sending SERIAL: " WifiKey Password "
[2018-09-28 15:30:12] Sending SERIAL: "Save"
[2018-09-28 15:30:14] Sending SERIAL: "WifiConnect"
[2018-09-28 15:30:14] Serial programming done.
[2018-09-28 15:30:28] ERROR: Unit do not have an IP address.
############################
[2018-09-28 15:30:28] JOB COMPLETED, over and out!

t-minik
New user
Posts: 2
Joined: 30 Apr 2018, 18:27

Re: Sonoff Basic and ESPeasy mega fw issue

#4 Post by t-minik » 29 Sep 2018, 14:14

Hi
Check your Basic PCB
if you got ESP8266EX (bottom layer) + PUYA Chip (top layer).

so you should flash "ESP_Easy_mega-xxxxxxxx_dev_ESP8266PUYA_1024_VCC.bin"
for sure flash "blank_1MB.bin" then the release you want

only _VCC works for me but it seems to works perfectly.

Sp33dFr34k
New user
Posts: 3
Joined: 27 Sep 2018, 20:24

Re: Sonoff Basic and ESPeasy mega fw issue

#5 Post by Sp33dFr34k » 29 Sep 2018, 16:05

Hoorah, working straight up, 10 points for you mr. t-minik, thank you!!!

TD-er
Core team member
Posts: 8644
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Sonoff Basic and ESPeasy mega fw issue

#6 Post by TD-er » 29 Sep 2018, 19:27

It was a PUYA problem?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Sonoff Basic and ESPeasy mega fw issue

#7 Post by grovkillen » 29 Sep 2018, 19:29

If so even Sonoff has started to use PUYA, not a good move by them if that's the case .
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

t-minik
New user
Posts: 2
Joined: 30 Apr 2018, 18:27

Re: Sonoff Basic and ESPeasy mega fw issue

#8 Post by t-minik » 30 Sep 2018, 23:00

Yep, my new sonoff basic came with puya eeprom in it.

Hope it won't be a major problem increase.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 47 guests