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

    CAN connectivity: Duet 3 MB6HC to EXP3HC

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    6
    41
    2.6k
    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.
    • kroybalundefined
      kroybal
      last edited by

      My config.g

      ; Axis Definitions====>>>>>
      ; X = Left (on X-axis) Extruder U = Right (on X-axis) Extruder /// Y = Y-Axis /// Z = Z-Axis  
      
      ; ======={ Drives }========================================	
      ; 0.x corresponds to main board /// 20.x corresponds to tooloard-1 /// 21.x corresponds to toolboard-2
      ; X
      M569 P15.0 S1                                   ; physical drive 0.0 goes backwards
      M569 P15.1 S1									; physical drive 0.1 goes backwards
      ; Y
      M569 P0.2 S0                                    ; physical drive 0.2 goes forwards
      M569 P0.3 S1									; physical drive 0.3 goes backwards 
      ; Z
      M569 P0.4 S0                                    ; physical drive 0.4 goes forwards
      M569 P0.5 S0									; physical drive 0.5 goes forwards
      
      ; ======={ Extruders }=====================================
      M569 P0.0 S1                                    ; physical drive 1.0 goes backwards
      M569 P0.1 S1                                    ; physical drive 2.0 goes backwards
      M584 X15.0 Y0.2:0.3 Z0.4:0.5 U15.1 E0.0:0.1     ; set drive mapping
      
      ; ======={ Movement }======================================
      M350 X16 Y16 Z16 U16 E16:16 								; configure microstepping with interpolation ... 1/16 of a step for each motor
      M92 X80.872 Y80.306 Z1609.513 U80.872 E483.57:480.23		; Re-calibrated 1/4/2021
      M566 X12 Y12 Z12 U12 E10:10 P0									; set maximum instantaneous speed changes (mm/min) [JERK CONTROL]
      M203 X8000.00 Y8000.00 Z600.00 U8000.00 E8000:00:8000.00	; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00 U500.00  		 				; set accelerations (mm/s^2)
      M906 X1500 Y1500 Z1500 E1040:1040 U1500 I30					; set motor currents (mA) and motor idle factor in percent
      M84 S20                                         			; Set idle timeout
      
      ; ======={ Axis Limits }===================================
      M208 X0 Y0 Z0 U0 S1                                    		 ; set axis minima
      ;M208 X579 Y437 Z640 U582.165 S0                      	     ; set axis maxima
      M208 X579 Y437 Z640 U582.25 S0                      	     ; set axis maxima //// Update U maximum portionately (<-- subract to move left
      
      ; ======={ Endstops }======================================
      M574 X1 S1 P"!15.io0.in"							;X-Min Homes Left carriage as Endstop index 0
      M574 Y1 S1 P"!io5.in"								;Y-Max Homes Y as endstop index 1
      M574 Z1 S1 P"!io3.in+!io4.in"						;Z-Min Homes Z (bed) as endstop index 2
      M574 U2 S1 P"!15.io1.in"							;U-Max Homes Right carriage as Endstop index 3
      
      ; ======={ Z-Probe }=======================================
      M558 P0 H5 F120 T6000                           ; disable Z probe but set dive height, probe speed and travel speed
      M557 X15:439 Y15:439 S20                        ; define mesh grid
      ;M558 P2 H5 F120 T6000							; enable modulated IR Z probe sensor, dive height, probe speed and travel speed
      
      ; ======={ Heaters }=======================================
      ; Bed>>>
      M308 S0 P"temp0" Y"thermistor" T100000 B4138 A"Bed"		; configure sensor 0 as thermocouple temp0 pin
      M950 H0 C"out1" T0                              		; create bed heater output on out1 and map it to sensor 0
      M307 H0 A66.6 C305.2 D0.3 V24.3 B0              		; enable bang-bang mode for the bed heater and set PWM limit
      M140 H0                                         		; map heated bed to heater 0
      M143 H0 S150                                    		; set temperature limit for heater 0 to 150C
      
      ; Left nozzle>>>
      M308 S1 P"spi.cs0" Y"rtdmax31865" A"PT100 (L)"  ; configure sensor 1 as thermocouple via CS pin spi.cs0
      M950 H1 C"out0" T1                              ; create nozzle heater output on 1.out0 and map it to sensor 1
      M307 H1 A686.8 C198.5 D7.3 S1.00 V24.3 B0		;
      M143 H1 S510									; set temperature limit for heater 1 to 510C
      
      ; Right nozzle>>>
      M308 S2 P"spi.cs1" Y"rtdmax31865" A"PT100 (R)"  ; configure sensor 2 as thermocouple via CS pin spi.cs1
      M950 H2 C"out3" T2                              ; create nozzle heater output on 2.out0 and map it to sensor 2
      M307 H2 A863.7 C280.2 D6.1 S1.00 V24.3 B0
      M143 H2 S510									; set temperature limit for heater 2 to 510C
      
      ; Chamber>>>
      M308 S3 P"temp1" Y"thermistor" T100000 B4138 A"Chamber" ; configure sensor 1 as thermocouple via temp1 pin
      M950 H3 C"out2" T3                              		; create chamber heater output on out2 and map it to sensor 1
      ; ================Summer tuned
      ;M307 H3 A14.2 C66.7 D18.7 V24.3 B0                      ; Summer tuned chamber heater
      ; ================Winter tuned
      M307 H3 A17.8 C79.1 D30.8 V24.3 B0						; winter tuned chamber heater
      M141 H3                                         		; map chamber to heater 1
      M570 H3 S65
      
      ; ======={ Fans }==========================================
      M950 F0 C"out4" Q500                            ; create fan 0 on pin out4 and set its frequency
      M106 P0 S1 H-1                                  ; set fan 0 value. Thermostatic control is turned off
      M950 F1 C"out7" Q500                           ; create fan 1 on pin out7 and set its frequency
      M106 P1 S1 H-1                                 ; set fan 1 value. Thermostatic control is turned off
      
      ; ======={ Tools}==========================================
      ;	Offsetting Tips:
      ;			X: to offset the X and push the layer "west" add to the current value. To push the layer "east" subtract.*** (not verified)
      ;				-When offsetting the X for the right tool (U) you must also add/subtract the same value from the axis maximum located above.
      ;			Y: to offset the Y and push the layer "north" add to the current value. To push the layer "south" subtract. (verified)
      
      
      M563 P0 S"LEFT" D0 H1 							; define tool 0
      G10 P0 X-80 Y-10 Z-0.1 U-80	                    ; set tool 0 axis offsets
      G10 P0 R0 S0
      
      M563 P1 S"RIGHT" D1 X3 H2			              ; define tool 1 --- Map to U to X-Axis
      G10 P1 X502.25 Y-10.57 Z-0.1 U-80                 ; BASELINE set tool 1 axis offsets
      G10 P1 R0 S0
      ;offsets were Y-11.92 X502.20 Dec 30 morning
      
      M563 P2 S"Chamber" H3							; added for Simplify3d compatibility
      G10 P2 R0 S0
      
      ; ========{ Filament Monitoring }==========================
      ;M591 D0.0 P5 C"io1.in" R60:120 E3.0 S1			;Driver 0.0, laser sensor, pinname, Tol. 10-120%, 5.0mm detection, 0=disabled 1=enabled ===== RIGHT EXTRUDER
      ;M591 D0.1 P5 C"io2.in" R1:120 E5.0 S0			;Driver 0.1, laser sensor, pinname, Tol. 10-120%, 5.0mm detection, 0=disabled 1=enabled ===== LEFT EXTRUDER
      
      M591 D0 P5 C"io1.in" R5:400 E5.0 S1
      M591 D1 P5 C"io2.in" R5:400 E5.0 S1
      
      ; ========={ Miscellaneous }===============================
      M575 P1 S1 B57600                               ; enable support for PanelDue
      
      
      1 Reply Last reply Reply Quote 0
      • pkosundefined
        pkos
        last edited by

        Can you post diag (m122) from the main and exp board? I wonder if you encountered what I experienced with that combi.

        Voron 2.4 (Duet 3 6HC + 3HC standalone), Voron SW (Duet 3 mini 5+ standalone), Voron Trident (Duet 3 mini 5+ standalone), Voron 0.1

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

          @kroybal said in CAN connectivity: Duet 3 MB6HC to EXP3HC:

          I have recently swapped out two Toolboard 1LCs, and my tool distribution board for an EXP3HC board. So far it has solved issues with my x-axes losing steps and resulting in monumental layer shifts.

          Have you see this thread https://forum.duet3d.com/topic/20713/duet3-6ch-3ch-expansion-board-missing-steps/151?_=1611221812299 ? In short, we managed to reproduce this type of issue, identified the causes, and fixed them in the unofficial 3.3 beta release that we made available at https://www.dropbox.com/sh/wme9k0z86sytg33/AAAT6wrHp2eeJHK-dYoW1Um4a?dl=0.

          @kroybal said in CAN connectivity: Duet 3 MB6HC to EXP3HC:

          The diag LED did not power on whatsoever, upon pressing the reset key and restarting power dozens of times the light finally sync'd with the mainboard and installed the firmware successfully which was verified with M115 B126 command.

          I have been investigating another instance of this problem today, and identified the cause (crystal oscillator taking a long time to start up, so that the frequency measuring code in the 3.2 release gives up). I have updated the EXP3HC firmware beta at https://www.dropbox.com/sh/wme9k0z86sytg33/AAAT6wrHp2eeJHK-dYoW1Um4a?dl=0. This update resolves the problem on the board that I was testing today.

          Please note, the 3.3beta tool and expansion board firmware will only sync with 3.3beta main board firmware. However, even without connecting a main board running 3.3beta firmware, if the fix in the 3.3beta EXP3HC firmware works on your board then the LED on the 3HC board should start flashing as soon as you apply power.

          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

          kroybalundefined 1 Reply Last reply Reply Quote 1
          • kroybalundefined
            kroybal @pkos
            last edited by

            @pkos

            sure thing

            My Mainboard

            M122 B0
            === Diagnostics ===
            RepRapFirmware for Duet 3 MB6HC version 3.2 running on Duet 3 MB6HC v1.01 or later (standalone mode)
            Board ID: 08DJM-956L2-G43S8-6JKD8-3S06K-9B2GD
            Used output buffers: 3 of 40 (38 max)
            === RTOS ===
            Static ram: 149788
            Dynamic ram: 94800 of which 40 recycled
            Never used RAM 114204, free system stack 120 words
            Tasks: NETWORK(ready,171) ETHERNET(blocked,109) HEAT(blocked,271) CanReceiv(blocked,848) CanSender(blocked,344) CanClock(blocked,352) TMC(blocked,19) MAIN(running,1091) IDLE(ready,19)
            Owned mutexes: HTTP(MAIN)
            === Platform ===
            Last reset 00:50:11 ago, cause: software
            Last software reset at 2021-01-26 12:16, reason: User, GCodes spinning, available RAM 114244, slot 0
            Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
            Error status: 0x00
            Aux0 errors 0,0,0
            Aux1 errors 0,0,0
            MCU temperature: min 44.3, current 44.4, max 44.5
            Supply voltage: min 24.3, current 24.3, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
            12V rail voltage: min 11.0, current 12.4, max 12.8, under voltage events: 0
            Driver 0: position 0, standstill, reads 18998, writes 0 timeouts 0, SG min/max not available
            Driver 1: position 5384, standstill, reads 18998, writes 0 timeouts 0, SG min/max not available
            Driver 2: position 29174, standstill, reads 18998, writes 0 timeouts 0, SG min/max not available
            Driver 3: position 47088, standstill, reads 18999, writes 0 timeouts 0, SG min/max not available
            Driver 4: position 0, standstill, reads 18998, writes 0 timeouts 0, SG min/max not available
            Driver 5: position 0, standstill, reads 18998, writes 0 timeouts 0, SG min/max not available
            Date/time: 2021-01-26 13:07:01
            Slowest loop: 7.73ms; fastest: 0.06ms
            === Storage ===
            Free file entries: 10
            SD card 0 detected, interface speed: 25.0MBytes/sec
            SD card longest read time 2.2ms, write time 1.1ms, max retries 0
            === Move ===
            DMs created 125, maxWait 0ms, bed compensation in use: none, comp offset 0.000
            === MainDDARing ===
            Scheduled moves 19726, completed moves 19726, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
            === AuxDDARing ===
            Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
            === Heat ===
            Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = 3 -1 -1 -1
            Heater 0 is on, I-accum = 0.0
            Heater 2 is on, I-accum = 0.2
            === GCodes ===
            Segments left: 0
            Movement lock held by null
            HTTP is ready with "M122 B0" in state(s) 0
            Telnet is idle in state(s) 0
            File is idle in state(s) 0
            USB is idle 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
            USB is idle 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.
            === Network ===
            Slowest loop: 24.77ms; fastest: 0.02ms
            Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions
            HTTP sessions: 2 of 8

            • Ethernet -
              State: active
              Error counts: 0 0 0 0 0
              Socket states: 5 2 2 2 2 0 0 0
              === Filament sensors ===
              Extruder 0: pos 3.32, errs: frame 1 parity 0 ovrun 8 pol 0 ovdue

            My Expansion board

            M122 B15
            Diagnostics for board 15:
            Duet EXP3HC firmware version 3.2 (2021-01-05)
            Bootloader ID: not available
            Never used RAM 154796, free system stack 154 words
            HEAT 83 CanAsync 94 CanRecv 78 TMC 30 MAIN 323 AIN 257
            Last reset 00:50:15 ago, cause: software
            Last software reset data not available
            Driver 0: position -36704, 80.9 steps/mm, standstill, reads 53420, writes 22 timeouts 0, SG min/max 0/121
            Driver 1: position 57777, 80.9 steps/mm, standstill, reads 53422, writes 22 timeouts 0, SG min/max 0/130
            Driver 2: position 0, 80.0 steps/mm, standstill, reads 53437, writes 11 timeouts 0, SG min/max 0/0
            Moves scheduled 18712, completed 18712, in progress 0, hiccups 0
            No step interrupt scheduled
            VIN: 24.4V, V12: 12.2V
            MCU temperature: min 43.6C, current 43.9C, max 44.1C
            Ticks since heat task active 240, ADC conversions started 3015982, completed 3015980, timed out 0
            Last sensors broadcast 0x00000000 found 0 243 ticks ago, loop time 0
            CAN messages queued 95, send timeouts 0, received 45924, lost 0, free buffers 36

            1 Reply Last reply Reply Quote 0
            • kroybalundefined
              kroybal @dc42
              last edited by

              @dc42 good to hear. I will read that thread after lunch.

              @dc42 said in CAN connectivity: Duet 3 MB6HC to EXP3HC:

              @kroybal said in CAN connectivity: Duet 3 MB6HC to EXP3HC:

              The diag LED did not power on whatsoever, upon pressing the reset key and restarting power dozens of times the light finally sync'd with the mainboard and installed the firmware successfully which was verified with M115 B126 command.

              I have been investigating another instance of this problem today, and identified the cause (crystal oscillator taking a long time to start up, so that the frequency measuring code in the 3.2 release gives up). I have updated the EXP3HC firmware beta at https://www.dropbox.com/sh/wme9k0z86sytg33/AAAT6wrHp2eeJHK-dYoW1Um4a?dl=0. This update resolves the problem on the board that I was testing today.

              Please note, the 3.3beta tool and expansion board firmware will only sync with 3.3beta main board firmware. However, even without connecting a main board running 3.3beta firmware, if the fix in the 3.3beta EXP3HC firmware works on your board then the LED on the 3HC board should start flashing as soon as you apply power.

              You're recommending updating all boards to the 3.3beta?

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

                @kroybal said in CAN connectivity: Duet 3 MB6HC to EXP3HC:

                @dc42 good to hear. I will read that thread after lunch.

                @dc42 said in CAN connectivity: Duet 3 MB6HC to EXP3HC:

                @kroybal said in CAN connectivity: Duet 3 MB6HC to EXP3HC:

                The diag LED did not power on whatsoever, upon pressing the reset key and restarting power dozens of times the light finally sync'd with the mainboard and installed the firmware successfully which was verified with M115 B126 command.

                I have been investigating another instance of this problem today, and identified the cause (crystal oscillator taking a long time to start up, so that the frequency measuring code in the 3.2 release gives up). I have updated the EXP3HC firmware beta at https://www.dropbox.com/sh/wme9k0z86sytg33/AAAT6wrHp2eeJHK-dYoW1Um4a?dl=0. This update resolves the problem on the board that I was testing today.

                Please note, the 3.3beta tool and expansion board firmware will only sync with 3.3beta main board firmware. However, even without connecting a main board running 3.3beta firmware, if the fix in the 3.3beta EXP3HC firmware works on your board then the LED on the 3HC board should start flashing as soon as you apply power.

                You're recommending updating all boards to the 3.3beta?

                Start by just updating just the 3HC board, and test whether after the update the LED on that board always starts flashing as soon as you apply power (but don't expect it to sync with the main board). If it does, upgrade the other boards too.

                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

                kroybalundefined 1 Reply Last reply Reply Quote 0
                • kroybalundefined
                  kroybal @dc42
                  last edited by

                  @dc42 said in CAN connectivity: Duet 3 MB6HC to EXP3HC:

                  Start by just updating just the 3HC board, and test whether after the update the LED on that board always starts flashing as soon as you apply power (but don't expect it to sync with the main board). If it does, upgrade the other boards too.

                  So upon updating EXP3HC to 3.3beta and keeping the MB6HC at 3.2 and resetting the power resulted in the LED not blinking upon startup. Should I move forward with running a full 3.3beta?

                  1 Reply Last reply Reply Quote 0
                  • kroybalundefined
                    kroybal
                    last edited by

                    Running 3.3beta on the EXP3HC and 3.2 on the MB6HC resulted in warning message appearing periodically in the console upon a G28 homing command. Both my x-axis motors and their endstops are connected to the 3HC board.

                    1/26/2021, 1:47:36 PM Warning: Discarded msg src=15 typ=4510 RID=4095 exp 33

                    1/26/2021, 1:47:09 PM Warning: Discarded msg src=15 typ=4510 RID=4095 exp 31

                    Warning: Discarded msg src=15 typ=4510 RID=4095 exp 31

                    1/26/2021, 1:46:54 PM Warning: Discarded msg src=15 typ=4510 RID=4095 exp 28

                    1/26/2021, 1:46:47 PM Warning: Discarded msg src=15 typ=4510 RID=4095 exp 26

                    Warning: Discarded msg src=15 typ=4510 RID=4095 exp 26

                    1/26/2021, 1:46:32 PM Warning: Discarded msg src=15 typ=4510 RID=4095 exp 23

                    1/26/2021, 1:46:26 PM Warning: Discarded msg src=15 typ=4510 RID=4095 exp 21

                    Warning: Discarded msg src=15 typ=4510 RID=4095 exp 21

                    1/26/2021, 1:46:11 PM Warning: Discarded msg src=15 typ=4510 RID=4095 exp 18

                    1/26/2021, 1:45:47 PM Warning: Discarded msg src=15 typ=4510 RID=4095 exp 15

                    Warning: Discarded msg src=15 typ=4510 RID=4095 exp 15

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

                      Those messages are expected because of differences in the CAN protocol between 3.2 and 3.3.

                      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

                      kroybalundefined 1 Reply Last reply Reply Quote 0
                      • kroybalundefined
                        kroybal @dc42
                        last edited by

                        @dc42 Understood, I ended up updating to the 3.3beta firmware on both boards. It still requires a bit of patience to let the boards sync up.

                        jrocklandundefined dc42undefined 2 Replies Last reply Reply Quote 0
                        • jrocklandundefined
                          jrockland @kroybal
                          last edited by

                          @kroybal hmm but why 15 ? If you have just a 6hc+3hc shouldnt it be address to 1 ? Or im missing something here

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

                            @kroybal said in CAN connectivity: Duet 3 MB6HC to EXP3HC:

                            @dc42 Understood, I ended up updating to the 3.3beta firmware on both boards. It still requires a bit of patience to let the boards sync up.

                            How long does it take? If the fix is working then the LED on the expansion board should start flashing as soon as it received power (as evidenced by the other LEDs on the board), but may take about 2 seconds before it settles down to the slow flash indicating CAN sync. If the other LEDs on the expansion board light up immediately power is applied but the status LED still does not flash until many seconds later, then I need to revisit the fix.

                            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

                            kroybalundefined 1 Reply Last reply Reply Quote 0
                            • kroybalundefined
                              kroybal @dc42
                              last edited by kroybal

                              @dc42 Following a full update to 3.3beta seemed to be working at this point. It doesn't light up immediately but it flashes about two seconds later (w.r.t. the other LEDs) overall takes less than 10 seconds to sync with the MB. I cannot complain!

                              Cheers

                              Edit: I should have bit my tongue, I tried another time and the LED failed to turn on all together following power up. It has been about a minute and no light.

                              dc42undefined 1 Reply Last reply Reply Quote 0
                              • kroybalundefined
                                kroybal @jrockland
                                last edited by kroybal

                                @jrockland said in CAN connectivity: Duet 3 MB6HC to EXP3HC:

                                @kroybal hmm but why 15 ? If you have just a 6hc+3hc shouldnt it be address to 1 ? Or im missing something here

                                Addressing is arbitrary right? I certainly do not have tons of boards and channel 1 is free but I found it easiest to just flip them all to on in one motion instead of trying to be precise with flipping one switch.

                                Edit: Not totally arbitrary, but no right or wrong answer as long as its logical

                                jrocklandundefined 1 Reply Last reply Reply Quote 1
                                • kroybalundefined
                                  kroybal
                                  last edited by

                                  Very coarse statistics on my setup suggest about a 1/15 shot at lighting up upon startup, and 2 minutes light-up-and-sync time in the case of a startup failure.

                                  Does this have to do with the crystal oscillators not powering up still or simply waiting for the signal from the boards to be in phase?

                                  1 Reply Last reply Reply Quote 0
                                  • jrocklandundefined
                                    jrockland @kroybal
                                    last edited by

                                    @kroybal not a clue, it is why I was asking. I tough I was wrong doing it 1-2-3...

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

                                      @kroybal said in CAN connectivity: Duet 3 MB6HC to EXP3HC:

                                      @dc42 Following a full update to 3.3beta seemed to be working at this point. It doesn't light up immediately but it flashes about two seconds later (w.r.t. the other LEDs) overall takes less than 10 seconds to sync with the MB. I cannot complain!

                                      Cheers

                                      Edit: I should have bit my tongue, I tried another time and the LED failed to turn on all together following power up. It has been about a minute and no light.

                                      Thanks for the update. I'll continue working on this and provide another update tomorrow.

                                      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
                                      • dc42undefined
                                        dc42 administrators
                                        last edited by dc42

                                        @kroybal, I've put an updated 3.3beta Duet3Firmware-EXP3HC.bin file at https://www.dropbox.com/sh/wme9k0z86sytg33/AAAT6wrHp2eeJHK-dYoW1Um4a?dl=0. Please install it and see whether the delay from power up to when the LED on the 3HC starts flashing is eliminated.

                                        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

                                        kroybalundefined 1 Reply Last reply Reply Quote 1
                                        • kroybalundefined
                                          kroybal @dc42
                                          last edited by

                                          @dc42 I have installed the updated EXP3HC and it seems like the problem is still persisting.

                                          Here is my M122 command for both boards

                                          1/28/2021, 10:01:52 AM === Diagnostics ===

                                          RepRapFirmware for Duet 3 MB6HC version 3.3beta running on Duet 3 MB6HC v1.01 or later (standalone mode)

                                          Board ID: 08DJM-956L2-G43S8-6JKD8-3S06K-9B2GD

                                          Used output buffers: 1 of 40 (13 max)

                                          === RTOS ===

                                          Static ram: 149784

                                          Dynamic ram: 92536 of which 0 recycled

                                          Never used RAM 108352, free system stack 200 words

                                          Tasks: NETWORK(ready,254) ETHERNET(blocked,111) HEAT(blocked,305) CanReceiv(blocked,909) CanSender(blocked,365) CanClock(blocked,334) TMC(blocked,52) MAIN(running,1120) IDLE(ready,20)

                                          Owned mutexes: LwipCore(NETWORK) HTTP(MAIN)

                                          === Platform ===

                                          Last reset 00:00:13 ago, cause: software

                                          Last software reset at 2021-01-28 09:57, reason: User, GCodes spinning, available RAM 108312, slot 2

                                          Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a

                                          Error status: 0x00

                                          Aux0 errors 0,0,0

                                          Aux1 errors 0,0,0

                                          MCU temperature: min 38.6, current 40.3, max 40.5

                                          Supply voltage: min 24.3, current 24.3, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes

                                          12V rail voltage: min 10.8, current 12.6, max 12.8, under voltage events: 0

                                          Driver 0: position 0, standstill, reads 10313, writes 14 timeouts 0, SG min/max 0/0

                                          Driver 1: position 0, standstill, reads 10313, writes 14 timeouts 0, SG min/max 0/0

                                          Driver 2: position 0, standstill, reads 10313, writes 14 timeouts 0, SG min/max 0/0

                                          Driver 3: position 0, standstill, reads 10313, writes 14 timeouts 0, SG min/max 0/0

                                          Driver 4: position 0, standstill, reads 10314, writes 14 timeouts 0, SG min/max 0/0

                                          Driver 5: position 0, standstill, reads 10314, writes 14 timeouts 0, SG min/max 0/0

                                          Date/time: 2021-01-28 10:01:53

                                          Slowest loop: 4.11ms; fastest: 0.05ms

                                          === Storage ===

                                          Free file entries: 10

                                          SD card 0 detected, interface speed: 25.0MBytes/sec

                                          SD card longest read time 2.3ms, write time 0.0ms, max retries 0

                                          === Move ===

                                          DMs created 125, maxWait 0ms, bed compensation in use: none, comp offset 0.000

                                          === MainDDARing ===

                                          Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1

                                          === AuxDDARing ===

                                          Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1

                                          === Heat ===

                                          Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = 3 -1 -1 -1

                                          Heater 0 is on, I-accum = 0.0

                                          === GCodes ===

                                          Segments left: 0

                                          Movement lock held by null

                                          HTTP is ready with "M122 B0" in state(s) 0

                                          Telnet is idle in state(s) 0

                                          File is idle in state(s) 0

                                          USB is idle 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.

                                          === Filament sensors ===

                                          Extruder 0: pos 0.45, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0

                                          Extruder 1: pos 3.66, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0

                                          === CAN ===

                                          Messages queued 74, send timeouts 0, received 20, lost 0, longest wait 1ms for reply type 6018, peak Tx sync delay 493, free buffers 48 (min 47)

                                          === Network ===

                                          Slowest loop: 6.40ms; fastest: 0.02ms

                                          Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions

                                          HTTP sessions: 1 of 8

                                          • Ethernet -

                                          State: active

                                          Error counts: 0 0 1 0 0

                                          Socket states: 5 2 2 2 2 0 0 0

                                          1/28/2021, 10:02:36 AM M122 B15

                                          Diagnostics for board 15:

                                          Duet EXP3HC firmware version 3.3beta (2021-01-28 09:11:08)

                                          Bootloader ID: not available

                                          Never used RAM 155236, free system stack 0 words

                                          Move 160 HEAT 103 CanAsync 72 CanRecv 84 CanClock 74 TMC 64 MAIN 339 AIN 260

                                          Last reset 00:00:13 ago, cause: software

                                          Last software reset data not available

                                          Driver 0: position 0, 80.9 steps/mm, standstill, reads 46408, writes 16 timeouts 0, SG min/max 0/0, steps req 0 done 0

                                          Driver 1: position 0, 80.9 steps/mm, standstill, reads 46410, writes 16 timeouts 0, SG min/max 0/0, steps req 0 done 0

                                          Driver 2: position 0, 80.0 steps/mm, standstill, reads 46419, writes 11 timeouts 0, SG min/max 0/0, steps req 0 done 0

                                          Moves scheduled 0, completed 0, in progress 0, hiccups 0, step errors 0, maxPrep 0, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0

                                          Peak sync jitter 12, peak Rx sync delay 174, resyncs 0, no step interrupt scheduled

                                          VIN: 24.4V, V12: 12.2V

                                          MCU temperature: min 43.6C, current 43.6C, max 43.9C

                                          Ticks since heat task active 90, ADC conversions started 13832, completed 13831, timed out 0

                                          Last sensors broadcast 0x00000000 found 0 94 ticks ago, loop time 0

                                          CAN messages queued 33, send timeouts 0, received 136, lost 0, free buffers 36, min 36, error reg 110067

                                          dup 0, oos 0, bm 0, wbm 0

                                          1 Reply Last reply Reply Quote 0
                                          • kroybalundefined
                                            kroybal
                                            last edited by

                                            One difference I have noticed is that my EXP3HC board flashes without sync now and does not connect to the mainboard whatsoever even after waiting over five minutes at this point.

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