Duet 3 6HC does not Ping



  • Impossible to connect to a duet3 6HC by RJ45, the board doesn't ping.

    My configuration :
    Duet3 6HC + RRF3.0

    I try to connect to the 6HC card by RJ45 cable, the card doesn't ping.
    On the SD card I have the same directories from another card that works :
    filaments
    gcodes
    macros
    sys
    www

    I've tried Static IP and DHCP, same result.
    I erased the firmware and reflashed the firmware with Bossa.

    When switching on, the red LED flashes every second and the RJ45 port LED remains off.

    I connected a Pi4 by SBC, same RJ45 cable, the 6HC card works fine and firmware is OK.

    Does anyone have an idea.



  • @Philippe71 your not by any chance using the same SD card as the PI one supplied are you?


  • administrators

    When you are running in standalone mode and you connect via USB, does M552 confirm that Ethernet is enabled and the board has an IP address?



  • @Dougal1957
    I use an other SDCard, a copy of card working on an other Duet3 6HC



  • I am sorry, I don't know how to connect to the Duet 3 by USB...
    (I used USB only with Bossa to upload firmware)
    How can I connect ?

    On the SDcard, in sys/config.g I have the line : M552 S1 P0.0.0.0
    Do I have to add something ?



  • @Philippe71 said in Duet 3 6HC does not Ping:

    When switching on, the red LED flashes every second and the RJ45 port LED remains off.
    I connected a Pi4 by SBC, same RJ45 cable, the 6HC card works fine and firmware is OK.

    Confused. Pi4 is the SBC. Connection between Pi4/SBC and Duet should be by ribbon cable and not RJ45.

    Please clarify if you are trying to run the board in stand alone mode. Post config.g file from SD on Duet3 6HC.

    If you are trying to run the board with the Pi4 and Duet Software Framework then you should have no SD card with /sys/config.g in Duet3 6HC, and the board will not respond to ping. Network connectivity provided by Pi4.



  • @Philippe71 said in Duet 3 6HC does not Ping:

    I am sorry, I don't know how to connect to the Duet 3 by USB...

    the duet3 should show up as a serial port, connect to it using your prefered terminal or follow the same instructions as for the duet2 range.



  • @bearer
    Sorry for confusing, I try explain better :
    I try to connect a Duet3 by RJ45 as standalone mode.
    The board do not ping.

    Just for checking it is not a problem in my network or in the firmware of the board, I connected a Pi4 with ribbon cable, the Pi4 connect to the duet and I have access to DWC by the network.

    My config.g :
    ;---------------------------------------------------
    ; General preferences
    ;---------------------------------------------------
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"duet3" ; set printer name

    ;---------------------------------------------------
    ; Network
    ;---------------------------------------------------
    ; Network
    M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP
    M586 P0 S1 ; enable HTTP
    M586 P1 S1 ; enable FTP
    M586 P2 S1 R23 ; enable Telnet

    ;---------------------------------------------------
    ; Drives
    ....



  • @Philippe71 said in Duet 3 6HC does not Ping:

    I try to connect a Duet3 by RJ45 as standalone mode.
    The board do not ping.

    Okay, what is the other end of the RJ45 cable connected to?

    To connect by USB to provide dc42 with what he asked for please forllow step 2 through 6 here (it should be pretty much the same for the Duet 3 as for the Duet 2)
    https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7#s5



  • @bearer
    I succesfully connected to the Board by USB (with Repetier host).

    M552
    Return
    Ethernet is disabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0

    I sent :
    M552 P192.168.0.209/24 S1

    Return :
    Ethernet is enabled, configured IP address: 192.168.0.209, actual IP address: 192.168.0.209
    and the board ping now

    when I try to connect to DWC by network :
    47584757-8bcc-4bae-86e2-6f3e4f242636-image.png

    I downloaded and install in /www the version 2.07 of DWC
    Same problem

    To be sure it is not a problem in my config.g, I created on the SCCard a config.g with only this lines :

    ; Configuration file for Duet 3 (firmware version 3)
    ;---------------------------------------------------
    ; General preferences
    ;---------------------------------------------------
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"duet3" ; set printer name

    ;---------------------------------------------------
    ; Network
    M552 P192.168.0.209/24 S1 ; enable network set static IP
    M586 P0 S1 ; enable HTTP

    No ping with this config.g file

    Connecting by USB and sent M552
    Ethernet is disabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0

    Sent command M552 P192.168.0.209/24 S1

    Ethernet running, IP address = 192.168.0.209

    Trying to connect to DWC by network:
    dfde7ea8-6401-486b-8c49-ef8be2c8a48b-image.png

    I'll try one other SDCard...



  • If the problems persist, please run M39 from USB and post the output
    https://duet3d.dozuki.com/Wiki/Gcode#Section_M39_Report_SD_card_information



  • @bearer
    Tried one other SDCard, same problem...

    M39
    return

    Error: No SD card mounted in slot 0 !!

    How can I mount the SDCard ?



  • @Philippe71 said in Duet 3 6HC does not Ping:

    Error: No SD card mounted in slot 0 !!

    Suspected as much, please verify the same error for the other SD card and then maybe @dc42 can chime in.

    (edit @ dc42 does the Duet 3 handle sd cards with multiple partitions if the cards have been used for raspberry pi images as well?)



  • Just for info : Tried to reformat the SDCard with SDFormater (I guess only one partition) then copy all the files : same problem, a M39 give Error : No SD card mounted in slot 0

    This board is a evaluation board bought beginning October 2019, maybe a problem with this board ?



  • @Philippe71 said in Duet 3 6HC does not Ping:

    (I guess only one partition)

    i don't know if that tool "fixes" the partition table. sounds like you're in windows, so you can use disk management to see if there are more than one partition on the card. Hit windows key + X and choose Disk Management and have a look when the card is inserted in the computer ofc.

    (But yes, i suspect there could be a problem with the board, but that is for Duet3d to determine. It wouldn't be related to being an evaluation board, it would just be one of those things in electronics manufacturing ... however lets review the SD cards first)



  • The disk management show only one partition (main partition).
    Thanks for your help


  • administrators

    What size SD card is it, and how is it formatted? It must be formatted as FAT16 or FAT32 for the Duet. Cards larger than 32Gb have to be formatted as EXFAT and can't be used in the Duet, because EXFAT is patented.

    If you change the SD card in the Duet while it is powered, you need to either reset it or send M21 to re-mount the SD card.



  • @Philippe71 said in Duet 3 6HC does not Ping:

    The disk management show only one partition (main partition).

    (just a general suggestion; next time post a screenshot to show us what you see. as shown by dc42s response, there are usually some details to be considered)



  • It is a 16Gb formatted in FAT32

    481955f8-d9b1-4b94-ba54-31f138a685a9-image.png



  • Tried with 3 SDCard (16Gb)

    M21
    Error: Cannot initialise SD card 0: Card is unusable
    M20
    Begin file list
    NONE
    End file list

    Should I buy a new SDCard ?


Log in to reply