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

SIM7670G Firmware Update #122

Closed
Hydra-Gituser opened this issue Aug 16, 2024 · 41 comments
Closed

SIM7670G Firmware Update #122

Hydra-Gituser opened this issue Aug 16, 2024 · 41 comments

Comments

@Hydra-Gituser
Copy link

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

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

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

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

@Hydra-Gituser
Copy link
Author

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

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

Thanks, photo sent direct to your email.

@lewisxhe
Copy link
Contributor

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

@Hydra-Gituser
Copy link
Author

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

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

@lewisxhe
Copy link
Contributor

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

@Hydra-Gituser
Copy link
Author

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

@lewisxhe
Copy link
Contributor

Oh! I found yours in the trash.

@Hydra-Gituser
Copy link
Author

OK, all good.

@lewisxhe
Copy link
Contributor

Sent to you via email

@Hydra-Gituser
Copy link
Author

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

@AnlauTriCloud
Copy link

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

lewisxhe commented Aug 20, 2024

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

AnlauTriCloud commented Aug 20, 2024 via email

@lewisxhe
Copy link
Contributor

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

AnlauTriCloud commented Aug 20, 2024 via email

@lewisxhe
Copy link
Contributor

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

AnlauTriCloud commented Aug 20, 2024 via email

@lewisxhe
Copy link
Contributor

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

AnlauTriCloud commented Aug 20, 2024 via email

@lewisxhe
Copy link
Contributor

lewisxhe commented Aug 20, 2024

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

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

@AnlauTriCloud
Copy link

AnlauTriCloud commented Aug 20, 2024 via email

@lewisxhe
Copy link
Contributor

No, win11 is also available.

@AnlauTriCloud
Copy link

AnlauTriCloud commented Aug 20, 2024 via email

@lewisxhe
Copy link
Contributor

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

@AnlauTriCloud
Copy link

AnlauTriCloud commented Aug 20, 2024 via email

@lewisxhe
Copy link
Contributor

Can you take a screenshot?

@AnlauTriCloud
Copy link

AnlauTriCloud commented Aug 20, 2024 via email

@lucioborges
Copy link

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

yes

@lewisxhe
Copy link
Contributor

@lewisxhe
Copy link
Contributor

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

@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.

@lewisxhe lewisxhe pinned this issue Sep 10, 2024
@0x657373656C6C
Copy link

0x657373656C6C commented Sep 13, 2024

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

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.

Copy link

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

@github-actions github-actions bot added the stale label Oct 14, 2024
Copy link

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

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

No branches or pull requests

5 participants