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

    upgrade fw of duet 2 caused loss of wifi

    Scheduled Pinned Locked Moved Solved
    General Discussion
    4
    5
    182
    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.
    • JustSumDadundefined
      JustSumDad
      last edited by JustSumDad

      Hi, been a while since I upgraded firmware as I was afraid I would have to go thru the whole setup again...
      So I finally bit the bullet and jumped from 3.01 to 3.51 today... kinda wish I didn't

      so... help 🙂 note - there is an asterisk symbol in the M588 command but its being stripped out by the forum -

      At this point I am at a loss... I am putting the complete response to M122 at the end here-
      Anyhow, as soon as I said yes to the upgrade in the web interface, it never came back...
      I finally got back in via putty and a usb connection...
      cant get wifi up tho...
      Most attempts to make adjustments to the wifi result in "another spi transfer is pending:

      RepRapFirmware for Duet 2 WiFi/Ethernet version 3.5.1
      Executing config.g... Error: M667 is no longer supported - use M669 instead
      HTTP is enabled on port 80
      FTP is disabled
      TELNET is disabled
      Warning: Heater 0 predicted maximum temperature at full power is 321°C
      Warning: Heater 0 predicted maximum temperature at full
      M588 S""
      Error: M588: use M552 to abandon the current connection attempt before using this command
      ok
      M552 S-1
      WiFi module stopped
      ok
      M552 S0
      ok
      M588 S"
      "
      Error: M588: Failed to reset the WiFi module to factory settings: another SPI transfer is pending
      ok

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 WiFi/Ethernet version 3.5.1 (2024-04-19 14:40:46) running on Duet WiFi 1.02 or later
      Board ID: 08DGM-95BNL-MGPSJ-6J1D2-3SD6T-9JZMW
      Used output buffers: 1 of 26 (11 max)
      Error in macro line 11 while starting up: M667 is no longer supported - use M669 instead
      === RTOS ===
      Static ram: 23256
      Dynamic ram: 72760 of which 220 recycled
      Never used RAM 14052, free system stack 194 words
      Tasks: NETWORK(1,ready,7.2%,519) HEAT(3,nWait 5,0.0%,328) Move(4,nWait 5,0.0%,359) MAIN(1,running,92.7%,514) IDLE(0,ready,0.0%,29), total 100.0%
      Owned mutexes: USB(MAIN)
      === Platform ===
      Last reset 00:05:06 ago, cause: power up
      Last software reset details not available
      Error status: 0x00
      MCU temperature: min 22.6, current 22.8, max 23.1
      Supply voltage: min 0.5, current 0.5, max 0.6, under voltage events: 0, over voltage events: 0, power good: no
      Heap OK, handles allocated/used 99/2, heap memory allocated/used/recyclable 2048/60/0, gc cycles 0
      Events: 0 queued, 0 completed
      Driver 0: ok, SG min n/a
      Driver 1: ok, SG min n/a
      Driver 2: ok, SG min n/a
      Driver 3: ok, SG min n/a
      Driver 4: ok, SG min n/a
      Driver 5:
      Driver 6:
      Driver 7:
      Driver 8:
      Driver 9:
      Driver 10:
      Driver 11:
      Date/time: 1970-01-01 00:00:00
      Cache data hit count 4294967295
      Slowest loop: 4.45ms; fastest: 0.14ms
      I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
      === Storage ===
      Free file entries: 10
      SD card 0 detected, interface speed: 20.0MBytes/sec
      SD card longest read time 0.6ms, write time 0.0ms, max retries 0
      === Move ===
      DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, height map offset 0.000, max steps late 0, min interval 0, bad calcs 0, ebfmin 0.00, ebfmax 0.00
      no step interrupt scheduled
      Moves shaped first try 0, on retry 0, too short 0, wrong shape 0, maybepossible 0
      === DDARing 0 ===
      Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
      Heater 1 is on, I-accum = 0.0
      === GCodes ===
      Movement locks held by null
      HTTP is idle in state(s) 0
      Telnet is idle in state(s) 0
      File is idle in state(s) 0
      USB is ready with "M122" in state(s) 0
      Aux is idle in state(s) 0
      Trigger is idle in state(s) 0
      Queue is idle in state(s) 0
      LCD is idle in state(s) 0
      Daemon is idle in state(s) 0
      Autopause is idle in state(s) 0
      Q0 segments left 0
      Code queue 0 is empty
      === Network ===
      Slowest loop: 0.29ms; fastest: 0.00ms
      Responder states: HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
      HTTP sessions: 0 of 8
      === WiFi ===
      Interface state: starting2
      Module is disabled
      Failed messages: pending 0, notrdy 1, noresp 0
      Socket states: 0 0 0 0 0 0 0 0
      ok

      jay_s_ukundefined droftartsundefined 2 Replies Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @JustSumDad
        last edited by

        @JustSumDad best to reflash the wifi firmware using M997 S1.
        That should get the wifi working again

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        1 Reply Last reply Reply Quote 0
        • droftartsundefined
          droftarts administrators @JustSumDad
          last edited by

          @JustSumGuy Sounds like a failed WiFi firmware update, and can happen. If you can connect via USB, check where the WiFi firmware file "DuetWiFiServer.bin" is located on the SD card. If you jumped straight from 3.01 to 3.51, it'll be in the /sys folder, whereas 3.51 expects it in the /firmware folder (saves having lots of firmware files in your sys folder). So send:

          M997 S1 P"0:/sys/DuetWiFiServer.bin"
          

          When you can access DWC, the next time you upload a firmware update, RRF will create the firmware folder and put any further firmware updates in that.

          See https://docs.duet3d.com/User_manual/RepRapFirmware/Updating_firmware#file-locations-on-the-duet-sd-card

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

          JustSumDadundefined 1 Reply Last reply Reply Quote 0
          • Mr.Crispinundefined
            Mr.Crispin
            last edited by

            Sounds very similar to my recent issue

            1 Reply Last reply Reply Quote 0
            • JustSumDadundefined
              JustSumDad @droftarts
              last edited by

              @droftarts said in upgrade fw of duet 2 caused loss of wifi:

              M997 S1 P"0:/sys/DuetWiFiServer.bin"

              THANK YOU!!

              That has me back to web control... now onto leaning what to do next 🙂

              1 Reply Last reply Reply Quote 0
              • JustSumDadundefined JustSumDad marked this topic as a question
              • JustSumDadundefined JustSumDad has marked this topic as solved
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA