Initial Crash on first UART data being sent with screen, but only on first flash.

AgentSmithers
Posts: 176
Joined: Sat Apr 01, 2017 1:21 am
Contact:

Initial Crash on first UART data being sent with screen, but only on first flash.

Postby AgentSmithers » Thu May 07, 2020 7:45 am

Hi Everyone!
Anyone else have this issue after flashing and sending one char of UART data causing the issue below, After I flash my chip and it crashes, after I reset it manually it works fine, no issues at all, but the moment I flash it for the first time it crashes on data input. Anyone know the cause?

Fatal exception 0(IllegalInstructionCause):
epc1=0x40100014, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x0�000000
ets Jan 8 2013,rst cause:2, boot mode:(1,7)


ets Jan 8 2013,rst cause:4, boot mode:(1,7)

wdt reset

st0ff3r
Posts: 11
Joined: Sun Sep 13, 2015 11:52 pm

Re: Initial Crash on first UART data being sent with screen, but only on first flash.

Postby st0ff3r » Sun May 24, 2020 3:05 am

I also get this Fatal exception 0(IllegalInstructionCause):
epc1=0x40100014, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4010b128, depc=0x00000000<FE>

I think its related to my use of GPIO interrupt. Do you use any interrupts? Not sure if it only happens first time after flash. That could indicate that the flash process is done for wrong flash size?

What about comparing the output of reading the hole flash before and after?

AgentSmithers
Posts: 176
Joined: Sat Apr 01, 2017 1:21 am
Contact:

Re: Initial Crash on first UART data being sent with screen, but only on first flash.

Postby AgentSmithers » Mon Jul 20, 2020 3:25 pm

Sorry, Been busy with other projects and the whole end of the world thing going on ;)
Anyhow, back to work...
Yeah, I'm unsure but I don't recall using any interrupts in my project even though its quite extensive now. I do use Deep sleep if you consider that. It almost seems like I'm sending a keystroke via terminal (I use screen in Cent OS), and it triggers a bad address.
I'm going to get some time in the next few weeks (School in the way) and I'll give a few of these things a try.
Thanks for chiming in!

Who is online

Users browsing this forum: No registered users and 19 guests