Hello,
I' ve been struggling for some days, now, trying to upload my Olimex esp8266-dev with a running sample, to no avail.
I' ve chosen the at sample distributed with the SDK (1.1.2) : compile&link is OK, and so is uploading using both ESPTOOL and the windows espressif tool. But the module refuses to run filling the UART (at about 76880 bauds )w/ fatal exception(0).
epc1=0x40240644 .....
According to the disassembly listing the offending instrucrion is:
fffe61 l32r a6, 4024065c <user_uart_wait_tx_fifo_empty+0x3cc>
I' ve also tried previous sdk (1.1.0 and 1.0.1) to no avail.
What is strange is that some time ago I managed to compile, download & run the at application ( I think with SDK 1.0.0 ) but , after tampering with others samples ( e.g. blinky ) I was no more able to burn a running version of anly app.
Any hint on a possible cause of this fatal exception?
TIA
Giancarlo
fatal exception(0) any hints?
Re: fatal exception(0) any hints?
Postby gcramat » Mon Sep 28, 2015 2:22 am
Well, I' ve got no replies on this issue, so I'm going to close it myself: no power issues , the problems disappeared as soon as I moved to another module (same make and model): looks that somehow something went wrong with my first module ( not the flash, though ..)
Now, months and 2 SDK versions after my app is runing smoothly ( most of the time ) with some occasional reboot due to exception(0) at an address not so far away from the original one. The all important difference is that this happens only occasionally.
My personal final consideration: ESP is too good to be true, but probably not yet stable enough ( and sure closed sorce is not going to help )
Now, months and 2 SDK versions after my app is runing smoothly ( most of the time ) with some occasional reboot due to exception(0) at an address not so far away from the original one. The all important difference is that this happens only occasionally.
My personal final consideration: ESP is too good to be true, but probably not yet stable enough ( and sure closed sorce is not going to help )
Re: fatal exception(0) any hints?
Postby eriksl » Wed Sep 30, 2015 9:44 pm
Random "exceptions" are mostly due to bad power supply. The exp8266 is quite picky on that. It may draw short peaks of considerate power. If you power supply can't handle that, prepare for random crashes.
Who is online
Users browsing this forum: No registered users and 27 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.