Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TT-GO #1

Open
hhansen06 opened this issue Feb 18, 2020 · 8 comments
Open

TT-GO #1

hhansen06 opened this issue Feb 18, 2020 · 8 comments

Comments

@hhansen06
Copy link

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
Copy link
Contributor

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
Copy link

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

@papawattu
Copy link
Contributor

image

@papawattu
Copy link
Contributor

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

@MY20-PHEV
Copy link

🤦🏻Thankyou !

@MBj1703
Copy link

MBj1703 commented Feb 17, 2021

What is the MY18 option doing exactly?

@papawattu
Copy link
Contributor

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
Copy link

MBj1703 commented Feb 18, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants