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

    Brand new board not reading SD card

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    32
    6.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.
    • TimVukmanundefined
      TimVukman
      last edited by

      No go. Router rebooted. Can't connect to the new duet card.
      Can connect to the old duet card no problem

      Oddly enough my panelDue is displaying My Duet when it was displaying Tevo Tarantula earlier. It's not showing on AngryIP now either, so maybe it's signal strength?

      Maybe I'll just shut it all down and give up until tomorrow

      Tomorrow I might swap memory cards between the two printers. I won't turn on the printer, just connect to the board via USB and see if I can see anything different.

      I guess I could move the PanelDue to the other board and see if it reads anything on the card that is currently in it.

      If I'm careful moving things around, I might be able to isolate what is actually working and what is not.

      1 Reply Last reply Reply Quote 0
      • TimVukmanundefined
        TimVukman
        last edited by

        It's a new day here, so let's get this sorted out once and for all.

        I have not turned on this printer yet today.
        I am connected via USB to the main board.
        PanelDue Says My Duet in the top line
        Console Says Connected

        Pronterface connected and printer online
        M552 from Pronterface says wifi module is disabled

        M552 S0 Wifi Module is Started

        M587 shows my network in remembered networks (also shows TNCAP2FCC19 which I know nothing about?)

        M552 S1 show wifi module is connected to correct network with correct IP address.

        AngryIP scanner hit the address in 11ms and returned the network address for the card.

        PanelDue console reflects wifi module started and wifi module connected to access point with correct wifi name and correct ip address.

        This is the document I have been following. What to do next for version 1.19 of the firmware says TODO
        I have been trying to install the latest version of firmware so that it is the same version as my other Duet Card since I can't seem to get past this point.

        I have entered my IP address in the browser and it appears that I am connecting today, but I am not getting the DWF interface screen in my browser. I am not getting an error message saying that it could not connect or that the address is unknown

        [[language]]
        https://duet3d.com/wiki/Getting_connected_to_the_Duet_WiFi
        
        

        Something is different this morning.

        I disconnected and reconnected the USB and when the board booted this time, it automatically went out and connected to the wifi network

        I am also reading Tevo Tarantula in the red bar on the top of the PanelDue.

        The only way for that to change would be that my config.g file was read, because that it where the printer name is defined. If it did not read config.g, the panel would say My Duet.

        Now when I enter M997 S0, from Pronterface, I get an error message that says.
        Error: In-application programming binary "iap4e.bin" not found which is true. That file is not on my memory card.

        The iap files are not listed in the current firmware files on github for version 1.20

        I copied the two files from the version 1.19 firmware on the same page. Is that ok??

        Now I am getting Firmware binary "DuetWifiFirmware.bin" not found when I run M997 S0.

        Obviously I am connecting to the network.
        Obviously I am reading from the memory card.

        M997 S0 reported DuetWifiFirmware.bin not found
        M997 S1 installed successfully?

        I checked the memory card and DuetWifiFirmware was no longer there? I copied it over again.
        M997 S0 still fails
        M122 reports

        [[language]]
        >>> m122
        SENDING:M122
        === Diagnostics ===
        Used output buffers: 1 of 32 (9 max)
        === Platform ===
        RepRapFirmware for Duet WiFi version 1.20 running on Duet WiFi 1.0
        Board ID: 08DGM-95BNL-MGPSJ-6J1DG-3S46N-TKY7W
        Static ram used: 15448
        Dynamic ram used: 98544
        Recycled dynamic ram: 696
        Stack ram used: 3576 current, 4608 maximum
        Never used ram: 11776
        Last reset 00:08:18 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: 12.0MBytes/sec
        SD card longest block write time: 0.0ms
        MCU temperature: min 52.3, current 52.9, max 55.8
        Supply voltage: min 0.4, current 0.5, max 0.7, under voltage events: 0, over voltage events: 0
        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 1757075559
        Slowest main loop (seconds): 0.154149; fastest: 0.000101
        === Move ===
        MaxReps: 0, StepErrors: 0, FreeDm: 240, MinFreeDm 240, MaxWait: 0ms, Underruns: 0, 0
        Scheduled moves: 0, completed moves: 0
        Bed compensation in use: none
        Bed probe heights: 0.000 0.000 0.000 0.000 0.000
        === Heat ===
        Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
        === GCodes ===
        Segments left: 0
        Stack records: 0 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 state is running
        WiFi module is connected to access point
        Failed messages: pending 0, notready 0, noresp 0
        WiFi firmware version 1.20
        WiFi MAC address 2c:3a:e8:0b:07:d2
        WiFi Vcc 3.17, reset reason Turned on by main processor
        WiFi flash size 4194304, free heap 16480
        WiFi IP address 192.168.2.27
        WiFi signal strength -62dBm, reconnections 0, sleep mode modem
        HTTP sessions: 0 of 8
        Socket states:  0 0 0 0 0 0 0 0
        Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
        
        ```Is it just me, or does this seem borderline flakey??????
        1 Reply Last reply Reply Quote 0
        • whosrdaddyundefined
          whosrdaddy
          last edited by

          after a successful firmware update, DuetWifiFirmware.bin will be deleted automatically.
          Are you able to connect to DWC or not?

          1 Reply Last reply Reply Quote 0
          • TimVukmanundefined
            TimVukman
            last edited by

            Thanks for telling me that the file will be deleted.

            So. WDC does not connect

            1 Reply Last reply Reply Quote 0
            • TimVukmanundefined
              TimVukman
              last edited by

              I will be getting a Wifi Extender delivered tomorrow. just because I would like the signal strength to be higher.
              It is clear that the board is connecting to the access point and thus my network.
              I see no reason why the browser I use to connect to the duet wifi in the delta printer won't connect to the duet wifi in my cartesian.
              I'm all ears. I would really appreciate an explanation and a troubleshooting path forward.

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

                -62dbM is rather low. What WiFi signal strength does your other Duet report? Is the Duet in your Cartesian printer shielded by metalwork to a greater extent than the one in your delta?

                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
                • TimVukmanundefined
                  TimVukman
                  last edited by

                  Hi dc42

                  The Duet in the Cartesian is indeed shielded by metalwork. I put the power supply and board and external heat bed driver in an old desktop computer case that I had, with voltage / current meters in the space that used to hold the DVD. It really does look good, but I'd rather it worked properly.

                  It never caused grief with the other card, but I know that all wifi modules are not created equal. I will get rid of the case and see where things stand.

                  My Wifi on the delta with the other Duet card is 59dBm

                  1 Reply Last reply Reply Quote 0
                  • TimVukmanundefined
                    TimVukman
                    last edited by

                    I took the board out of the case for the cartesian printer. The M122 command reports -62dBm. M552 shows the board connected to the correct network and displaying the correct ip address.

                    I suspect that the readings for the signal strength are the same because while I was doing all my prior testing, I did not have the metal cover in place on the computer case. No matter, I am not going to put everything back inside it.

                    I have note yet received the Wifi signal booster.

                    1 Reply Last reply Reply Quote 0
                    • Kozlowundefined
                      Kozlow
                      last edited by

                      Hi,
                      I am new here.
                      I recently purchased a Duet_Ethernet board and I am currently getting it set up.
                      Does the SD card have to be specifically formatted for the Duet?
                      I ask because I tried to copy all my files over to a larger SD card, but I get same symptoms as Tim.
                      Both cards have the same exact files, the original will work perfect, but the replacement won't work.

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

                        The SD card needs to be formatted to the FAT16 or FAT32 format.

                        You can test whether the new card is being recognised by sending M21 from USB or from PanelDue.

                        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
                        • Kozlowundefined
                          Kozlow
                          last edited by

                          I thought you were on to something there, as the new sd card was formatted as exfat. So i formatted to fat32, copied files from original sd card over and pasted to new card and… no dice. Still won't work. M21 shows sd card in slot 0, with 59GBs

                          1 Reply Last reply Reply Quote 0
                          • TimVukmanundefined
                            TimVukman
                            last edited by

                            Hi:

                            Ok, I picked up my Wifi Extender and it is now configured and connected on my Wifi.

                            I have powered up the cartesian.

                            It connects to the Wifi

                            I have a network utility in my Avast antivirus software.
                            IP address 192.168.2.27
                            MAC 2c:3a:e8:0b:07:d2

                            Port 80 HTTP

                            The software idicates that the device is problem free

                            Ping sent 4 lost 0 received 4
                            min 3ms max 82ms avg 42ms

                            Wifi signal strength - 59dBm which is the same as my delta printer reports.

                            My browser connects to the Delta printer with no issues.

                            192.168.2.21
                            I backspace the 1 and type 7
                            Enter
                            Browser does not connect.

                            Suggestions?

                            1 Reply Last reply Reply Quote 0
                            • TimVukmanundefined
                              TimVukman
                              last edited by

                              FOUND IT!!!! IT'S OK NOW

                              I did a comparison between my two memory cards. On the Card that was not working, The directory structure with the folders that is supposed to be in the WWW folder was in the root.

                              I moved the files into the www folder, power cycled the machine and all it well. I am connected.

                              Sorry to waste so much of your time. I even confirmed the directory structure in the wiki and it is clear that the folders are showing in a www directory.

                              Really, I'm actually not this stupid normally.

                              Thanks for your patience!! I will never make that mistake again

                              1 Reply Last reply Reply Quote 1
                              • Kozlowundefined
                                Kozlow
                                last edited by

                                Glad you figured it out TimVukman.
                                I wasn't trying to hijack you thread, I thought maybe our problems were related.
                                I guess not.

                                I figured out my problem as well, maybe this will help someone else.

                                When I formatted to Fat32, there was 16MB of space being left unallocated. That would screw the Duet up and wouldn't read the SD card correctly. It could see it mounted in slot zero, but that is it.

                                What I did to fix the SD card was run DiskPart, select and clean that drive, then create a primary partition.
                                Then formatted to Fat32 and was good to go.

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