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

    PanelDue SD card not working

    Scheduled Pinned Locked Moved
    PanelDue
    4
    13
    1.4k
    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.
    • Edumaundefined
      Eduma
      last edited by Eduma

      Connected a PanelDue 5i to DuetWifi via 10 pin ribbon and it will not read from the PanelDue SD card. From the display, card 1 does not show any file. If I try to view the SD card from the web interface, it shows it as unmounted. If I select it, it tries to mount the drive and then I receive "M21: cannot initialise SD card 1: card unusable".

      Has anyone run into this? I'm running PanelDue firmware 1.21.4

      1 Reply Last reply Reply Quote 0
      • elmoretundefined
        elmoret
        last edited by

        Is the 10 pin cable running over anything that would produce electromagnetic interference? Try re-routing the cable.

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators
          last edited by

          The PanelDue firmware version doesn't matter, because the SD card on the PanelDue display is connected directly to the Duet via the ribbon cable.

          How long is the ribbon cable? Can you read the SD card in a PC, and if so, what is its capacity and what disk format is it using?

          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
          • Edumaundefined
            Eduma
            last edited by

            Ribbon cable is 50cm long. SD card reads in PC. I place gcode file in root and in a "gcodes" folder.

            4gb, fat32

            1 Reply Last reply Reply Quote 0
            • elmoretundefined
              elmoret
              last edited by

              50cm is pretty long, much over 30cm doesn't work well due to signal issues.

              1 Reply Last reply Reply Quote 1
              • Edumaundefined
                Eduma
                last edited by

                I thought I read that a 40cm and 80cm were tested. With 40cm working and 80cm not? Is this the typical response if the ribbon cable is too long?

                dc42undefined 1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators @Eduma
                  last edited by

                  @eduma said in PanelDue SD card not working:

                  I thought I read that a 40cm and 80cm were tested. With 40cm working and 80cm not? Is this the typical response if the ribbon cable is too long?

                  Yes, it the cable is too long then the SPI signals don't get through without being corrupted and the card can't be read. Not all ribbon cables are the same, and some allow longer runs than others.

                  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

                  Edumaundefined 1 Reply Last reply Reply Quote 0
                  • Edumaundefined
                    Eduma @dc42
                    last edited by

                    @dc42

                    I appreciate the prompt response. I'll have to try a larger gauge cable or look into a break out board that I can mount closer to the controller.

                    1 Reply Last reply Reply Quote 0
                    • Edumaundefined
                      Eduma
                      last edited by

                      I went ahead an built a custom cable using 24 gauge wire and still receive the same error. Does anyone have any other thoughts. Or is an SD card breakout board my only option. Unfortunately i can't move the display any closer to the controller.

                      1 Reply Last reply Reply Quote 0
                      • elmoretundefined
                        elmoret
                        last edited by

                        Its not the thickness of the wire, it is interference, both from the signals in the wires themselves, and external sources.

                        Minimizing those will help you, but may not guarantee success.

                        dc42undefined 1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators @elmoret
                          last edited by

                          And the capacitance too.

                          I suggest you try it with a much shorter cable, to confirm that the SD card and socket are working.

                          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
                          • DennisHallundefined
                            DennisHall
                            last edited by

                            I have this same issue using the Duet3D supplied ribbon cable.
                            In my case, the SD Card in my 7 inch PanelDue is not recognized - ie. I don't even have a visual indicator on the LCD that there is an SD Card reader installed.

                            Could this be due to my firmware version 2.01(RTOS) (2018-07-26b2)?
                            I have the PanelDue connected up correctly and everything works fine except the SD Card not being seen at all.

                            One Note, I also only see (what looks like) 8-bit colors and the screen resolution is very low (very pixelated).

                            If I run the board and LCD off my proven PSU with nothing else connected, the symptoms don't change.

                            Any ideas what could be the issues?

                            1 Reply Last reply Reply Quote 0
                            • dc42undefined
                              dc42 administrators
                              last edited by

                              Firmware 2.01 should be able to access the second SD card. To access it you need to mount it, either explicitly by sending M21 P1 or implicitly by changing to the second SD card in the DWC or PanelDue file list page.

                              Bad colours on a 7 inch non-integrated PanelDue usually mean that the firmware for a 5" screen or an integrated 7 inch screen has been installed. Recent versions of PanelDue firmware have red, green and blue colour gradients on the Setup page, to help you check that the colours are correct.

                              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
                              • First post
                                Last post
                              Unless otherwise noted, all forum content is licensed under CC-BY-SA