Xinyuan-LilyGO / LilyGO-T-SIM7000G

LilyGO T-SIM7000G
https://pt.aliexpress.com/item/4000542688096.html
284 stars 123 forks source link

If disconnected and plugged back to USB-C terminal does not work #170

Open Gouzi001 opened 2 years ago

Gouzi001 commented 2 years ago
  1. you program LilyGO and terminal working fine

  2. disconnect LilyGO - still working - doing programmed actions as it should

  3. plug it back to USB-C -> terminal does not work

  4. Restart LilyGO by button still being connected - terminal still does not work

  5. Reprogramm it - Terminal working.

LilyGO commented 2 years ago

Hello, which example are you using? Can we make a video to demonstrate that?

Gouzi001 commented 2 years ago

It does not matter what you upload, you can try simple Serial.print(millis(); delay(1000); ...unplug LillyGO plug it back and there will be no results in Terminal. In other words seems that Serial is not being reinitialized.

LilyGO commented 2 years ago

Calling the millis function is "millis()". Serial.print(millis());

Gouzi001 commented 2 years ago

not important my friend.. simple disconnect LILIGO plug it back and terminal output will not work anymore... even after hard reset. :(

LilyGO commented 2 years ago

What printing tool do you use? Is it normal to use simple printing? (such as)

// uint32_t chipId = 0; void setup() { Serial.begin(115200); }

void loop() { for(int i=0; i<17; i=i+8) { chipId |= ((ESP.getEfuseMac() >> (40 - i)) & 0xff) << i; }

Serial.printf("ESP32 Chip model = %s Rev %d\n", ESP.getChipModel(), ESP.getChipRevision()); Serial.printf("This chip has %d cores\n", ESP.getChipCores()); Serial.print("Chip ID: "); Serial.println(chipId);

delay(3000); } //

Can you send a video demo that doesn't print properly?

Gouzi001 commented 2 years ago

https://drive.google.com/file/d/1ZjVEcGi5NkcwUUa_OVDNYbkvEdIqwgnu/view?usp=sharing

As you can see after reconnection terminal does not work anymore

LilyGO commented 2 years ago

This is most likely an Arduino terminal problem. You need to restart the terminal after you disconnect the USB.

Gouzi001 commented 2 years ago

i tested to open & close terminal also whole IDE, however with same result as you seen on Video. For Arduino it's working fine. Same behavior is on other PC with Linux.

I shall receive this week additional LILIGO and check if they will act better.