Archive for the ‘ESP8266/32’ Category

ESP8266/ESP8285 启动报错 csum err ets_main.c 解决办法

ESP8266/32 | Posted by 老沙
8月 06 2017

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

load 0x40100000, len 25020, room 16
tail 12
chksum 0xef
ho 0 tail 12 room 4
load 0x00000000, len 0, room 12
tail 0
chksum 0xef
load 0x00000000, len 0, room 4
tail 0
chksum 0xef
csum 0xef
csum err
ets_main.c

解决办法:

FLASH刷写模式改为DOUT

编译ESP8266固件

ESP8266/32 | Posted by 老沙
7月 01 2017

一、编译环境配置

我们先安装编译需要的软件包
sudo apt-get install git autoconf build-essential gperf bison flex texinfo libtool libncurses5-dev wget gawk libc6-dev-amd64 python-serial libexpat-dev

export PATH=”/opt/xtensa-lx106-elf/bin/:$PATH”

报错:

/opt/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/sys/fcntl.h:31:34: fatal error: xtensa/simcall-fcntl.h: No such file or directory
#include <xtensa/simcall-fcntl.h>

cp -Rp ~/Share/ESP8266_RTOS_SDK/extra_include/xtensa ./