-->
Page 1 of 1

Sonoff firmware problem

PostPosted: Tue Oct 04, 2016 12:20 pm
by t481
Hello all
I'm trying to flash NodeMCU onto my new Sonoff. I'm using ESP8266Flasher x64 to flash the latest dev and stable versions:

nodemcu_float_0.9.6-dev_20150704.bin
nodemcu_integer_0.9.5_20150318.bin
nodemcu_integer_0.9.6-dev_20150704.bin

I even tried a custom build with MQTT in addition to the default settings.

After flashing and plugging the device to my PC and using LUA loader, I get the following:

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

load 0x40100000, len 23988, room 16
tail 4
chksum 0x4a
load 0x3ffe8000, len 2192, room 4
tail 12
chksum 0x06
ho 0 tail 12 room 4
load 0x3ffe8890, len 8, room 12
tail 8
chksum 0x95
csum 0x95
system param error

Does anyone know what this means and what I can do to fix the problem?

Re: Sonoff firmware problem

PostPosted: Thu Oct 06, 2016 4:32 am
by t481
hey guys,
I thought I'd update the post. It turns out that the output was actually error messages that due to the serial baud rate were completely gibberish. Anyway, changing the baudrate to 74880 allowed me to read the error messages which when I Googled didn't return anything particularly useful. Anyway, I became quite frustrated and decided that I had nothing to lose trying another method especially if my device is fried.

I uploaded Sonoff Boilerplate using Arduino IDE and that seemed to overwrite the erroneous version that I could not overwrite using the flashing tool. The Boilerplate application worked as intended. I then used the ESP flashing tool again to upload a custom-built version of NodeMCU and eventually uploaded my own lua scripts as I had originally intended.

I hope someone finds this useful :-)

https://tzapu.com/sonoff-firmware-boilerplate-tutorial/