Xinyuan-LilyGO / LilyGO-T-SIM7000G

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

SIM7000 dead? #176

Open MalteHillmann opened 2 years ago

MalteHillmann commented 2 years ago

Hello!

I have purchased a board from AliExpress (LilyGo-Store) and everything worked fine. But last week ago, the board stopped reporting values. A short investigation shows: The SIM7000G does not respond to any commands. There is no answer on the serial port at all. The two LEDs near the SIM7000 (NETLIGHT/STATUS) are off, too. (No continuous/blinking) The ESP32 itself works and can be flashed via USB-C. Is the SIM7000G dead or is there a chance to recover that board?

Thanks in advance. Kind regards

LilyGO commented 2 years ago

Hello,Can you see if this example works? View the information printed by the serial port monitor?

MalteHillmann commented 2 years ago

I've tested the example already. The modem doesn't even reply to an "AT". It replies nothing. So the example only shows: Failed to restart modem, attempting to continue without restarting

Is there anything else I can do?

LilyGO commented 2 years ago

Whether the status indicator (red) of 7000G is on?

MalteHillmann commented 2 years ago

Neither of the two LEDs from the SIM7000 are lit.

LilyGO commented 2 years ago

reference. Connect to 5V DM DP GND is there a COM port?

MalteHillmann commented 2 years ago

I've done that but other than expected I don't get an "SimTech SIM7000" device under "Other devices". But I get an "QHUSB_BULK"-Device (VID 05C6, PID 9008) which seems to be an Qualcomm Bootloader. I've tried the driver installation and got "SimTech HS-USB QDLoader 9008" (COM Port) Device. Then I tried to flash the Modem as shown in the upgrade guide. Sadly the update stopped at some point: 2022-05-30 12_34_26-SIM7000 QDL V1 43 Only for Update(backup recover)(Build_May 17 2018 17_34_17) I tried to repower the modem as stated in the error, but that doesn't help. Again the same error.

Now the Modem seems to be stuck in factory test mode (because IMEI is missing?):

-> AT+CGMI
<- SIMCOM_Ltd
<- OK
-> AT+CGMM
<- SIMCOM_SIM7000A
<- OK
-> AT+CGSN
<- +CME ERROR: memory failure
-> AT+CFUN?
<- +CFUN: 5
<- OK
-> AT+CFUN=1,1
<- OK
<- RDY
<- +CFUN: 5
<- +CPIN: READY
<- SMS Ready 

Is there a way to repair that?

EDIT: Flashing again seems impossible, because the flasher expects CFUN=1.

MalteHillmann commented 2 years ago

Thanks to this comment I was able to fix the problem myself with the "OnlyRestoreQCN"-Option (enabled in CFG.INI manually)!

2022-05-30 13_45_42-SIM7000 QDL V1 43 Only for Update(backup recover)(Build_May 17 2018 17_34_17)

Do you have any idea why the modem suddenly stopped working and required a reflash?

LilyGO commented 2 years ago

I'm not sure why your SIM7000 suddenly stopped working. Maybe you've configured some sleep commands?

Mr-HaleYa commented 1 year ago

They do die sometimes, especially if you were using the battery power. I've bought about 120 of them and about 20 have died or I killed them accidentally... I found that if the battery dies and then gets charged via solar it has a high chance of dying. seems to be something to do with a lack of proper hysteresis on the chip that powers the ESP 32 causing Rapid power cycling that fries it. I've also had the host chip die and even a SIM7000G die.

Stuff dies... Buy another and try again is about all you can do, if it happens again then you're probably doing somthing wrong.

MalteHillmann commented 1 year ago

Maybe you've configured some sleep commands?

No, never changed anything like this in the SIM7000.

After that reflash on 30.05. it works great.

But now I have another problem with exactly the same board. Software on it works, SIM7000G works. When I connect USB, it shuts down everything instantly (all LEDs off) and shows red charging LED only. If I plug it to a PC it does the same, but recognizes the CP210x correctly, but I'm not able to flash a new firmware anymore, because the ESP32 can't be reached. (not powered at all?)

EDIT: I measured a bit: 3.3V-PIN: 18650+Power on: 3,30V - With USB: 0,00V VDD_EXT: 18650+Power on: 1,80V - With USB: 0,00V VBAT: 18650+Power on: 4,11V - With USB: 4,21V VBUS: With USB: 5,02V Except 3.3V/VDD_EXT @ USB everything looks fine here?

Any ideas?

Thanks in advance. Kind regards