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

    3.5.0b1+ Wifi error - SPI timeout

    Scheduled Pinned Locked Moved Unsolved
    Beta Firmware
    8
    39
    1.7k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Can you try flashing back to 1.27 and seeing if this still happens? If so, I think it may be the module.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • OwenDundefined
        OwenD
        last edited by

        @Phaedrux
        Can't rule out a hardware issue I guess.
        Have reverted back to 1.27 and will monitor.
        I did an M122 before and after the change.
        This is the network section. Note the not ready number and lack of IP address.

        === Network ===
        Slowest loop: 29273.09ms; fastest: 100.43ms
        Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
        HTTP sessions: 0 of 8
        = WiFi =
        Network state is active
        WiFi module is connected to access point 
        Failed messages: pending 0, notready 42217, noresp 1
        Failed to get WiFi status
        Socket states: 6 0 0 0 0 0 0 0
        

        After reverting and restart.

        = WiFi =
        Network state is active
        WiFi module is connected to access point 
        Failed messages: pending 0, notready 0, noresp 2
        WiFi firmware version 1.27
        WiFi MAC address bc:dd:c2:89:a0:bb
        WiFi Vcc 3.38, reset reason Power up
        WiFi flash size 4194304, free heap 24848
        WiFi IP address 192.168.1.163
        WiFi signal strength -35dBm, mode 802.11n, reconnections 0, sleep mode modem
        Clock register 00002002
        Socket states: 0 0 0 0 0 0 0 0
        
        
        1 Reply Last reply Reply Quote 0
        • StreetFurnitureAustraliaundefined
          StreetFurnitureAustralia
          last edited by StreetFurnitureAustralia

          Hi, I have also been getting instability issue with the wifi since going to 3.5.0b1.

          The duet will drop off from the network midprint or even not connect at all unless i power it down and then back up.
          336758337_982387923170802_4663616516698769603_n.png

          OwenDundefined 1 Reply Last reply Reply Quote 0
          • OwenDundefined
            OwenD @StreetFurnitureAustralia
            last edited by

            @StreetFurnitureAustralia
            Are you getting the same SPI timeout messages noted in this thread?
            Can you connect via USB and grab the same reports as above?
            My error is quite random and very specific.
            It has not reappeared since rolling the wifi back to 1.27 but it only happened occasionally so I'm not ready to say it's definitely firmware yet.

            StreetFurnitureAustraliaundefined 2 Replies Last reply Reply Quote 0
            • StreetFurnitureAustraliaundefined
              StreetFurnitureAustralia @OwenD
              last edited by

              @OwenD I can't replicate it but when it happens again then I can try and get it.

              1 Reply Last reply Reply Quote 0
              • StreetFurnitureAustraliaundefined
                StreetFurnitureAustralia @OwenD
                last edited by StreetFurnitureAustralia

                @OwenD I'm not in the office but a colleague sent me thisreceived_6062637163802703.mp4

                As you can see its being spammed

                OwenDundefined 1 Reply Last reply Reply Quote 0
                • OwenDundefined
                  OwenD @StreetFurnitureAustralia
                  last edited by

                  @StreetFurnitureAustralia
                  That's the same behaviour
                  Can you try to get the reports as shown above and then roll the wifi back to 1.2.7
                  I haven't had a repeat since rolling back but it's infrequent for me, so I can't be sure it's the firmware

                  StreetFurnitureAustraliaundefined 1 Reply Last reply Reply Quote 0
                  • StreetFurnitureAustraliaundefined
                    StreetFurnitureAustralia @OwenD
                    last edited by StreetFurnitureAustralia

                    @OwenD I will try just never don't this before, is there a way to log this via the duet webinterface and not need to connect a laptop directly?

                    OwenDundefined 1 Reply Last reply Reply Quote 0
                    • OwenDundefined
                      OwenD @StreetFurnitureAustralia
                      last edited by

                      @StreetFurnitureAustralia
                      No, if the wifi module can't connect then the only way to get the info is via a terminal like YAT using the usb connection
                      If you roll back to 1.27 and have no further issues it's at least showing the same results as I'm getting
                      Maybe it's an Aussie only issue?
                      Wifi channel or something related?

                      StreetFurnitureAustraliaundefined 2 Replies Last reply Reply Quote 0
                      • StreetFurnitureAustraliaundefined
                        StreetFurnitureAustralia @OwenD
                        last edited by

                        @OwenD could make sense, This is at my work and we use Unifi wifi gear. How about yourself?

                        Aitorundefined 1 Reply Last reply Reply Quote 0
                        • Aitorundefined
                          Aitor @StreetFurnitureAustralia
                          last edited by

                          Good morning @dc42 ,

                          I would like to share my case in this post, I don't know if it will help.

                          After a while (X), usually the next day, my printer loses connection and I have to reset it to get a new IP address. In addition, it often changes IP addresses, and I have even been given IP addresses that have already been assigned to other Duets.

                          The commands I used to use to establish a connection no longer work:

                          M552 S-1
                          G4 S1
                          M552 S0
                          G4 S1
                          M552 S1
                          

                          To solve this problem, I have had to use the following commands:

                          M552 S-1
                          G4 S1
                          M400
                          M552 S0
                          G4 S1
                          M400
                          M552 S1
                          

                          If I don't perform these steps, sometimes I can't connect the printer. I suppose that these commands cannot be launched during a print to switch from M552 S1 to M552 S2 (although I haven't tried it).

                          Finally, I would like to share the results of M122 and the object model and M540 command, as I think this may be where one of the problems lies:

                          In M122, the MAC address is visible.
                          In the object model and the M540 command, the MAC address is "00:00:00:00:00:00".

                          6/4/2023, 12:19:43	M540
                          MAC: 00:00:00:00:00:00
                          6/4/2023, 12:04:07	M122
                          === Diagnostics ===
                          RepRapFirmware for Duet 2 WiFi/Ethernet version 3.5beta2+ (2023-02-10 11:58:19) running on Duet WiFi 1.02 or later
                          
                          === Network ===
                          Slowest loop: 6.76ms; fastest: 0.00ms
                          Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
                          HTTP sessions: 1 of 8
                          = WiFi =
                          Network state is active
                          WiFi module is connected to access point 
                          Failed messages: pending 0, notready 0, noresp 0
                          WiFi firmware version 2.1beta3
                          WiFi MAC address e8:68:e7:79:5f:a3
                          WiFi Vcc 3.39, reset reason Turned on by main processor
                          WiFi flash size 2097152, free heap 43068
                          WiFi IP address 192.168.1.18
                          WiFi signal strength -54dBm, mode 802.11n, reconnections 0, sleep mode modem
                          Clock register 00002002
                          Socket states: 0 0 0 0 0 0 0 0
                          
                          1 Reply Last reply Reply Quote 0
                          • StreetFurnitureAustraliaundefined
                            StreetFurnitureAustralia @OwenD
                            last edited by

                            @OwenD I couldn't get the info due to time restraints at work but I have rolled it back.

                            StreetFurnitureAustraliaundefined 1 Reply Last reply Reply Quote 0
                            • StreetFurnitureAustraliaundefined
                              StreetFurnitureAustralia @StreetFurnitureAustralia
                              last edited by

                              @OwenD @dc42 reverting back to 1.27 has made the SPI issue disappear for me.

                              OwenDundefined 1 Reply Last reply Reply Quote 0
                              • OwenDundefined
                                OwenD @StreetFurnitureAustralia
                                last edited by

                                @StreetFurnitureAustralia
                                I also did not get any re-occurences with WiFi 1.27
                                I have been running RRF3.5b4 and WifFi version 2.1b4 for several days now with no errors.
                                May be too early to tell but it may be fixed.

                                StreetFurnitureAustraliaundefined 1 Reply Last reply Reply Quote 0
                                • StreetFurnitureAustraliaundefined
                                  StreetFurnitureAustralia @OwenD
                                  last edited by

                                  @OwenD I can't see beta 4 only beta 3.

                                  OwenDundefined 1 Reply Last reply Reply Quote 0
                                  • OwenDundefined
                                    OwenD @StreetFurnitureAustralia
                                    last edited by

                                    @StreetFurnitureAustralia
                                    Typo on my part.
                                    RRF is b3
                                    BAB3A2BA-E7E6-4149-9EBD-4CCA6D67548C.jpeg

                                    StreetFurnitureAustraliaundefined 2 Replies Last reply Reply Quote 0
                                    • StreetFurnitureAustraliaundefined
                                      StreetFurnitureAustralia @OwenD
                                      last edited by

                                      @OwenD ok cheers will give it a try

                                      StreetFurnitureAustraliaundefined 1 Reply Last reply Reply Quote 0
                                      • StreetFurnitureAustraliaundefined
                                        StreetFurnitureAustralia @StreetFurnitureAustralia
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • StreetFurnitureAustraliaundefined
                                          StreetFurnitureAustralia @OwenD
                                          last edited by

                                          @OwenD @dc42 I am still getting the SPI issue on the new firmware and I seem to be able to recreate the issue by going into the Unifi web UI and going to the duet and clicking reconnect that seems to put it into that error state

                                          1 Reply Last reply Reply Quote 0
                                          • RozMarkundefined
                                            RozMark
                                            last edited by

                                            I have the same issue, Duet 2 WiFI v3.5.0-beta.3, Duet WiFi server 2.1beta4 and DWC 3.5.0-beta.3
                                            Currently can't connect to board trough USB, not enough place for straight USB plug, waiting 90 degrees USB plug.
                                            Reseting WiFI (M552 S-1) is hard trough PanelDue because error was spaming PanelDue with popup messages and it's not posible to press Console button when errors poping constantly.
                                            Any news about that error?

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