Skip to content

Fatal exception when upgrading from SDK 1.5.4.1 to 3.0.6 #369

Open
@przemyslawzygmunt

Description

@przemyslawzygmunt

After upgrading from version 1.5.4.1 (39cb9a32) to version 3.0.6-dev (865fa65) the firmware crashes before entering user_init. This issue does not occur when upgrading from 1.5.4.1 (39cb9a32) to 3.0.5-dev (81bde69). The problem also does not occur when the update flow is as follows: 1.5.4.1 -> 3.0.5 -> 3.0.6. In the event of a fatal exception, the only solution is to go back from 3.0.6 to a lower version and only then can you upgrade to 3.0.6. Unfortunately, if the user uses OTA, he stays with a dead device.

Uart Log:
load 0x40100000, len 1856, room 16
tail 0
chksum 0x63
load 0x3ffe8000, len 776, room 8
tail 0
chksum 0x02
load 0x3ffe8310, len 552, room 8
tail 0
chksum 0x79
csum 0x79

2nd boot version : 1.5
  SPI Speed      : 40MHz
  SPI Mode       : DIO
  SPI Flash Size & Map: 16Mbit(1024KB+1024KB)
jump to run user1 @ 1000

Fatal exception (3):
epc1=0x4000bf64, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4024d293, depc=0x00000000
Fatal exception (3):
epc1=0x4000bf64, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4024d293, depc=0x00000000
Fatal exception (3):
epc1=0x4000bf64, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4024d293, depc=0x00000000
Fatal exception (3):
epc1=0x4000bf64, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4024d293, depc=0x00000000
Fatal exception (3):
epc1=0x4000bf64, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4024d293, depc=0x00000000
Fatal exception (3):
epc1=0x4000bf64, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4024d293, depc=0x00000000
Fatal exception (3):
epc1=0x4000bf64, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4024d293, depc=0x00000000
Fatal exception (3):
.........

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions