Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Update fail on very first step!

    Scheduled Pinned Locked Moved
    Firmware installation
    3
    54
    1.9k
    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.
    • dc42undefined
      dc42 administrators @Andy Cohen
      last edited by

      @andy-cohen does it do that every time you try it?

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Are you trying to upload the intact single zip file, or did you extract it first?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Andy Cohenundefined
          Andy Cohen
          last edited by

          @phaedrux I tried to update from the entire zip file. Per your chat message I simply just went to 3.0... and surprise! I'm dead in the water again just like the last time I updated from 2.x to 3. Sigh...
          The web control does not connect.

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            Connect via USB terminal and send M115 and M122 and see what response you get. It's possible the wifi firmware did not flash correctly in which case you would need to reflash it by sending M997 S1.

            Based on the results of those commands we'll be able to make further advice.

            Z-Bot CoreXY Build | Thingiverse Profile

            Andy Cohenundefined 2 Replies Last reply Reply Quote 0
            • Andy Cohenundefined
              Andy Cohen @Phaedrux
              last edited by

              @phaedrux Yeah... well...
              The machine is a tool changer out in the garage so I have to use my laptop.
              Serialtools installs on the Mac side but it won't run!
              I switch over to Windows... YAT won't install.

              1 Reply Last reply Reply Quote 0
              • Andy Cohenundefined
                Andy Cohen @Phaedrux
                last edited by

                @phaedrux OK... had to download SerialTools directly from the dev...
                M115 I get...
                FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.0 ELECTRONICS: Duet WiFi 1.02 or later + DueX5 FIRMWARE_DATE: 2020-01-03b3

                M122 returns nothing

                I tried M997 S1 and I get nothing.

                Andy Cohenundefined 1 Reply Last reply Reply Quote 0
                • Andy Cohenundefined
                  Andy Cohen @Andy Cohen
                  last edited by

                  @andy-cohen So... the port was sucking too much voltage.. attached the PS to the laptop...

                  M122 S1
                  === Diagnostics ===
                  RepRapFirmware for Duet 2 WiFi/Ethernet version 3.0 running on Duet WiFi 1.02 or later + DueX5
                  Board ID: 08DGM-917DA-G4MS8-6JKF0-3SJ6R-K9V79
                  Used output buffers: 10 of 24 (10 max)
                  === RTOS ===
                  Static ram: 30516
                  Dynamic ram: 92616 of which 28 recycled
                  Exception stack ram used: 280
                  Never used ram: 7632
                  Tasks: NETWORK(ready,824) HEAT(blocked,1464) DUEX(suspended,160) MAIN(running,3676) IDLE(ready,156)
                  Owned mutexes:
                  === Platform ===
                  Last reset 00:01:15 ago, cause: power up
                  Last software reset at 2022-08-26 09:39, reason: User, spinning module GCodes, available RAM 7612 bytes (slot 2)
                  Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
                  Error status: 0
                  Free file entries: 9
                  SD card 0 detected, interface speed: 20.0MBytes/sec
                  SD card longest block write time: 0.0ms, max retries 0
                  MCU temperature: min 26.6, current 31.3, max 31.6
                  Supply voltage: min 24.1, current 24.2, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
                  Driver 0: standstill, SG min/max not available
                  Driver 1: standstill, SG min/max not available
                  Driver 2: standstill, SG min/max not available
                  Driver 3: standstill, SG min/max not available
                  Driver 4: standstill, SG min/max not available
                  Driver 5: standstill, SG min/max not available
                  Driver 6: standstill, SG min/max not available
                  Driver 7: standstill, SG min/max not available
                  Driver 8: standstill, SG min/max not available
                  Driver 9: standstill, SG min/max not available
                  Date/time: 1970-01-01 00:00:00
                  Cache data hit count 193604767
                  Slowest loop: 2.61ms; fastest: 0.09ms
                  I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                  === Move ===
                  Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
                  Bed compensation in use: none, comp offset 0.000
                  === MainDDARing ===
                  Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                  === AuxDDARing ===
                  Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                  === Heat ===
                  Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
                  === GCodes ===
                  Segments left: 0
                  Stack records: 2 allocated, 0 in use
                  Movement lock held by null
                  http is idle in state(s) 0
                  telnet is idle in state(s) 0
                  file is idle in state(s) 0
                  serial is ready with "M122 S1" in state(s) 0
                  aux is idle in state(s) 0
                  daemon is idle in state(s) 0
                  queue is idle in state(s) 0
                  autopause is idle in state(s) 0
                  Code queue is empty.
                  === Network ===
                  Slowest loop: 15.68ms; fastest: 0.00ms
                  Responder states: HTTP(2) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
                  HTTP sessions: 0 of 8

                  • WiFi -
                    Network state is running
                    WiFi module is connected to access point
                    Failed messages: pending 0, notready 0, noresp 0
                    WiFi firmware version 1.23
                    WiFi MAC address ec:fa:bc:2d:df:6e
                    WiFi Vcc 3.48, reset reason Turned on by main processor
                    WiFi flash size 4194304, free heap 21112
                    WiFi IP address 192.168.1.85
                    WiFi signal strength -51dBm, reconnections 0, sleep mode modem
                    Socket states: 2 0 0 0 0 0 0 0
                    ok
                  Andy Cohenundefined 1 Reply Last reply Reply Quote 0
                  • Andy Cohenundefined
                    Andy Cohen @Andy Cohen
                    last edited by

                    @andy-cohen and...
                    now I can connect via wifi!
                    Whats up with that??

                    Andy Cohenundefined 1 Reply Last reply Reply Quote 0
                    • Andy Cohenundefined
                      Andy Cohen @Andy Cohen
                      last edited by

                      @andy-cohen but it keeps disconnecting. Sigh..

                      1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator
                        last edited by

                        When you're able to connect to DWC can you now upload the zip file for 3.3?

                        If 3.3 works, then do 3.4.1.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        Andy Cohenundefined 1 Reply Last reply Reply Quote 0
                        • Andy Cohenundefined
                          Andy Cohen @Phaedrux
                          last edited by

                          @phaedrux The connection is not reliable enough. No idea whats going on here.

                          Andy Cohenundefined 2 Replies Last reply Reply Quote 0
                          • Andy Cohenundefined
                            Andy Cohen @Andy Cohen
                            last edited by

                            @andy-cohen Now it won't connect at all. Its not my wifi signal. I can connect other things just fine.

                            1 Reply Last reply Reply Quote 0
                            • Andy Cohenundefined
                              Andy Cohen @Andy Cohen
                              last edited by

                              @andy-cohen The terminal connection is flakey as well. It is random as to whether or not it works.

                              1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator
                                last edited by

                                Is it connected to VIN at the same time as USB?
                                Do you have other things connected at the same time?
                                When it loses connection do the lights on the board change as well?
                                Is it losing power entirely or just dropping wifi?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                Andy Cohenundefined 1 Reply Last reply Reply Quote 0
                                • Andy Cohenundefined
                                  Andy Cohen @Phaedrux
                                  last edited by

                                  @phaedrux The lights stay on. Only USB then only wifi(with cable disconnected). Both act flakey. Not losing power at all as far as I can see.

                                  1 Reply Last reply Reply Quote 0
                                  • Phaedruxundefined
                                    Phaedrux Moderator
                                    last edited by

                                    With everything else disconnected connect via USB and send M997 to reflash both firmware. You can then send M552 S1 to enable the wifi module and it should connect. See if that makes an improvement.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    Andy Cohenundefined 1 Reply Last reply Reply Quote 0
                                    • Andy Cohenundefined
                                      Andy Cohen @Phaedrux
                                      last edited by

                                      @phaedrux said in Update fail on very first step!:

                                      M997

                                      SO... on the M997, shouldn't it return OK afterward? It doesn't.

                                      Andy Cohenundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                                      • Andy Cohenundefined
                                        Andy Cohen @Andy Cohen
                                        last edited by

                                        @andy-cohen No change. I can't get it to connect wifi at all now.

                                        1 Reply Last reply Reply Quote 0
                                        • Phaedruxundefined
                                          Phaedrux Moderator @Andy Cohen
                                          last edited by

                                          @andy-cohen said in Update fail on very first step!:

                                          @phaedrux said in Update fail on very first step!:

                                          M997

                                          SO... on the M997, shouldn't it return OK afterward? It doesn't.

                                          I'm not familiar with serial tools so I don't know what it would return there, but on YAT it should give you some indication that the firmware is being flashed.

                                          @andy-cohen said in Update fail on very first step!:

                                          @andy-cohen No change. I can't get it to connect wifi at all now.

                                          Does the module have a blue light showing?

                                          If you send these commands what does it return?

                                          M552 S-1
                                          M552 S0
                                          M552 S1

                                          Is there no chance you could use YAT?

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          Andy Cohenundefined 1 Reply Last reply Reply Quote 0
                                          • Andy Cohenundefined
                                            Andy Cohen @Phaedrux
                                            last edited by

                                            @phaedrux Yeah... they worked...
                                            and the router changed the IP address! I looked in the router map too and could not find the Duet.
                                            So it connects, but then the connection is immediately interrupted and it tries to reconnect.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA