Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    GPY continuously rebooting rst:0x7 (TG0WDT_SYS_RESET)...

    Scheduled Pinned Locked Moved GPy
    3 Posts 2 Posters 171 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      Tiit
      last edited by

      The GPY module was used with user program. Then I needed to use it for another purpose, I reinstalled FW (tried multiple versions from 1.20.rc4 to most new one, all in legal or pybytes settings); flash was deleted/formatted along with fw installation and also afterwards in ATom REPL to get a clean module. (Using Exp board v. 3.1)
      The GPY keeps restarting with:

      rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
      configsip: 0, SPIWP:0xee
      clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
      mode:DIO, clock div:1
      load:0x3fff8028,len:8
      load:0x3fff8030,len:2156
      ho 0 tail 12 room 4
      load:0x4009fa00,len:19208
      entry 0x400a05f4
      Initializing filesystem as FatFS!

      I found similar issue in ESP32 forum: https://github.com/espressif/esp-idf/issues/7

      Pls help - how to get rid of this using pycom REPL? (I'm not experienced hacker in ESP kernel...). The same module does not give also WIFI access point when powered up.

      1 Reply Last reply Reply Quote 0
      • K Offline
        kjm
        last edited by

        1. Not all flash erasures are created equal, the one that definitely does a full flash erase runs not from Atom but the windows cmd line with Atom closed down. My notes on same herewith:
          Full flash erase using pycom-fwtool-cli (P2 to gnd, press reset button on dev2.0 board)
          cd \Program Files (x86)\Pycom\Pycom Firmware Update
          pycom-fwtool-cli list to get com port eg COM3
          pycom-fwtool-cli.exe -p COM3 erase_all (gives ‘access denied’ if Atom using the port)

        2. Maybe try reflashing with littleFS option in lieu of FatFS?

        1 Reply Last reply Reply Quote 2
        • T Offline
          Tiit
          last edited by

          It really worked! Thank you so much, KJM!
          What I did:
          Connected P2 to GND, pressed reset on Exp Board v3.1. The connection P2 to ground was left on for all the deleting process time.
          Then I did as instructed and result is clean module; reflashed fw as usual with FAT and everything worked and I was able to update NB modem. Also, the previously disappeared wifi at power up was back.

          The problem is associated probably with using adhoc wifi and filezila before I tried to clean the module for another application.

          C:>cd Program Files (x86)

          C:\Program Files (x86)>cd Pycom

          C:\Program Files (x86)\Pycom>cd Pycom Firmware Update

          C:\Program Files (x86)\Pycom\Pycom Firmware Update>
          C:\Program Files (x86)\Pycom\Pycom Firmware Update>pycom-fwtool-cli list
          COM6 [USB Serial Device (COM6)] [USB VID:PID=04D8:EF98 SER=PY7C4EA8 LOCATION=1-1]
          COM3 [Intel(R) Active Management Technology - SOL (COM3)] [PCI\VEN_8086&DEV_A13D&SUBSYS_07D01028&REV_31\3&11583659&0&B3]

          C:\Program Files (x86)\Pycom\Pycom Firmware Update>pycom-fwtool-cli.exe -p COM6 erase_all
          Running in PIC mode
          Erasing the board can take up to 40 seconds.
          Board erased successfully in 11.61 seconds

          C:\Program Files (x86)\Pycom\Pycom Firmware Update>

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom