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

    Firmware update without expansion board

    Scheduled Pinned Locked Moved SiPy
    sipy firmwaresoftwarehelp
    13 Posts 2 Posters 2.4k 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.
    • S Offline
      Sandking
      last edited by

      Thanks,
      do i still need to connect pin 23 to ground before linking the device?
      and what is the reboot procedure ?

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @Sandking
        last edited by

        @sandking For ftp update you do not need to connect G23 (aka GPIO0, aka P2) to GND, for Serial update you have to.
        Reboot is either a power cycle or pushing the reset button.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          Sandking @robert-hh
          last edited by

          @robert-hh I got the appimg.bin file and used the ftp to transfer.
          I did the restart and now there is no wifi connection showing for the Sipy
          Will i need to do a hard reset?
          Or what might have gone wrong?

          robert-hhR 1 Reply Last reply Reply Quote 0
          • robert-hhR Offline
            robert-hh @Sandking
            last edited by

            @sandking Did you push the reset button? That's the brand new start.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              Sandking @robert-hh
              last edited by

              @robert-hh yes i did
              no flashing LED on the board either, but i did have it when i started with this process

              robert-hhR 1 Reply Last reply Reply Quote 0
              • robert-hhR Offline
                robert-hh @Sandking
                last edited by

                @sandking Looks like you need run an USB update then.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  Sandking @robert-hh
                  last edited by

                  @robert-hh i got the expansion board and got the software uploaded
                  now i can get the usb to connect, only the wifi.
                  I am using Atom and i am trying to follow the instructions but clearly i am out of my league today!!
                  I have the pymkr plugin installed on atom
                  How do i change the device address so that i can upload via usb?

                  robert-hhR 1 Reply Last reply Reply Quote 0
                  • robert-hhR Offline
                    robert-hh @Sandking
                    last edited by

                    @sandking Sorry, I'm not using pymakr at all. From the few tests I made I recall, that instead of the IP address you would simply enter the name of the serial port, like /dev/ttyUSB0 on Linux, or COM3 on windows, ..
                    Omn windows it may be difficult to tell, which COM port is used. The windows device manager can tell you.

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      Sandking @robert-hh
                      last edited by

                      @robert-hh my problem was that I could not connect to my internet wifi and the board at the same time
                      I just plugged straight into the router and by passed the problem
                      Now to start learning python and getting to work on the project!!!
                      thanks for all your help

                      robert-hhR 1 Reply Last reply Reply Quote 0
                      • robert-hhR Offline
                        robert-hh @Sandking
                        last edited by

                        @sandking You can set your device to station mode to be just a unit in out network, with a code in main.py or boot.py like:

                        import network
                        import time
                        
                        wlan = network.WLAN(network.STA_IF) # create station interface
                        wlan.active(True)       # activate the interface
                        if not wlan.isconnected():      # check if the station is connected to an AP
                            wlan.connect('your_ap', 'your_ap_password') # connect to an AP
                            for _ in range(10):
                                if wlan.isconnected():      # check if the station is connected to an AP
                                    break
                                print('.', end='')
                                time.sleep(1)
                            else:
                                print("Connect attempt timed out\n")
                                return
                        print('\nnetwork config:', wlan.ifconfig())
                        
                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          Sandking @robert-hh
                          last edited by

                          @robert-hh Thanks for the info
                          I have so much to learn I don't know where to start!!
                          Best would be to find a good micro python training course and starting from scratch

                          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