- Wed Apr 15, 2015 4:06 am
#14561
Moin,
look for xtensa doc ref above which defines causes.
28 means "LoadProhibitedCause"
"A load referenced a page mapped with an
attribute that does not permit loads [Region
Protection Option or MMU Option]"
So the "load" to the store (29 - StoreProhibitedCause)
Mapfile is produced by linker if requested by linker (ld).
Nodemcu linker step has it enabled
Code: Select allxtensa-lx106-elf-gcc -Wl,--undefined=pm_wait4wakeup -Wl,--wrap=pm_wait4wakeup -L../lib -Wl,--gc-sections -Xlinker -Map=mapfile -nostdlib -T../ld/eagle.app.v6.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lc -lgcc -lhal -lphy -lpp -lnet80211 -lwpa -lmain -ljson -lsmartconfig -lssl user/.output/eagle/debug/lib/libuser.a driver/.output/eagle/debug/lib/libdriver.a lwip/.output/eagle/debug/lib/liblwip.a json/.output/eagle/debug/lib/libjson.a upgrade/.output/eagle/debug/lib/libupgrade.a platform/.output/eagle/debug/lib/libplatform.a libc/.output/eagle/debug/lib/liblibc.a lua/.output/eagle/debug/lib/liblua.a coap/.output/eagle/debug/lib/coap.a mqtt/.output/eagle/debug/lib/mqtt.a u8glib/.output/eagle/debug/lib/u8glib.a smart/.output/eagle/debug/lib/smart.a wofs/.output/eagle/debug/lib/wofs.a spiffs/.output/eagle/debug/lib/spiffs.a cjson/.output/eagle/debug/lib/libcjson.a modules/.output/eagle/debug/lib/libmodules.a -Wl,--end-group -lm -o .output/eagle/debug/image/eagle.app.v6.out
I don't know anything about sming.
hreintke wrote:LS,
I am using different framework (sming) and getting different exception (Fatal exception (28)) but I think finding the function in which it occurs would be the same as proposed here.
Questions :
- What would be the "execption reason" indicated by 28 ?
- What step should/can I take to produce a mapfile ?
Herman