|
使用机智云自动生成的SOC进行编译,
gen_misc.sh文件内容:
boot=new
echo "boot mode: $boot"
app=1
echo "app:$app"
spi_speed=40
echo "spi speed: $spi_speed MHz"
spi_mode=QIO
echo "spi mode: $spi_mode"
spi_size_map=6
echo "spi_size_map:$spi_size_map"
make COMPILE=gcc BOOT=$boot APP=$app SPI_SPEED=$spi_speed SPI_MODE=$spi_mode SPI_SIZE_MAP=$spi_size_map
编译结果:
root@ubuntu:/mnt/hgfs/ESP/GizwitsSoCesp8266_32M2018062313112387720f66e4/SoC_ESP8266_32M_source/app# ./gen_misc.sh
gen_misc.sh version 20150511
boot mode: new
app:1
spi speed: 40 MHz
spi mode: QIO
spi_size_map:6
make[1]: Entering directory '/mnt/hgfs/ESP/GizwitsSoCESP8266_32M2018062313112387720f66e4/SoC_ESP8266_32M_source/app/user'
make[1]: Leaving directory '/mnt/hgfs/ESP/GizwitsSoCESP8266_32M2018062313112387720f66e4/SoC_ESP8266_32M_source/app/user'
make[1]: Entering directory '/mnt/hgfs/ESP/GizwitsSoCESP8266_32M2018062313112387720f66e4/SoC_ESP8266_32M_source/app/driver'
make[1]: Leaving directory '/mnt/hgfs/ESP/GizwitsSoCESP8266_32M2018062313112387720f66e4/SoC_ESP8266_32M_source/app/driver'
make[1]: Entering directory '/mnt/hgfs/ESP/GizwitsSoCESP8266_32M2018062313112387720f66e4/SoC_ESP8266_32M_source/app/Gizwits'
make[1]: Leaving directory '/mnt/hgfs/ESP/GizwitsSoCESP8266_32M2018062313112387720f66e4/SoC_ESP8266_32M_source/app/Gizwits'
make[1]: Entering directory '/mnt/hgfs/ESP/GizwitsSoCESP8266_32M2018062313112387720f66e4/SoC_ESP8266_32M_source/app/Utils'
make[1]: Leaving directory '/mnt/hgfs/ESP/GizwitsSoCESP8266_32M2018062313112387720f66e4/SoC_ESP8266_32M_source/app/Utils'
mkdir -p ../bin/upgrade
!!!
1681824114
1681824115
Support boot_v1.4 and +
Generate user1.4096.new.6.bin successully in folder bin/upgrade.
boot.bin------------>0x00000
user1.4096.new.6.bin--->0x01000
!!!
root@ubuntu:/mnt/hgfs/ESP/GizwitsSoCESP8266_32M2018062313112387720f66e4/SoC_ESP8266_32M_source/app#
程序烧录设置:
串口每次打印信息:
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 2408, room 16
tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0
tail 8
chksum 0xd8
csum 0xd8
2nd boot version : 1.6
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 32Mbit(1024KB+1024KB)
jump to run user1 @ 1000
rf cal sector: 636
rf[112] : 00
rf[113??
然后就停止打印了,可是程序还在运行,KEY1和KEY2按键都可以起作用的,但是没有相应的打印信息,并且DEV和APP直接信息交互是正常的,但是DEV实际无法控制GPIO!
请问这是什么原因?
|
|