stanleyhuangyc / Freematics

Official source code repository for Freematics
https://freematics.com
425 stars 346 forks source link

Freematics One + build on latest master crash in loop #66

Open nandra opened 5 years ago

nandra commented 5 years ago

Hello,

I'm using revision: fc03f79b435c5dd63f4c2626081f071ad9cb0cc9 build with PIO and after build + upload to device I get only this in loop:

Rebooting...
CPU:240MHz Flash:16MBDEVICE ID: A0HLZ83Z
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC      : 0x400d99b8  PS      : 0x00060733  A0      : 0x800d42cd  A1      : 0x3ffb1e30
A2      : 0x00000000  A3      : 0x3ffb23b8  A4      : 0x00000004  A5      : 0x00000040
A6      : 0x00000010  A7      : 0x00000004  A8      : 0x00000001  A9      : 0x00000001
A10     : 0x00000001  A11     : 0x00000792  A12     : 0x00000001  A13     : 0x00000001
A14     : 0xff000000  A15     : 0x00000000  SAR     : 0x0000001e  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff

Backtrace: 0x400d99b8:0x3ffb1e30 0x400d42ca:0x3ffb1e50 0x400d5faa:0x3ffb1e70 0x400d5f29:0x3ffb1ea0 0x400d5dbe:0x3ffb1ed0 0x400d6041:0x3ffb1f20 0x400d67cf:0x3ffb1f60 0x400d3a1c:0x3ffb1f80 0x4012e073:0x3ffb1fa0
nandra commented 5 years ago

Looks like it's related to OBD (when enabled OBD debug) then I see only:

CPU:240MHz Flash:16MBDEVICE ID: A0HLZ83Z
<<<ATI
>>>
<<<ATI
>>>
<<<ATI
>>>
[1939]ATI
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC      : 0x400d9a74  PS      : 0x00060f33  A0      : 0x800d42cd  A1      : 0x3ffb1e30
A2      : 0x00000000  A3      : 0x3ffb23b8  A4      : 0x00000004  A5      : 0x00000040
A6      : 0x00000010  A7      : 0x00000004  A8      : 0x00000001  A9      : 0x00000001