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

    Expansion boards not working on 3.4b7?

    Scheduled Pinned Locked Moved
    Beta Firmware
    4
    35
    1.7k
    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.
    • theolodianundefined
      theolodian @dc42
      last edited by theolodian

      @dc42 I get the same results. All 3 boards.

      Here are the contents of the firmware folder on the SSD drive for the RPi

      b3349794-32e5-43bd-892e-df5bf0e41537-image.png

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

        @theolodian I see the problem. The same issue that's preventing drives being configured prevented RRF automatically updating the firmware when you uploaded the new file. Send M997 B1 to force it to update manually.

        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

        theolodianundefined 1 Reply Last reply Reply Quote 0
        • theolodianundefined
          theolodian @dc42
          last edited by theolodian

          @dc42 That's how I've been trying to update them...

          1/5/2022, 2:11:29 PM	m122 b1
          Diagnostics for board 1:
          Duet EXP3HC firmware version 3.4.0beta7 (2021-12-16 12:24:41)
          Bootloader ID: SAME5x bootloader version 2.3 (2021-01-26b1)
          Never used RAM 158944, free system stack 4400 words
          Tasks: Move(notifyWait,0.0%,160) HEAT(notifyWait,0.0%,108) CanAsync(notifyWait,0.0%,69) CanRecv(notifyWait,0.0%,82) CanClock(notifyWait,0.0%,71) TMC(notifyWait,7.4%,99) MAIN(running,91.2%,410) IDLE(ready,0.0%,39) AIN(delaying,1.4%,263), total 100.0%
          Last reset 00:00:08 ago, cause: software
          Last software reset at 2021-11-23 12:29, reason: HardFault, available RAM 158816, slot 0
          Software reset code 0x0060 HFSR 0x40000000 CFSR 0x00000001 ICSR 0x00489803 BFAR 0xe000ed38 SP 0x20003360 Task MAIN Freestk 519 ok
          Stack: 00000000 00000000 20001060 00000000 00000000 000265f3 ffe1d614 61000000 4344ec4f fffc0000 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
          Driver 0: pos 0, 80.0 steps/mm,standstill, SG min 0, mspos 8, reads 32339, writes 11 timeouts 0, steps req 0 done 0
          Driver 1: pos 0, 80.0 steps/mm,standstill, SG min 0, mspos 8, reads 32340, writes 11 timeouts 0, steps req 0 done 0
          Driver 2: pos 0, 80.0 steps/mm,standstill, SG min 0, mspos 8, reads 32340, writes 11 timeouts 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 -4/1, peak Rx sync delay 174, resyncs 0/0, no step interrupt scheduled
          VIN voltage: min 24.3, current 24.3, max 24.3
          V12 voltage: min 12.2, current 12.2, max 12.2
          MCU temperature: min 36.1C, current 36.1C, max 36.6C
          Last sensors broadcast 0x00000000 found 0 167 ticks ago, 0 ordering errs, loop time 0
          CAN messages queued 98, send timeouts 0, received 50, lost 0, free buffers 37, min 37, error reg 0
          dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0
          1/5/2022, 2:11:07 PM	m997 b1
          Board 1 starting firmware update
          
          dc42undefined 1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators @theolodian
            last edited by

            @theolodian in that case, power up with all the address switches on one 3HC board in the off position. That will force it to update the firmware and the board should appear at address 126. Then power down and set the address switches to the previous value.

            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

            theolodianundefined 1 Reply Last reply Reply Quote 0
            • theolodianundefined
              theolodian @dc42
              last edited by

              @dc42

              1/5/2022, 2:15:43 PM	m122 b1
              Diagnostics for board 1:
              Duet EXP3HC firmware version 3.4.0beta7 (2021-12-16 12:24:41)
              Bootloader ID: SAME5x bootloader version 2.3 (2021-01-26b1)
              Never used RAM 158944, free system stack 4400 words
              Tasks: Move(notifyWait,0.0%,160) HEAT(notifyWait,0.0%,108) CanAsync(notifyWait,0.0%,69) CanRecv(notifyWait,0.0%,82) CanClock(notifyWait,0.0%,71) TMC(notifyWait,7.4%,99) MAIN(running,91.2%,442) IDLE(ready,0.0%,39) AIN(delaying,1.4%,263), total 100.0%
              Last reset 00:00:08 ago, cause: power up
              Last software reset at 2021-11-23 12:29, reason: HardFault, available RAM 158816, slot 0
              Software reset code 0x0060 HFSR 0x40000000 CFSR 0x00000001 ICSR 0x00489803 BFAR 0xe000ed38 SP 0x20003360 Task MAIN Freestk 519 ok
              Stack: 00000000 00000000 20001060 00000000 00000000 000265f3 ffe1d614 61000000 4344ec4f fffc0000 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
              Driver 0: pos 0, 80.0 steps/mm,standstill, SG min 0, mspos 8, reads 33180, writes 11 timeouts 0, steps req 0 done 0
              Driver 1: pos 0, 80.0 steps/mm,standstill, SG min 0, mspos 8, reads 33181, writes 11 timeouts 0, steps req 0 done 0
              Driver 2: pos 0, 80.0 steps/mm,standstill, SG min 0, mspos 8, reads 33182, writes 11 timeouts 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 -11/-2, peak Rx sync delay 174, resyncs 0/0, no step interrupt scheduled
              VIN voltage: min 24.2, current 24.3, max 24.3
              V12 voltage: min 12.2, current 12.2, max 12.2
              MCU temperature: min 36.8C, current 37.2C, max 37.6C
              Last sensors broadcast 0x00000000 found 0 136 ticks ago, 0 ordering errs, loop time 0
              CAN messages queued 101, send timeouts 0, received 52, lost 0, free buffers 37, min 37, error reg 0
              dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0
              
              1/5/2022, 2:15:29 PM	Warning: 12V under-voltage event (9.5V)
              
              1/5/2022, 2:15:09 PM	m122 b126
              
              Diagnostics for board 126:
              Duet EXP3HC firmware version 3.4.0beta7 (2021-12-16 12:24:41)
              Bootloader ID: SAME5x bootloader version 2.3 (2021-01-26b1)
              Never used RAM 158944, free system stack 4400 words
              Tasks: Move(notifyWait,0.0%,160) HEAT(notifyWait,0.0%,108) CanAsync(notifyWait,0.0%,69) CanRecv(notifyWait,0.0%,82) CanClock(notifyWait,0.0%,71) TMC(notifyWait,7.4%,99) MAIN(running,91.2%,400) IDLE(ready,0.0%,39) AIN(delaying,1.3%,263), total 100.0%
              Last reset 00:01:24 ago, cause: software
              Last software reset at 2021-11-23 12:29, reason: HardFault, available RAM 158816, slot 0
              Software reset code 0x0060 HFSR 0x40000000 CFSR 0x00000001 ICSR 0x00489803 BFAR 0xe000ed38 SP 0x20003360 Task MAIN Freestk 519 ok
              Stack: 00000000 00000000 20001060 00000000 00000000 000265f3 ffe1d614 61000000 4344ec4f fffc0000 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
              Driver 0: pos 0, 80.0 steps/mm,standstill, SG min n/a, mspos 8, reads 7861, writes 0 timeouts 0, steps req 0 done 0
              Driver 1: pos 0, 80.0 steps/mm,standstill, SG min n/a, mspos 8, reads 7862, writes 0 timeouts 0, steps req 0 done 0
              Driver 2: pos 0, 80.0 steps/mm,standstill, SG min n/a, mspos 8, reads 7862, writes 0 timeouts 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 -10/1, peak Rx sync delay 178, resyncs 0/0, no step interrupt scheduled
              VIN voltage: min 24.3, current 24.3, max 24.3
              V12 voltage: min 12.2, current 12.2, max 12.2
              MCU temperature: min 37.2C, current 37.6C, max 37.8C
              Last sensors broadcast 0x00000000 found 0 137 ticks ago, 0 ordering errs, loop time 0
              CAN messages queued 325, send timeouts 0, received 188, lost 0, free buffers 37, min 37, error reg 0
              dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0
              
              dc42undefined 1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators @theolodian
                last edited by

                @theolodian that's still the wrong version. Are you running in standalone or SBC mode?

                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

                theolodianundefined 1 Reply Last reply Reply Quote 0
                • theolodianundefined
                  theolodian @dc42
                  last edited by theolodian

                  @dc42 SBC. Can't update the 6HC either.

                  I can revert to standalone, but that will be tomorrow.

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

                    @theolodian OK, if you update and test in standalone mode, I hope you will be able to revert to SBC mode without the SBC automatically downgrading the firmware.

                    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

                    theolodianundefined 1 Reply Last reply Reply Quote 0
                    • theolodianundefined
                      theolodian @dc42
                      last edited by

                      @dc42 OK, I'll try that tomorrow.

                      The firmware files on the SBC are listed above.

                      theolodianundefined 1 Reply Last reply Reply Quote 0
                      • theolodianundefined
                        theolodian @theolodian
                        last edited by

                        Is there a guide somewhere on how to upload these files to the RPi? I am getting the sense that there are different partitions for standalone vs SBC mode. Plugging the SSD into my PC seems to only giving me access to the partition for standalone mode? That would mean that I'm not trying to install the correct firmware files.

                        jay_s_ukundefined chrishammundefined 2 Replies Last reply Reply Quote 0
                        • jay_s_ukundefined
                          jay_s_uk @theolodian
                          last edited by

                          @theolodian just upload them to the systems tab in DWC

                          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

                          1 Reply Last reply Reply Quote 0
                          • chrishammundefined
                            chrishamm administrators @theolodian
                            last edited by chrishamm

                            @theolodian The FAT partition you see when you insert the microSD card in your computer is only used in standalone mode. In SBC mode, the virtual SD card files are located in /opt/dsf/sd. That explains why your M997 B1 update sort of failed (you never updated the files in there). To overwrite them, upload them on Files -> System page as @jay_s_uk said and confirm the update prompt.

                            Duet software engineer

                            theolodianundefined 1 Reply Last reply Reply Quote 0
                            • theolodianundefined
                              theolodian @chrishamm
                              last edited by

                              Thanks all! Update successful. However original problem persists?

                              M999

                              8284757c-7a2d-4ceb-8188-9fb9177d338e-image.png

                              M409 K"boards"

                              1/6/2022, 1:42:33 PM	M409 K"boards"
                              {
                                  "key": "boards",
                                  "flags": "",
                                  "result": [
                                      {
                                          "canAddress": 0,
                                          "firmwareDate": "2021-12-30",
                                          "firmwareFileName": "Duet3Firmware_MB6HC.bin",
                                          "firmwareName": "RepRapFirmware for Duet 3 MB6HC",
                                          "firmwareVersion": "3.4.0beta7+2",
                                          "iapFileNameSBC": "Duet3_SBCiap32_MB6HC.bin",
                                          "iapFileNameSD": "Duet3_SDiap32_MB6HC.bin",
                                          "mcuTemp": {
                                              "current": 31.7,
                                              "max": 31.9,
                                              "min": 30.8
                                          },
                                          "name": "Duet 3 MB6HC",
                                          "shortName": "MB6HC",
                                          "uniqueId": "08DJM-956BA-NA3TN-6J9DL-3SJ6M-9T86U",
                                          "v12": {
                                              "current": 12.1,
                                              "max": 12.2,
                                              "min": 12.1
                                          },
                                          "vIn": {
                                              "current": 24.4,
                                              "max": 24.4,
                                              "min": 24.4
                                          }
                                      },
                                      {
                                          "canAddress": 1,
                                          "firmwareDate": "",
                                          "firmwareFileName": "",
                                          "firmwareVersion": "",
                                          "maxMotors": 0,
                                          "mcuTemp": {
                                              "current": 27.9,
                                              "max": 27.9,
                                              "min": 24.2
                                          },
                                          "shortName": "",
                                          "state": "running",
                                          "v12": {
                                              "current": 12.2,
                                              "max": 12.2,
                                              "min": 12.2
                                          },
                                          "vIn": {
                                              "current": 24.3,
                                              "max": 24.3,
                                              "min": 24.3
                                          }
                                      },
                                      {
                                          "canAddress": 2,
                                          "firmwareDate": "",
                                          "firmwareFileName": "",
                                          "firmwareVersion": "",
                                          "maxMotors": 0,
                                          "mcuTemp": {
                                              "current": 26.2,
                                              "max": 26.4,
                                              "min": 22.9
                                          },
                                          "shortName": "",
                                          "state": "running",
                                          "v12": {
                                              "current": 12.1,
                                              "max": 12.1,
                                              "min": 12.1
                                          },
                                          "vIn": {
                                              "current": 24.3,
                                              "max": 24.3,
                                              "min": 24.2
                                          }
                                      }
                                  ],
                                  "next": 0
                              }
                              

                              M122 B1

                              1/6/2022, 1:43:27 PM	m122 b1
                              Diagnostics for board 1:
                              Duet EXP3HC firmware version 3.4.0beta7+2 (2021-12-30 22:07:11)
                              Bootloader ID: SAME5x bootloader version 2.3 (2021-01-26b1)
                              All averaging filters OK
                              Never used RAM 158852, free system stack 4394 words
                              Tasks: Move(notifyWait,0.0%,160) HEAT(notifyWait,0.0%,95) CanAsync(notifyWait,0.0%,69) CanRecv(notifyWait,0.0%,82) CanClock(notifyWait,0.0%,71) TMC(notifyWait,7.4%,99) MAIN(running,91.2%,408) IDLE(ready,0.0%,39) AIN(delaying,1.3%,263), total 100.0%
                              Last reset 00:04:57 ago, cause: power up
                              Last software reset at 2021-11-23 12:29, reason: HardFault, available RAM 158816, slot 0
                              Software reset code 0x0060 HFSR 0x40000000 CFSR 0x00000001 ICSR 0x00489803 BFAR 0xe000ed38 SP 0x20003360 Task MAIN Freestk 519 ok
                              Stack: 00000000 00000000 20001060 00000000 00000000 000265f3 ffe1d614 61000000 4344ec4f fffc0000 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
                              Driver 0: pos 0, 320.0 steps/mm,standstill, SG min n/a, mspos 8, reads 9440, writes 0 timeouts 0, steps req 0 done 0
                              Driver 1: pos 0, 320.0 steps/mm,standstill, SG min n/a, mspos 8, reads 9440, writes 0 timeouts 0, steps req 0 done 0
                              Driver 2: pos 0, 320.0 steps/mm,standstill, SG min n/a, mspos 8, reads 9440, writes 0 timeouts 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 -9/2, peak Rx sync delay 179, resyncs 0/1, no step interrupt scheduled
                              VIN voltage: min 24.3, current 24.3, max 24.3
                              V12 voltage: min 12.2, current 12.2, max 12.2
                              MCU temperature: min 24.2C, current 28.3C, max 28.3C
                              Last sensors broadcast 0x00000000 found 0 211 ticks ago, 0 ordering errs, loop time 0
                              CAN messages queued 1694, send timeouts 0, received 1046, lost 0, free buffers 37, min 37, error reg 0
                              dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0
                              
                              theolodianundefined 2 Replies Last reply Reply Quote 0
                              • theolodianundefined
                                theolodian @theolodian
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • theolodianundefined
                                  theolodian @theolodian
                                  last edited by

                                  @dc42 Works fine in standalone mode.

                                  M409 K"boards"

                                  1/7/2022, 9:34:52 AM	m409 K"boards"
                                  {
                                      "key": "boards",
                                      "flags": "",
                                      "result": [
                                          {
                                              "canAddress": 0,
                                              "firmwareDate": "2021-12-30",
                                              "firmwareFileName": "Duet3Firmware_MB6HC.bin",
                                              "firmwareName": "RepRapFirmware for Duet 3 MB6HC",
                                              "firmwareVersion": "3.4.0beta7+2",
                                              "iapFileNameSBC": "Duet3_SBCiap32_MB6HC.bin",
                                              "iapFileNameSD": "Duet3_SDiap32_MB6HC.bin",
                                              "mcuTemp": {
                                                  "current": 34.6,
                                                  "max": 34.8,
                                                  "min": 32.6
                                              },
                                              "name": "Duet 3 MB6HC",
                                              "shortName": "MB6HC",
                                              "uniqueId": "08DJM-956BA-NA3TN-6J9DL-3SJ6M-9T86U",
                                              "v12": {
                                                  "current": 12.1,
                                                  "max": 12.2,
                                                  "min": 12.1
                                              },
                                              "vIn": {
                                                  "current": 24.3,
                                                  "max": 24.4,
                                                  "min": 23.9
                                              }
                                          },
                                          {
                                              "canAddress": 1,
                                              "firmwareDate": "2021-12-30 22:07",
                                              "firmwareFileName": "Duet3Firmware_EXP3HC.bin",
                                              "firmwareVersion": "3.4.0beta7+2",
                                              "maxMotors": 3,
                                              "mcuTemp": {
                                                  "current": 28.3,
                                                  "max": 28.3,
                                                  "min": 25.6
                                              },
                                              "shortName": "EXP3HC",
                                              "state": "running",
                                              "uniqueId": "6Q9PQ-0D6P9-F65J0-401FJ-NWN0Z-ZH8FG",
                                              "v12": {
                                                  "current": 12.2,
                                                  "max": 12.2,
                                                  "min": 12.2
                                              },
                                              "vIn": {
                                                  "current": 24.1,
                                                  "max": 24.3,
                                                  "min": 23.8
                                              }
                                          },
                                          {
                                              "canAddress": 2,
                                              "firmwareDate": "2021-12-30 22:07",
                                              "firmwareFileName": "Duet3Firmware_EXP3HC.bin",
                                              "firmwareVersion": "3.4.0beta7+2",
                                              "maxMotors": 3,
                                              "mcuTemp": {
                                                  "current": 27.1,
                                                  "max": 27.2,
                                                  "min": 24.9
                                              },
                                              "shortName": "EXP3HC",
                                              "state": "running",
                                              "uniqueId": "HGGW1-R5BFL-D65J0-40KKY-K6S1Z-ZHLPK",
                                              "v12": {
                                                  "current": 12.1,
                                                  "max": 12.1,
                                                  "min": 12.1
                                              },
                                              "vIn": {
                                                  "current": 24.1,
                                                  "max": 24.2,
                                                  "min": 23.7
                                              }
                                          }
                                      ],
                                      "next": 0
                                  }
                                  
                                  dc42undefined 1 Reply Last reply Reply Quote 0
                                  • dc42undefined
                                    dc42 administrators @theolodian
                                    last edited by

                                    @theolodian that's interesting! Does it consistently work OK in standalone mode but not in SBC mode?

                                    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

                                    theolodianundefined 2 Replies Last reply Reply Quote 0
                                    • theolodianundefined
                                      theolodian @dc42
                                      last edited by theolodian

                                      @dc42 Yep

                                      For one reason or another 12 axes has never worked in SBC mode. You said 3.4b6 worked for you in standalone mode.

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

                                        @theolodian axes whose names are lowercase letters didn't work in SBC mode until recently, so you would have been limited to 10 axes i.e. XYZUVWABCD.

                                        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

                                        theolodianundefined 1 Reply Last reply Reply Quote 0
                                        • theolodianundefined
                                          theolodian @dc42
                                          last edited by theolodian

                                          @dc42 Yes, the lower case letters now work in SBC mode however the expansion boards do not... so we still can't do 12 axes. Latency issue, too many things in the chain?

                                          Our main interest in the RPi is using an SSD instead of unreliable SD cards. Will the 6XD take an M2 SSD? WiFi is 2nd issue but can use an extender, will there be a WiFi 6XD?

                                          1 Reply Last reply Reply Quote 0
                                          • theolodianundefined
                                            theolodian @dc42
                                            last edited by

                                            @dc42 12 motors moved at the same time! Standalone only still, 3.4b7+2 - haven’t tried any of the newer betas in SBC mode.

                                            Is it easy to turn off the axes mixing? We would like the motors to run the full feed rate (or at least the axis with the most travel). The more motors move at once the slower it goes, probably trying to calculate a tool tip speed in 12 dimensional space.

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