Xinyuan-LilyGO / LilyGO-T-A76XX

LilyGo A7670X A7608X SIM7670G series
MIT License
121 stars 55 forks source link

SIM7670G Firmware Update #122

Closed Hydra-Gituser closed 2 hours ago

Hydra-Gituser commented 2 months ago

Hi, I am trying to find the latest firmware for the SIM7670G module as used on the Lilygo T-SIM7670G V1.0.

I believe others have tried going direct to SimCom but were referred back to Lilygo.

I have queried the module and here are the results.

P/N:S2-10D1Y-Z327P SN:MP06240383AEE03 SW:2360B01SIM767XM5A_M

Thanks in advance for your help.

lucioborges commented 2 months ago

Use [HttpsOTAUpgrade] ? Install Visual studio code & dependencies, inport https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX. Platform IO .ini Select board & Examples ;! SIM7672G and SIM7670G are exactly the same, except for the name change default_envs = T-SIM7672G src_dir = examples/HttpsOTAUpgrade

Compiling and export to ESP32

Hydra-Gituser commented 2 months ago

Thanks, I have already seen that sketch. Lines 21 to 35 refer to .bin files for testing only but I am looking for the server where the actual Simcom .bin files are located to see if there is a newer version than what I have. I'm not sure what those test files do and I don't want to risk bricking my board.

lewisxhe commented 2 months ago

You will need the QR code from the label on your modem

Hydra-Gituser commented 2 months ago

Hello Lewis. I have the QR code and I tried to run the sketch but got this response.

SIM card online Wait for the modem to register with the network. Online registration successful

Registration Status:1 Inquiring UE system information:LTE,Online,505-01,0x8011,148842283,42,EUTRAN-BAND1,100,5,5,-10,-102,-91,7 Network IP:AT+IPADDR+IPADDR: 10.135.32.78 Initialize HTTPS Get firmware form HTTPS HTTP get failed ! error code = 706

I believe this error is "Send/receive socket data failed". Any suggestions about how to proceed? Thanks.

lewisxhe commented 2 months ago

HttpsOTAUpgrade only updates the application firmware, that is, the ESP, not the modem. If you want to update the SIM7670 firmware, please take a photo of the QR code on the modem label and send it to me. I need to verify the hardware model to check whether there is a new firmware.

Hydra-Gituser commented 2 months ago

Thanks, photo sent direct to your email.

lewisxhe commented 2 months ago

Did you send it? I didn't receive it. Which email address did you send it to?

Hydra-Gituser commented 2 months ago

I sure did, about this time yesterday, to lewishe@outlook.com and it didn't bounce. The attachment was 2MB so would that be a problem?

lewisxhe commented 2 months ago

lucio.xxxxx@gmail.com> Is that your email?

lewisxhe commented 2 months ago

I only received the text but not the photo, can you send it again?

Hydra-Gituser commented 2 months ago

No, my email is j...@hy.......cs.com.au Do you still want me to send again?

lewisxhe commented 2 months ago

Oh! I found yours in the trash.

Hydra-Gituser commented 2 months ago

OK, all good.

lewisxhe commented 2 months ago

Sent to you via email

Hydra-Gituser commented 2 months ago

Got it, thanks for your help. I will let you know how it goes.

AnlauTriCloud commented 2 months ago

I have the exact same issue. My hardware model (according to the QA code) is: P/N:S2-10D1Y-Z327P;SN:P1062350804AE70;IMEI:864643060013622;SW:2360B01SIM767XM5A_M

How do i get the latest firmware?

lewisxhe commented 2 months ago

The following firmware is only suitable for SIM7670G P/N number S2-10D1Y-Z327P. Other modules cannot be flashed, otherwise it will become a brick.

Please note it is SIM7670G, not A7670G

@AnlauTriCloud

AnlauTriCloud commented 2 months ago

Hi,

My device has the following serial number, according to the QA code on the chip:

P/N:S2-10D1Y-Z327P;SN:P1062350804AE70;IMEI:864643060013622;SW:2360B01SIM767XM5A_M

So, it seems that it is compatible.

Your colleague mentioned SIM7670xis. Just to understand, what does “xis” stand for? My device is a SIM7670G, where G stands for Global, right?

From: Lewis He @.> Sent: 20. august 2024 08:38 To: Xinyuan-LilyGO/LilyGO-T-A76XX @.> Cc: Anders Nordberg Lauritsen @.>; Mention @.> Subject: Re: [Xinyuan-LilyGO/LilyGO-T-A76XX] SIM7670G Firmware Update (Issue #122)

The following firmware is only suitable for SIM7670G P/N number S2-10D1Y-Z327P. Other modules cannot be flashed, otherwise it will become a brick.

dirverhttps://drive.google.com/drive/folders/1-7x2z00a5VO7GZS96C6mDupNTBXIh--H?usp=sharing firmware & toolshttps://drive.google.com/drive/folders/1T9GLM2fgUVj3BcnCpqmTxiVWUowx2icc?usp=sharing [doc](LilyGO-T-A76XX/docs/update_fw.md at main · Xinyuan-LilyGO/LilyGO-T-A76XX (github.com)https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/docs/update_fw.md)

@AnlauTriCloudhttps://github.com/AnlauTriCloud

— Reply to this email directly, view it on GitHubhttps://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/issues/122#issuecomment-2298078526, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANDEZAGPOWWKUHOVGYVEQBLZSLP4RAVCNFSM6AAAAABMTUTFLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJYGA3TQNJSGY. You are receiving this because you were mentioned.Message ID: @.**@.>>

lewisxhe commented 2 months ago

Yes, it is compatible, only SIM7670G and A7670G, no other versions, as long as it is the same PN number as SIM7670G, it can be flashed

AnlauTriCloud commented 2 months ago

It looks like it is the wrong guide. The guide shows how to update windows drivers, and open A76XX_A79XX_MADL V1.13 Only for Update.exe. This does not exist in the zip file.

You sent the “FlashTools_V4.0.7” and a zip file with 2 folders: 2374B02SIM767XM5A_M_SIM7670G-MNGV_V202240702 B03V01AG3352B

They both contain a lot of bin files. Which files do I need to flash to the SIM7670?

From: Lewis He @.> Sent: 20. august 2024 08:38 To: Xinyuan-LilyGO/LilyGO-T-A76XX @.> Cc: Anders Nordberg Lauritsen @.>; Mention @.> Subject: Re: [Xinyuan-LilyGO/LilyGO-T-A76XX] SIM7670G Firmware Update (Issue #122)

The following firmware is only suitable for SIM7670G P/N number S2-10D1Y-Z327P. Other modules cannot be flashed, otherwise it will become a brick.

dirverhttps://drive.google.com/drive/folders/1-7x2z00a5VO7GZS96C6mDupNTBXIh--H?usp=sharing firmware & toolshttps://drive.google.com/drive/folders/1T9GLM2fgUVj3BcnCpqmTxiVWUowx2icc?usp=sharing [doc](LilyGO-T-A76XX/docs/update_fw.md at main · Xinyuan-LilyGO/LilyGO-T-A76XX (github.com)https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/docs/update_fw.md)

@AnlauTriCloudhttps://github.com/AnlauTriCloud

— Reply to this email directly, view it on GitHubhttps://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/issues/122#issuecomment-2298078526, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANDEZAGPOWWKUHOVGYVEQBLZSLP4RAVCNFSM6AAAAABMTUTFLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJYGA3TQNJSGY. You are receiving this because you were mentioned.Message ID: @.**@.>>

lewisxhe commented 2 months ago

They are both similar. If you don't understand, I'll have to take a board and make a video to show you how to operate it.

AnlauTriCloud commented 2 months ago

That would be great.

I need to know exactly the files that need to be flashed, and how to start the process (to avoid making my SIM7670 into a brick) 😊

From: Lewis He @.> Sent: 20. august 2024 09:35 To: Xinyuan-LilyGO/LilyGO-T-A76XX @.> Cc: Anders Nordberg Lauritsen @.>; Mention @.> Subject: Re: [Xinyuan-LilyGO/LilyGO-T-A76XX] SIM7670G Firmware Update (Issue #122)

They are both similar. If you don't understand, I'll have to take a board and make a video to show you how to operate it.

— Reply to this email directly, view it on GitHubhttps://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/issues/122#issuecomment-2298170849, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANDEZAG5BM6ED4IJWEWYN43ZSLWQVAVCNFSM6AAAAABMTUTFLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJYGE3TAOBUHE. You are receiving this because you were mentioned.Message ID: @.**@.>>

lewisxhe commented 2 months ago

Then you have to wait. I don't have a board right now. I can only do it tomorrow or the day after tomorrow.

AnlauTriCloud commented 2 months ago

Fair enough. But maybe you can guide me with just a few questions:

The “Browse” searches for .ini files. There are none in the zip files you linked to. Under “Package”, it searches for .binpkg files. Only one exists, named qc_cat1.binpkg. However, selecting that lists no files below.

I can not add “bin” files to the list.

@.***

Kind Regards / Med venlig hilsen Anders Nordberg Lauritsen

From: Lewis He @.> Sent: 20. august 2024 09:41 To: Xinyuan-LilyGO/LilyGO-T-A76XX @.> Cc: Anders Nordberg Lauritsen @.>; Mention @.> Subject: Re: [Xinyuan-LilyGO/LilyGO-T-A76XX] SIM7670G Firmware Update (Issue #122)

Then you have to wait. I don't have a board right now. I can only do it tomorrow or the day after tomorrow.

— Reply to this email directly, view it on GitHubhttps://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/issues/122#issuecomment-2298181031, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANDEZAEVB3OCKNRSV57HGM3ZSLXHLAVCNFSM6AAAAABMTUTFLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJYGE4DCMBTGE. You are receiving this because you were mentioned.Message ID: @.**@.>>

lewisxhe commented 2 months ago
  1. Use USB to insert MICROUSB end and install all missing drivers
  2. Write ATDebug to the board
  3. Press and hold the BOOT button next to the modem, and then finally insert USB-C and MICRO USB, and release the BOOT button (next to the MODEM) after insertion
  4. Select according to the picture below, select the port and click download image image
lewisxhe commented 2 months ago

Here is a video introduction sent to me by simcom, you can watch it record.zip

AnlauTriCloud commented 2 months ago

Thanks! I understand how to use it now.

I am using Windows 11, and I am not able to install the Win10 drivers. This means that USB serial devices are filtered out (external com is filtered).

Is there any way of forcing a COM port? Otherwise, I need to find a Windows 10 machine, and try on that instead.

Kind Regards / Med venlig hilsen Anders Nordberg Lauritsen

From: Lewis He @.> Sent: 20. august 2024 10:19 To: Xinyuan-LilyGO/LilyGO-T-A76XX @.> Cc: Anders Nordberg Lauritsen @.>; Mention @.> Subject: Re: [Xinyuan-LilyGO/LilyGO-T-A76XX] SIM7670G Firmware Update (Issue #122)

Here is a video introduction sent to me by simcom, you can watch it record.ziphttps://github.com/user-attachments/files/16671926/record.zip

— Reply to this email directly, view it on GitHubhttps://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/issues/122#issuecomment-2298257593, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANDEZAGUFS65IZ4OISC5QNLZSL3YTAVCNFSM6AAAAABMTUTFLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJYGI2TONJZGM. You are receiving this because you were mentioned.Message ID: @.***>

lewisxhe commented 2 months ago

No, win11 is also available.

AnlauTriCloud commented 2 months ago

Did I get the wrong drivers?

@.***

Kind Regards / Med venlig hilsen Anders Nordberg Lauritsen

From: Lewis He @.> Sent: 20. august 2024 10:56 To: Xinyuan-LilyGO/LilyGO-T-A76XX @.> Cc: Anders Nordberg Lauritsen @.>; Mention @.> Subject: Re: [Xinyuan-LilyGO/LilyGO-T-A76XX] SIM7670G Firmware Update (Issue #122)

No, win11 is also available.

— Reply to this email directly, view it on GitHubhttps://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/issues/122#issuecomment-2298333339, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANDEZAFAGB3ZOESSROHJDBLZSMABRAVCNFSM6AAAAABMTUTFLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJYGMZTGMZTHE. You are receiving this because you were mentioned.Message ID: @.**@.>>

lewisxhe commented 2 months ago

You can't see any ports and devices in your Computer Manager?

AnlauTriCloud commented 2 months ago

Yes, they are here: COM5 – COM8. COM4 is the ESP32.

@.***

Windows does not allow me to update the drivers. It says that the best drivers are already installed.

Kind Regards / Med venlig hilsen Anders Nordberg Lauritsen

From: Lewis He @.> Sent: 20. august 2024 11:02 To: Xinyuan-LilyGO/LilyGO-T-A76XX @.> Cc: Anders Nordberg Lauritsen @.>; Mention @.> Subject: Re: [Xinyuan-LilyGO/LilyGO-T-A76XX] SIM7670G Firmware Update (Issue #122)

You can't see any ports and devices in your Computer Manager?

— Reply to this email directly, view it on GitHubhttps://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/issues/122#issuecomment-2298345899, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANDEZAGIOX7F2KHYJWGRR5TZSMAXVAVCNFSM6AAAAABMTUTFLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJYGM2DKOBZHE. You are receiving this because you were mentioned.Message ID: @.**@.>>

lewisxhe commented 2 months ago

Can you take a screenshot?

AnlauTriCloud commented 2 months ago

There was a screenshot in the last mail, but it was probably filtered out.

Here is a link instead: https://anlauingestiontest.blob.core.windows.net/images/USBDevices.jpg?sp=r&st=2024-08-20T09:09:40Z&se=2025-08-20T17:09:40Z&spr=https&sv=2022-11-02&sr=b&sig=W72tN27h5XcuL6OCOLjoMGf7C8YlamhjddGxkg0XyaE%3D

Kind Regards / Med venlig hilsen Anders Nordberg Lauritsen

From: Lewis He @.> Sent: 20. august 2024 11:06 To: Xinyuan-LilyGO/LilyGO-T-A76XX @.> Cc: Anders Nordberg Lauritsen @.>; Mention @.> Subject: Re: [Xinyuan-LilyGO/LilyGO-T-A76XX] SIM7670G Firmware Update (Issue #122)

Can you take a screenshot?

— Reply to this email directly, view it on GitHubhttps://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/issues/122#issuecomment-2298356068, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANDEZAB2XV4DCHEOJQ2ADFLZSMBJFAVCNFSM6AAAAABMTUTFLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJYGM2TMMBWHA. You are receiving this because you were mentioned.Message ID: @.**@.>>

lucioborges commented 2 months ago

lucio.xxxxx@gmail.com> Is that your email?

yes

lewisxhe commented 2 months ago

SIM7670G Firmware Upgrade YouTu

lewisxhe commented 2 months ago

The following firmware is only suitable for SIM7670G P/N number S2-10D1Y-Z327P. Other modules cannot be flashed, otherwise it will become a brick.

Please note it is SIM7670G, not A7670G

@AnlauTriCloud

The driver directory has been updated. The ini file can be updated directly without installation.

AnlauTriCloud commented 2 months ago

@lewisxhe Thanks, I succeeded in updating the firmware. The video was very helpful. The trick was to hold the "sim boot" button when powering the board, to ensure that the flash tool could discover it.

0x657373656C6C commented 1 month ago

I have a slightly different experience.

Exact same hardware as per QR code: P/N:S2-10D1Y-Z327P;SN:MP06240383AED5C;IMEI:864643060021914;SW:2360B01SIM767XM5A_M

Correct firmware from Google Drive, watched and followed video and Flashtool successfully uploads SIM7670G firmware:

Screenshot 2024-09-14 004330

But, when it comes time to try ATDebug again, this is all I get. I cannot send any AT commands:

Start Sketch

QCRDY

That's it, nothing more. If I remove the SIM:

Start Sketch

QCRDY

+CPIN: NOT INSERTED

$QCSTKURC:254

Any insights? I still have full control of the modem and can re-flash so I don't think its bricked.

0x657373656C6C commented 1 month ago

For anyone having the same issue I resolved it by selecting the two boxes at the top of the Flashtool "Erase All (User)" and "Erase NVM". It works as expected now.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 hours ago

This issue was closed because it has been inactive for 14 days since being marked as stale.