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

    Possible corrupt sd card, G29 Network Error

    Scheduled Pinned Locked Moved
    General Discussion
    3
    28
    1.3k
    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.
    • Dizzwoldundefined
      Dizzwold
      last edited by

      I have the 6HC board running 3.4.4 With RPi 4b SBC and Fysetc toolboard.

      I'm constantly getting G29 Network Errors when running the bed compensation, and sometime scans 2 or 3 times.

      I've been advised by @jay_s_uk , that it could be a corrupt sd card and it may also be a good idea to not use the RPi SBC and use the 6HC in stand alone.

      So I'm not going to use the RPi and use a new 32gb sd card.

      I've copied all the files from the ‘possibly corrupt’ card, then followed the Getting Connected Guide.

      I used Serial Tools to connect to the 6HC, checked for the firmware and it's in place;
      FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.4.4 ELECTRONICS: Duet 3 MB6HC v1.01 FIRMWARE_DATE: 2022-10-20 16:19:01

      I added a fixed Ip address xxx.xxx.x.xx, and checked this;
      Ethernet is enabled, configured IP address: xxx.xxx.x.xx, actual IP address: xxx.xxx.x.xx ok

      I've then gone to my browser and typed in the ip address and get the following;
      Your Duet rejected the HTTP request: page not found Check that the SD card is mounted and has the correct files in its /www folder

      I've disconnected the 6HC, removed the sd card, deleted the contents of the www folder, downloaded a new copy of the DWC files and copied them into the www folder.

      I get the same msg when I type the ip address into my browser. http://duettest.local/, can't connect to server either.

      I'd be grateful for your help.
      Screenshot of sd card contents;
      Screen Shot 2022-10-26 at 14.36.57.png
      Screenshot of sys on sd card;
      Screen Shot 2022-10-26 at 14.37.20.png
      Screenshot of www folder on sd card;
      Screen Shot 2022-10-26 at 14.37.33.png

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @Dizzwold
        last edited by

        @Dizzwold that possibly lokos ok for the www folder.
        You don't need all the other dross in the root though. Just the filaments, firmware, gcodes, macros, menu, sys and www folder

        best to download a fresh copy of DWC and unzip it into the www folder from here https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.4/DuetWebControl-SD.zip

        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

        Dizzwoldundefined 1 Reply Last reply Reply Quote 0
        • Dizzwoldundefined
          Dizzwold @jay_s_uk
          last edited by

          @jay_s_uk

          Okay. Thanks for that.

          The DWC file. That's where I downloaded it from as advised by droftarts in the flashing firmware on mac thread.

          I'll have another go without all the other stuff and a new download of the DWC files.

          Dizzwoldundefined 1 Reply Last reply Reply Quote 0
          • Dizzwoldundefined
            Dizzwold @Dizzwold
            last edited by

            @jay_s_uk

            No Joy. Exactly the same problem?

            Looks Like I'm going to have to try the original card (16gb), that shipped with the board.

            jay_s_ukundefined 1 Reply Last reply Reply Quote 0
            • jay_s_ukundefined
              jay_s_uk @Dizzwold
              last edited by

              @Dizzwold does it even recognize the card? Check the m122 output

              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

              Dizzwoldundefined 1 Reply Last reply Reply Quote 0
              • Dizzwoldundefined
                Dizzwold @jay_s_uk
                last edited by

                @jay_s_uk

                I'll have a look tomorrow. So peed off with it I decided to other things before I threw it against the wall, or something.

                jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                • jay_s_ukundefined
                  jay_s_uk @Dizzwold
                  last edited by

                  @Dizzwold yea, I get that

                  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

                  Dizzwoldundefined 1 Reply Last reply Reply Quote 0
                  • Dizzwoldundefined
                    Dizzwold @jay_s_uk
                    last edited by

                    @jay_s_uk

                    Heres a screen shot showing the setup and browser interface rejection. This is using the New card I've made myself with copying and pasting items over on my Mac computer. I done the same as before and as an example tried to set a static ip address of 192.168.1.70;

                    Screen Shot 2022-10-27 at 07.40.41.png
                    Here is the Serial tools readout;

                    ok 
                    ok 
                    ok 
                    ok 
                    M115
                    FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.4.4 ELECTRONICS: Duet 3 MB6HC v1.01 FIRMWARE_DATE: 2022-10-20 16:19:01
                    ok
                    M122
                    === Diagnostics ===
                    RepRapFirmware for Duet 3 MB6HC version 3.4.4 (2022-10-20 16:19:01) running on Duet 3 MB6HC v1.01 (standalone mode)
                    Board ID: 08DJM-956BA-NA3TJ-6J9DA-3SN6T-9AAYV
                    Used output buffers: 1 of 40 (1 max)
                    === RTOS ===
                    Static ram: 152824
                    Dynamic ram: 95236 of which 0 recycled
                    Never used RAM 102612, free system stack 192 words
                    Tasks: NETWORK(ready,9.0%,548) HEAT(notifyWait,0.0%,374) Move(notifyWait,0.0%,351) CanReceiv(notifyWait,0.0%,943) CanSender(notifyWait,0.0%,335) CanClock(delaying,0.0%,344) TMC(notifyWait,0.0%,103) MAIN(running,81.2%,1273) IDLE(ready,9.8%,30), total 100.0%
                    Owned mutexes: USB(MAIN)
                    === Platform ===
                    Last reset 00:00:32 ago, cause: power up
                    Last software reset at 2022-10-25 22:25, reason: User, GCodes spinning, available RAM 130472, slot 0
                    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task SBC Freestk 0 n/a
                    Error status: 0x00
                    Step timer max interval 129
                    MCU temperature: min 24.7, current 27.3, max 27.4
                    Supply voltage: min 0.1, current 0.2, max 0.2, under voltage events: 0, over voltage events: 0, power good: no
                    12V rail voltage: min 0.1, current 0.2, max 0.3, under voltage events: 0
                    Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
                    Events: 0 queued, 0 completed
                    Driver 0: ok, SG min 0, mspos 0, reads 0, writes 0 timeouts 0
                    Driver 1: ok, SG min 0, mspos 0, reads 0, writes 0 timeouts 0
                    Driver 2: ok, SG min 0, mspos 0, reads 0, writes 0 timeouts 0
                    Driver 3: ok, SG min 0, mspos 0, reads 0, writes 0 timeouts 0
                    Driver 4: ok, SG min 0, mspos 0, reads 0, writes 0 timeouts 0
                    Driver 5: ok, SG min 0, mspos 0, reads 0, writes 0 timeouts 0
                    Date/time: 1970-01-01 00:00:00
                    Slowest loop: 0.13ms; fastest: 0.05ms
                    === Storage ===
                    Free file entries: 10
                    SD card 0 detected, interface speed: 12.5MBytes/sec
                    SD card longest read time 0.0ms, write time 0.0ms, max retries 0
                    === Move ===
                    DMs created 125, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
                    === MainDDARing ===
                    Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                    === AuxDDARing ===
                    Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                    === Heat ===
                    Bed heaters -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
                    === GCodes ===
                    Segments left: 0
                    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
                    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
                    SBC is idle in state(s) 0
                    Daemon is idle in state(s) 0
                    Aux2 is idle in state(s) 0
                    Autopause is idle in state(s) 0
                    Code queue is empty
                    === CAN ===
                    Messages queued 164, received 0, lost 0, boc 0
                    Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 164/0/0
                    Tx timeouts 0,0,163,0,0,0 last cancelled message type 30 dest 127
                    === Network ===
                    Slowest loop: 0.13ms; fastest: 0.00ms
                    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                    HTTP sessions: 0 of 8
                    = Ethernet =
                    State: disabled
                    Error counts: 0 0 0 0 0 0
                    Socket states: 0 0 0 0 0 0 0 0
                    === Multicast handler ===
                    Responder is inactive, messages received 0, responses 0
                    ok
                    M552
                    Ethernet is disabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0
                    ok
                    M552 S1 P192.168.1.70
                    M552
                    Ethernet is disabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0
                    ok
                    M552
                    Ethernet is disabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0
                    ok
                    M552 S1 P192.168.1.70
                    ok
                    Ethernet running, IP address = 192.168.1.70
                    M552
                    Ethernet is enabled, configured IP address: 192.168.1.70, actual IP address: 192.168.1.70
                    ok
                    
                    jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                    • jay_s_ukundefined
                      jay_s_uk @Dizzwold
                      last edited by

                      @Dizzwold hmmm, that looks slightly odd.
                      if you send M39 what do you get?

                      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

                      Dizzwoldundefined 1 Reply Last reply Reply Quote 0
                      • Dizzwoldundefined
                        Dizzwold @jay_s_uk
                        last edited by

                        @jay_s_uk

                        Just cleaned my computers cookies and cache, rebooted, connected the usb to the 6HC then the ethernet, fired up Serial Tools and got the following?
                        Screen Shot 2022-10-27 at 08.49.10.png

                        RepRapFirmware for Duet 3 MB6HC version 3.4.4
                        Warning: Cannot initialise SD card 0: Card is unusable
                        Ethernet is disabled.
                        RepRapFirmware for Duet 3 MB6HC is up and running.
                        M552
                        Ethernet is disabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0
                        ok
                        

                        I'd done nothing the the duet/from my previous post above?

                        Just quit serial tools and re-opened a typed M39;

                        M39
                        Error: M39: No SD card mounted in slot 0
                        ok
                        

                        Disconnected the usb and ethernet from the 6HC closed and restarted serial tools;

                        RepRapFirmware for Duet 3 MB6HC version 3.4.4
                        Warning: Cannot initialise SD card 0: Card is unusable
                        Ethernet is disabled.
                        RepRapFirmware for Duet 3 MB6HC is up and running.
                        M39
                        Error: M39: No SD card mounted in slot 0
                        ok
                        
                        jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                        • jay_s_ukundefined
                          jay_s_uk @Dizzwold
                          last edited by

                          @Dizzwold which is what i suspected that the SD card isn't being read.
                          What is the SD card formatted as? Fat32? exfat? ntfs? etc

                          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

                          Dizzwoldundefined 1 Reply Last reply Reply Quote 0
                          • Dizzwoldundefined
                            Dizzwold @jay_s_uk
                            last edited by

                            @jay_s_uk

                            MS-DOS (Fat 32), As-far-as-I know, that is the Mac equivalent to Fat 32
                            Screen Shot 2022-10-27 at 09.22.47.png

                            jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                            • jay_s_ukundefined
                              jay_s_uk @Dizzwold
                              last edited by

                              @Dizzwold do you have access to a non mac machine?

                              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

                              Dizzwoldundefined 2 Replies Last reply Reply Quote 0
                              • Dizzwoldundefined
                                Dizzwold @jay_s_uk
                                last edited by

                                @jay_s_uk

                                No, Only Raspberry Pi's.

                                jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                • Dizzwoldundefined
                                  Dizzwold @jay_s_uk
                                  last edited by

                                  @jay_s_uk

                                  I still have the original sd card shipped with the 6hc. I've not touched that.

                                  I'll give that a try.

                                  1 Reply Last reply Reply Quote 0
                                  • jay_s_ukundefined
                                    jay_s_uk @Dizzwold
                                    last edited by

                                    @Dizzwold ok, format the SD card using the sd card formatter https://www.sdcard.org/downloads/formatter/sd-memory-card-formatter-for-mac-download/
                                    don't bother loading any files to it. just pop it in the duet and then run M39 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

                                    Dizzwoldundefined 1 Reply Last reply Reply Quote 0
                                    • Dizzwoldundefined
                                      Dizzwold @jay_s_uk
                                      last edited by Dizzwold

                                      @jay_s_uk

                                      The sd card that came with the 6HC does exactly the same. I've not touched this card until ow, so that should be Fat 32???
                                      Screen Shot 2022-10-27 at 09.42.53.png
                                      Original sd card;

                                      RepRapFirmware for Duet 3 MB6HC version 3.4.4
                                      Warning: Cannot initialise SD card 0: Card is unusable
                                      Ethernet is disabled.
                                      RepRapFirmware for Duet 3 MB6HC is up and running.
                                      M552
                                      Ethernet is disabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0
                                      ok
                                      M552 S1 P192.168.1.70
                                      ok
                                      MEthernet running, IP address = 192.168.1.70
                                      552
                                      Ethernet is enabled, configured IP address: 192.168.1.70, actual IP address: 192.168.1.70
                                      ok
                                      M552
                                      Ethernet is enabled, configured IP address: 192.168.1.70, actual IP address: 192.168.1.70
                                      ok
                                      M39
                                      Error: M39: No SD card mounted in slot 0
                                      ok
                                      
                                      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                      • jay_s_ukundefined
                                        jay_s_uk @Dizzwold
                                        last edited by

                                        @Dizzwold in which case looks like a warranty might in order
                                        when and where did you purchase the duet?
                                        hopefully @Phaedrux or maybe @droftarts will authorise

                                        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

                                        Dizzwoldundefined 1 Reply Last reply Reply Quote 0
                                        • Dizzwoldundefined
                                          Dizzwold @jay_s_uk
                                          last edited by Dizzwold

                                          @jay_s_uk

                                          Originally purchased 29/1/21
                                          Replaced 11/2/21 as the original had a broken connector retainer.

                                          I was going to install the board then, but then I had to move house, so nothing has been done until September, except for opening and checking to makes sure there were no broken connectors etc.

                                          Just waiting for the new sd card to be formatted with the link you sent, doing an overwrite....

                                          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                          • jay_s_ukundefined
                                            jay_s_uk @Dizzwold
                                            last edited by

                                            @Dizzwold see what the duet guys say then. in the mean time can you take a high res picture of the sd card socket and the pins that are soldered to the board?

                                            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

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