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

"Bad reply format version." Not sure how to proceed.

Scheduled Pinned Locked Moved
General Discussion
6
37
2.1k
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.
  • undefined
    itslikeboo
    last edited by 6 Sept 2020, 07:27

    I know it's been discussed but I'm a bit lost. I'm connected up to pronterface. Used the reprap configuration tool for my new delta. Duet 2 Wifi.

    First I selected firmware "3.0 or later (stable)" but couldn't get the DIAG led to turn off. Thought I'd try firmware "2.03 to 2.05" and the DIAG led turned off but I can't get on the network.

    "M587: Failed to retrieve network list
    Error retrieving WiFi status message: bad reply format version"

    Here's the console:

    Connecting...
    ok T0:24.8 /0.0 B:24.9 /0.0
    Printer is now online.
    WiFi reported error: no known networks found
    WiFi module is idle
    WiFi reported error: no known networks found
    WiFi module is idle
    >>> M587
    SENDING:M587
    M587: Failed to retrieve network list
    Error retrieving WiFi status message: bad reply format version
    [ERROR] Error retrieving WiFi status message: bad reply format version
    WiFi module is idle
    WiFi reported error: no known networks found
    WiFi module is idle
    ok T0:24.8 /0.0 B:24.9 /0.0
    WiFi reported error: no known networks found
    WiFi module is idle
    WiFi reported error: no known networks found
    WiFi module is idle
    >>> M587 S"SSID" P"password"
    SENDING:M587 S"SSID" P"password"
    M587: Failed to add SSID to remembered list
    Error retrieving WiFi status message: bad reply format version
    [ERROR] Error retrieving WiFi status message: bad reply format version
    WiFi module is idle
    WiFi reported error: no known networks found
    WiFi module is idle
    ok T0:24.9 /0.0 B:25.0 /0.0
    WiFi reported error: no known networks found
    WiFi module is idle
    WiFi reported error: no known networks found

    And after a M122

    >>> M122
    SENDING:M122
    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 2.03 running on Duet WiFi 1.02 or later
    Board ID: 08DLM-996RU-N8PS4-7J1FG-3S86S-TBABP
    Used output buffers: 1 of 24 (1 max)
    === RTOS ===
    Static ram: 25680
    Dynamic ram: 93088 of which 416 recycled
    Exception stack ram used: 256
    Never used ram: 11632
    Tasks: NETWORK(ready,1304) HEAT(blocked,1328) MAIN(running,3844) IDLE(ready,160)
    Owned mutexes:
    === Platform ===
    Last reset 00:00:08 ago, cause: power up
    Last software reset details not available
    Error status: 0
    [ERROR] Error status: 0
    Free file entries: 10
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 0.0ms, max retries 0
    MCU temperature: min 26.3, current 28.9, max 28.9
    Supply voltage: min 0.1, current 1.0, max 1.0, under voltage events: 0, over voltage events: 0, power good: no
    Driver 0: ok, SG min/max not available
    Driver 1: ok, SG min/max not available
    Driver 2: ok, SG min/max not available
    Driver 3: ok, SG min/max not available
    Driver 4: ok, SG min/max not available
    Date/time: 1970-01-01 00:00:00
    Cache data hit count 13342441
    Slowest loop: 1.08ms; fastest: 0.06ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
    === Move ===
    Hiccups: 0, FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
    Bed compensation in use: none, comp offset 0.000
    === DDARing ===
    Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
    === GCodes ===
    Segments left: 0
    Stack records: 1 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" 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: 1.25ms; fastest: 0.00ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
    HTTP sessions: 0 of 8
    - WiFi -
    Network state is changing mode
    WiFi module is idle
    Failed messages: pending 0, notready 0, noresp 0
    Failed to get WiFi status
    Socket states: 0 0 0 0 0 0 0 0
    Error retrieving WiFi status message: bad reply format version
    [ERROR] Error retrieving WiFi status message: bad reply format version

    Let me know if I can be more helpful.

    1 Reply Last reply Reply Quote 0
    • undefined
      Veti
      last edited by 6 Sept 2020, 07:42

      @itslikeboo said in "Bad reply format version." Not sure how to proceed.:

      RepRapFirmware for Duet 2 WiFi/Ethernet version 2.03 running on Duet WiFi

      your upgrade to 2.05 did not go well. maybe only the wifi firmware got updated

      please see
      https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware

      and redo the upgrade

      undefined 1 Reply Last reply 6 Sept 2020, 16:00 Reply Quote 0
      • undefined
        itslikeboo
        last edited by 6 Sept 2020, 07:47

        Thanks for the reply. I'll give it a go in the morning.

        1 Reply Last reply Reply Quote 0
        • undefined
          itslikeboo @Veti
          last edited by 6 Sept 2020, 16:00

          @Veti So I went through the steps of Fallback procedure 1 and replaced the binary files by wasn't able to issue a M997 S0 command to install the firmware.

          >>> M997 S0
          SENDING:M997 S0
          [ERROR] Can't read from printer (disconnected?) (SerialException): call to ClearCommError failed
          [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)
          [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)
          [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)
          [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)
          [ERROR] Disconnecting after 4 failed writes.
          Disconnected.

          Continued anyway with an M115 and confirms 2.05

          SENDING:M115
          FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.05.1 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2020-02-09b1

          So I ran an M997 S1 to install the WiFi module firmware:

          Upload successful
          

          However I still get "Bad reply format version"

          WiFi reported error: no known networks found
          WiFi module is idle
          >>> M587
          SENDING:M587
          M587: Failed to retrieve network list
          Error retrieving WiFi status message: bad reply format version
          [ERROR] Error retrieving WiFi status message: bad reply format version
          WiFi module is idle
          WiFi reported error: no known networks found
          >>> M587 S"SSID" P"password"
          SENDING:M587 S"SSID" P"password"
          M587: Failed to add SSID to remembered list
          Error retrieving WiFi status message: bad reply format version
          [ERROR] Error retrieving WiFi status message: bad reply format version
          WiFi module is idle
          WiFi reported error: no known networks found

          And a new M122:

          SENDING:M122
          === Diagnostics ===
          RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet WiFi 1.02 or later
          Board ID: 08DLM-996RU-N8PS4-7J1FG-3S86S-TBABP
          Used output buffers: 1 of 24 (1 max)
          === RTOS ===
          Static ram: 25712
          Dynamic ram: 92584 of which 416 recycled
          Exception stack ram used: 288
          Never used ram: 12072
          Tasks: NETWORK(ready,540) HEAT(blocked,1232) MAIN(running,3824) IDLE(ready,160)
          Owned mutexes:
          === Platform ===
          Last reset 00:04:00 ago, cause: software
          Last software reset details not available
          Error status: 0
          [ERROR] Error status: 0
          Free file entries: 10
          SD card 0 detected, interface speed: 20.0MBytes/sec
          SD card longest block write time: 0.0ms, max retries 0
          MCU temperature: min 36.4, current 37.8, max 38.2
          Supply voltage: min 0.6, current 1.6, max 1.7, under voltage events: 0, over voltage events: 0, power good: no
          Driver 0: ok, SG min/max not available
          Driver 1: ok, SG min/max not available
          Driver 2: ok, SG min/max not available
          Driver 3: ok, SG min/max not available
          Driver 4: ok, SG min/max not available
          Date/time: 1970-01-01 00:00:00
          Cache data hit count 449667858
          Slowest loop: 200.82ms; fastest: 0.05ms
          I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
          === Move ===
          Hiccups: 0, FreeDm: 160, MinFreeDm: 160, MaxWait: 0ms
          Bed compensation in use: none, comp offset 0.000
          === DDARing ===
          Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
          === Heat ===
          Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
          === GCodes ===
          Segments left: 0
          Stack records: 1 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" 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: 1293.11ms; fastest: 0.00ms
          Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
          HTTP sessions: 0 of 8
          - WiFi -
          Network state is changing mode
          WiFi module is idle
          Failed messages: pending 0, notready 0, noresp 2
          Failed to get WiFi status
          Socket states: 0 0 0 0 0 0 0 0
          Error retrieving WiFi status message: bad reply format version
          [ERROR] Error retrieving WiFi status message: bad reply format version
          1 Reply Last reply Reply Quote 0
          • undefined
            Veti
            last edited by Veti 9 Jun 2020, 16:12 6 Sept 2020, 16:12

            @itslikeboo said in "Bad reply format version." Not sure how to proceed.:

            So I ran an M997 S1 to install the WiFi module firmware:

            make sure that you are actually uploading the wifi firmware that comes with the 2.0.5.1 release
            just to make sure just place the DuetWiFiServer firmware on the sd card again and upload again

            make sure its named DuetWiFiServer.bin

            undefined 1 Reply Last reply 6 Sept 2020, 16:39 Reply Quote 0
            • undefined
              itslikeboo @Veti
              last edited by 6 Sept 2020, 16:39

              @Veti Just wanted to thank you for helping walk me through this.

              I grabbed the Duet2Firmware-2.05.1.zip file from https://github.com/Duet3D/RepRapFirmware/releases/tag/2.05.1

              Copied the:

              Duet2CombinedFirmware.bin
              DuetWiFiServer.bin
              iap4e.bin

              into the sys directory on the sd card and replaced it into the board. Hooked up and connected to pronterface with the same messages in the console unfortunately.

              1 Reply Last reply Reply Quote 0
              • undefined
                Veti
                last edited by 6 Sept 2020, 16:46

                now run M997 S1 again

                undefined 1 Reply Last reply 6 Sept 2020, 16:56 Reply Quote 0
                • undefined
                  itslikeboo @Veti
                  last edited by 6 Sept 2020, 16:56

                  @Veti same as before

                  >>> M997 S1
                  SENDING:M997 S1
                  WiFi reported error: no known networks found
                  WiFi module is idle
                  Trying to connect at 230400 baud:
                  success
                  Erasing 4096 bytes...
                  Erasing 212992 bytes...
                  Uploading file...
                  5% complete
                  10% complete
                  15% complete
                  20% complete
                  25% complete
                  30% complete
                  35% complete
                  40% complete
                  45% complete
                  50% complete
                  55% complete
                  60% complete
                  65% complete
                  70% complete
                  75% complete
                  80% complete
                  85% complete
                  90% complete
                  95% complete
                  Upload successful
                  WiFi module started
                  ok T0:27.7 /0.0 B:27.1 /0.0
                  WiFi reported error: no known networks found
                  WiFi module is idle
                  WiFi reported error: no known networks found
                  WiFi module is idle
                  WiFi reported error: no known networks found
                  WiFi module is idle
                  >>> M587
                  SENDING:M587
                  M587: Failed to retrieve network list
                  Error retrieving WiFi status message: bad reply format version
                  [ERROR] Error retrieving WiFi status message: bad reply format version
                  WiFi module is idle
                  WiFi reported error: no known networks found
                  WiFi module is idle
                  WiFi reported error: no known networks found

                  I''m still not convinced this isn't pure user error on my end, I just don't know how to diagnose it.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    itslikeboo
                    last edited by 6 Sept 2020, 17:01

                    I did it once more and when I gave the M587 command, it displayed the network. But then when I gave it again, back to the error.

                    SENDING:M587
                    Remembered networks:
                    "SSID"=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
                    WiFi reported error: no known networks found
                    WiFi module is idle
                    WiFi reported error: no known networks found
                    WiFi module is idle
                    WiFi reported error: no known networks found
                    WiFi module is idle
                    >>> M587
                    SENDING:M587
                    M587: Failed to retrieve network list
                    Error retrieving WiFi status message: bad reply format version
                    [ERROR] Error retrieving WiFi status message: bad reply format version
                    WiFi module is idle
                    WiFi reported error: no known networks found
                    WiFi module is idle
                    >>> M587
                    SENDING:M587
                    M587: Failed to retrieve network list
                    Error retrieving WiFi status message: bad reply format version
                    [ERROR] Error retrieving WiFi status message: bad reply format version
                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Veti
                      last edited by 6 Sept 2020, 17:01

                      configure your network again

                      M552 S0
                      M587 S"your ssid" P"your password"
                      M552 S1

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        itslikeboo
                        last edited by 6 Sept 2020, 17:10

                        >>> M552 S0
                        SENDING:M552 S0
                        ok T0:27.4 /0.0 B:27.0 /0.0
                        ok T0:27.4 /0.0 B:27.0 /0.0
                        >>> M587 S"the ssid" P"the password"
                        SENDING:M587 S"the ssid" P"the password"
                        ok T0:27.3 /0.0 B:27.0 /0.0
                        >>> M552 S1
                        SENDING:M552 S1
                        WiFi reported error: no known networks found
                        WiFi module is idle
                        WiFi reported error: no known networks found
                        WiFi module is idle
                        ok T0:27.3 /0.0 B:27.0 /0.0

                        Looks like it goes in and out or something.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Veti
                          last edited by 6 Sept 2020, 17:13

                          just to make sure that its not a problem with the remembered networks

                          send
                          M588 S"*"

                          and do
                          M552 S0
                          M587 S"your ssid" P"your password"
                          M552 S1
                          again.

                          also does your network or password contain any special characters?

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            itslikeboo
                            last edited by 6 Sept 2020, 17:20

                            M588 gives:

                            >>> M588 S"*"
                            SENDING:M588 S"*"
                            M588: Failed to reset the WiFi module to factory settings
                            Error retrieving WiFi status message: bad reply format version
                            [ERROR] Error retrieving WiFi status message: bad reply format version
                            WiFi module is idle
                            WiFi reported error: no known networks found

                            Network name contains a hyphen and underscore.

                            ? 1 Reply Last reply 6 Sept 2020, 17:55 Reply Quote 0
                            • undefined
                              Veti
                              last edited by 6 Sept 2020, 17:26

                              can you temporarily make your wifi network unencrypted and try again?

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                itslikeboo
                                last edited by 6 Sept 2020, 17:37

                                I don't think I'll be able to do that, at least for a little bit. There are some people on the network.

                                I'm not sure why the wifi module won't reset. That command has worked before. When I connect to pronterface and get

                                "ok T0:26.7 /0.0 B:26.7 /0.0"

                                every now and then before jumping back to

                                "WiFi reported error: no known networks found
                                WiFi module is idle"

                                does this indicate a hardware problem?
                                I'm not sure if it's related but this version of the board has the external antenna. Also if it's of any help, when I first configured the board for RepRapFirmware 3, I couldn't get the DIAG pin to turn off. Not sure if it's relevant.

                                undefined 1 Reply Last reply 6 Sept 2020, 17:47 Reply Quote 0
                                • undefined
                                  Veti @itslikeboo
                                  last edited by 6 Sept 2020, 17:47

                                  @itslikeboo said in "Bad reply format version." Not sure how to proceed.:

                                  "ok T0:26.7 /0.0 B:26.7 /0.0"

                                  that is just temperature status.

                                  there is a problem with the wifi has problems connecting to modern routers
                                  https://forum.duet3d.com/topic/18423/the-problem-of-connecting-duetwifi-to-modern-routers/21?_=1599414409200

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    itslikeboo
                                    last edited by 6 Sept 2020, 17:53

                                    Interesting. Well that would suck. I'll try to look into it. Maybe late tonight I'll mess with the network. But wouldn't an M588 S"*" command still work? I've never even connected to the network once.

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User @itslikeboo
                                      last edited by 6 Sept 2020, 17:55

                                      M588: Failed to reset the WiFi module to factory settings

                                      it sometimes helps to reset the wifi module with M552 S-1 M552 S0 before M558 and before M557

                                      undefined 2 Replies Last reply 6 Sept 2020, 18:04 Reply Quote 0
                                      • undefined
                                        itslikeboo @A Former User
                                        last edited by 6 Sept 2020, 18:04

                                        @bearer Ok, thanks, I'll give it a try

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          itslikeboo @A Former User
                                          last edited by 6 Sept 2020, 18:10

                                          @bearer Awesome, well that seemed to do something.

                                          >>> M552 S-1
                                          SENDING:M552 S-1
                                          WiFi module stopped
                                          ok T0:25.1 /0.0 B:25.8 /0.0
                                          >>> M552 S0
                                          SENDING:M552 S0
                                          WiFi module started
                                          ok T0:25.1 /0.0 B:25.8 /0.0
                                          >>> M588 S"*"
                                          SENDING:M588 S"*"
                                          ok T0:25.0 /0.0 B:25.8 /0.0
                                          >>> M587 S"ssid" P"password"
                                          SENDING:M587 S"ssid" P"password"
                                          ok T0:25.0 /0.0 B:25.8 /0.0

                                          I've been here for so long, I'm not sure what to do now.

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