请教: Fatal exception 29(StoreProhibitedCause):
请教: Fatal exception 29(StoreProhibitedCause):
Postby yang305228226 » Sat Mar 05, 2016 11:33 pm
8266工作在STA模式,只要一处理UDP数据,就出现上述提示。(NOOS SDK 1.5.2)完整串口打印消息如下:
Fatal exception 29(StoreProhibitedCause):
epc1=0x402452ae, epc2=0x00000000, epc3=0x00000000, excvaddr=0x0024eb61, depc=0x00000000
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x40100000, len 28396, room 16
tail 12
chksum 0x58
ho 0 tail 12 room 4
load 0x3ffe8000, len 904, room 12
tail 12
chksum 0xee
ho 0 tail 12 room 4
load 0x3ffe8390, len 940, room 12
tail 0
chksum 0x8e
csum 0x8e
don't use rtc mem data
Fatal exception 29(StoreProhibitedCause):
epc1=0x402452ae, epc2=0x00000000, epc3=0x00000000, excvaddr=0x0024eb61, depc=0x00000000
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x40100000, len 28396, room 16
tail 12
chksum 0x58
ho 0 tail 12 room 4
load 0x3ffe8000, len 904, room 12
tail 12
chksum 0xee
ho 0 tail 12 room 4
load 0x3ffe8390, len 940, room 12
tail 0
chksum 0x8e
csum 0x8e
don't use rtc mem data
Re: 请教: Fatal exception 29(StoreProhibitedCause):
Postby ESP_Faye » Mon Mar 07, 2016 3:09 pm
您好,
UDP 通信您可以参考示例 http://bbs.espressif.com/viewtopic.php?f=31&t=440。
查证 Fatal exception 问题可以参考 http://bbs.espressif.com/viewtopic.php?f=61&t=292。
UDP 通信您可以参考示例 http://bbs.espressif.com/viewtopic.php?f=31&t=440。
查证 Fatal exception 问题可以参考 http://bbs.espressif.com/viewtopic.php?f=61&t=292。
Re: 请教: Fatal exception 29(StoreProhibitedCause):
Postby yang305228226 » Tue Mar 08, 2016 10:29 am
我查找了问题,好像在代码中不能进行强制类型转换,下面是我类型转换后对应的.s文件部分。请问我要实现这种操作在代码中该怎么实现?
#pragma pack(1)
typedef struct pack_head
{
uint8 head[2]; //头
uint16 len; //长度
uint8 version; //版本号
uint8 mess_type; //消息类型
uint8 dat_id; //数据ID
}pack_head_typedef;
#pragma pack()
pack_head_typedef* ptr=(pack_head_typedef*) trans_buf;
pack_head_typedef* ptr=(pack_head_typedef*) trans_buf;
402452d7: 0648 l32i.n a4, a6, 0
402452d9: 058d mov.n a8, a5
#pragma pack(1)
typedef struct pack_head
{
uint8 head[2]; //头
uint16 len; //长度
uint8 version; //版本号
uint8 mess_type; //消息类型
uint8 dat_id; //数据ID
}pack_head_typedef;
#pragma pack()
pack_head_typedef* ptr=(pack_head_typedef*) trans_buf;
pack_head_typedef* ptr=(pack_head_typedef*) trans_buf;
402452d7: 0648 l32i.n a4, a6, 0
402452d9: 058d mov.n a8, a5
Who is online
Users browsing this forum: No registered users and 2 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.