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

    Unable to communicate to pybytes app

    Scheduled Pinned Locked Moved GPy
    3 Posts 2 Posters 32 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.
    • D Offline
      Devan Lippman
      last edited by

      Hello,

      Trying to get started with my first GPy here and I'm not sure if I'm using it right. First thing I did was to update the FW with the pycom-fwtool (1.16.5) and then I tried to connect to the REPL in the pymakr extension for Atom. With the device connected I can see the boot message from the device but then I don't see anything beyond this and the console does not appear to be responsive. I'm also unable to upload files.

      ets Jun 8 2016 00:22:57
      
      rst:0x1 (POWERON_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:0x3fff8020,len:8
      load:0x3fff8028,len:2128
      load:0x4009fa00,len:19760
      entry 0x400a05bc
      
      Uploading project (main folder)...
      Safe booting device... (see settings for more info)
      Safe boot failed, uploading anyway.
      Upload failed: timeout. Please reboot your device manually.
      

      Any help with what to try next?

      Thanks,
      Devan

      1 Reply Last reply Reply Quote 0
      • D Offline
        d.alvrzx
        last edited by

        It seems to me that the firmware was not uploaded correctly for some reason, and that's why it's not booting. You could attempt using the cli tool for pycom-fwtool, which is in the same directory as the GUI tool and is called pycom-fwtool-cli. Simply download the firmware version you want from here and flash it using pycom-fwtool-cli.exe -p <your_COM> flash -t <name_of_fw_file_you_downloaded>.

        If that still doesn't work, you might want to erase the board completely first by executing pycom-fwtool-cli.exe -p <your_COM> erase_all. This will erase everything from the board's flash, including the past firmware, and you could then attempt re-flashing it.

        Note: I am not familiar with GPy, only with LoPy4. In the LoPy4, I usually run the smac command on the cli tool before performing erase_all, so that I can restore the LPWAN MAC address in the board afterwards. I think this is only the case for the LoPy4, since the GPy only has the LTE-M modem. Anyways, wouldn't hurt to run a smac command before erase_all, just in case there's any info there. If there's no any info, you should get SMAC=FFFFFFFFFFFFFFFF in response.

        D 1 Reply Last reply Reply Quote 1
        • D Offline
          Devan Lippman @d.alvrzx
          last edited by

          @d-alvrzx this seems to have the application running thanks! smac does not appear to apply to GPy. Won't know more until I get the modem running I guess...

          Thanks again,
          Devan

          1 Reply Last reply Reply Quote 0

          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