phev-remote / phev-ttgo

13 stars 2 forks source link

TT-GO #1

Open hhansen06 opened 4 years ago

hhansen06 commented 4 years ago

Hi, my tt-go is successfull registered with my model 2019 outlander phev. But after ntp sync, it looks like it's crashing. Any ideas, whats wrong? Tried with and without MJ18 Support.

I (4239) PPP: Gsm init end
I (4239) PPP: After pppapi_pppos_create
I (4239) PPP: After pppapi_set_default
I (4239) PPP: After pppapi_set_auth
I (4249) PPP: After pppapi_connect
I (4859) PPP: status_cb: Connected

I (4859) PPP:    our_ipaddr  = 10.21.149.49

I (4859) PPP:    his_ipaddr  = 192.168.254.254

I (4859) PPP:    netmask     = 255.255.255.255

I (4859) PPP:    our6_ipaddr = ::

I (4869) MAIN: Initializing SNTP
I (6869) MAIN: Waiting for system time to be set...
I (8869) MAIN: Current local time and date: Tue Feb 18 22:38:39 2020

I (8869) MQTT: Incoming Topic /ttgo/devices/xxx/commands : Outgoing Topic /ttgo/devices/xxx/events : Control Topic /ttgo/devices/xxx/control : Status topic /ttgo/devices/xxx/status
I (8879) PHEV_MODEL: Model created and initialised
Guru Meditation Error: Core  0 panic'ed (InstrFetchProhibited). Exception was unhandled.
Core 0 register dump:
PC      : 0x38333a32  PS      : 0x00060b30  A0      : 0x800d7f1f  A1      : 0x3ffbb2c0
A2      : 0x3ffc9f8c  A3      : 0x3ffbb320  A4      : 0x00000020  A5      : 0x3ffbb300
A6      : 0x3ffc9dd8  A7      : 0x00000000  A8      : 0x800dcfb2  A9      : 0x3ffbb2a0
A10     : 0x3ffc9c48  A11     : 0x3ffc9f8c  A12     : 0x400dcf60  A13     : 0x3ffbb250
0x400dcf60: msg_pipe_inboundSubscription at /root/phev-ttgo/components/msg-core-wrapper/msg-core/src/msg_pipe.c:240

A14     : 0x0000003e  A15     : 0x3ffbb250  SAR     : 0x00000004  EXCCAUSE: 0x00000014
EXCVADDR: 0x38333a30  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0x00000000

ELF file SHA256: 24c0b02751c6701de554094dc7bc3c521fe2e0188ff1b0f57df907dc38509ed7

Backtrace: 0x38333a2f:0x3ffbb2c0 |<-CORRUPTED

Rebooting...
papawattu commented 4 years ago

Hi, the MY18 code is very alpha at the moment, there are many issue. Its probably worth waiting a few days when I will push some changed which will hopefully stablise the code.

MY20-PHEV commented 4 years ago

Can anyone tell me how to turn the MY18 option on ? sorry for the noob question

papawattu commented 4 years ago

image

papawattu commented 4 years ago

Run idf.py menuconfig in the root folder of the project.

MY20-PHEV commented 4 years ago

🤦🏻Thankyou !

MBj1703 commented 3 years ago

What is the MY18 option doing exactly?

papawattu commented 3 years ago

Its not actually used anymore, the MY16 version did not "encrypt" the packets, the newer version does, but I actually figured out a way to support both without the flag.

MBj1703 commented 3 years ago

@hhansen06 you need to turn of OTA. Had the same with OTA on.