Expansion boards not working on 3.4b7?
-
@dc42 Thanks. Yes on the G4 S5.
-
@theolodian what is the response if you send this command: M409 K"boards"
-
M409 K"boards" { "key": "boards", "flags": "", "result": [ { "canAddress": 0, "firmwareDate": "2021-12-16", "firmwareFileName": "Duet3Firmware_MB6HC.bin", "firmwareName": "RepRapFirmware for Duet 3 MB6HC", "firmwareVersion": "3.4.0beta7", "iapFileNameSBC": "Duet3_SBCiap32_MB6HC.bin", "iapFileNameSD": "Duet3_SDiap32_MB6HC.bin", "mcuTemp": { "current": 36.6, "max": 37.5, "min": 36.3 }, "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": 32.3, "max": 32.8, "min": 20.2 }, "shortName": "", "state": "running", "v12": { "current": 12.2, "max": 12.2, "min": 12.1 }, "vIn": { "current": 24.3, "max": 24.3, "min": 23.9 } }, { "canAddress": 2, "firmwareDate": "", "firmwareFileName": "", "firmwareVersion": "", "maxMotors": 0, "mcuTemp": { "current": 30.1, "max": 30.7, "min": 19.1 }, "shortName": "", "state": "running", "v12": { "current": 12.1, "max": 12.1, "min": 12.1 }, "vIn": { "current": 24.3, "max": 24.3, "min": 23.9 } } ], "next": 0 }
-
@theolodian thanks, looks like the maxMotors field coming back from the EXP1HC is wrong. The firmware details are also missing Please post the results of sending M122 B1 and M122 B2.
-
@dc42 I don't have an EXP1HC
12/20/2021, 9:39:03 PM m122 B2 Diagnostics for board 2: Duet EXP3HC firmware version 3.4.0beta7 (2021-12-16 12:24:41) Bootloader ID: not available Never used RAM 158848, free system stack 4392 words Tasks: Move(notifyWait,0.0%,160) HEAT(notifyWait,0.3%,88) CanAsync(notifyWait,0.0%,69) CanRecv(notifyWait,0.0%,82) CanClock(notifyWait,0.1%,71) TMC(notifyWait,102.0%,99) MAIN(running,405.1%,412) IDLE(ready,0.0%,39) AIN(delaying,18.2%,263), total 525.7% Last reset 05:08:45 ago, cause: power up Last software reset at 2021-10-24 23:03, reason: HardFault bfarValid precise, available RAM 158896, slot 1 Software reset code 0x0060 HFSR 0x40000000 CFSR 0x00008200 ICSR 0x00000003 BFAR 0xae4aaef5 SP 0x2002ffc0 Task MAIN Freestk 46361 ok Stack: 00000000 20003870 ae4aaeb5 00000bd5 04000000 ffffffed 000204e2 61000089 00000000 00f00000 e03fffe0 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 0, mspos 8, reads 42164, writes 15 timeouts 0, steps req 0 done 0 Driver 1: pos 0, 320.0 steps/mm,standstill, SG min 0, mspos 8, reads 42164, writes 15 timeouts 0, steps req 0 done 0 Driver 2: pos 0, 320.0 steps/mm,standstill, SG min 0, mspos 8, reads 42165, writes 15 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 -3/16, peak Rx sync delay 182, resyncs 0/11, no step interrupt scheduled VIN voltage: min 23.9, current 24.2, max 24.3 V12 voltage: min 12.1, current 12.1, max 12.1 MCU temperature: min 19.1C, current 30.1C, max 30.7C Last sensors broadcast 0x00000000 found 0 215 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 148285, send timeouts 0, received 92675, lost 0, free buffers 37, min 37, error reg 60000 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0 12/20/2021, 9:38:57 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 158848, free system stack 4392 words Tasks: Move(notifyWait,0.0%,160) HEAT(notifyWait,0.3%,88) CanAsync(notifyWait,0.0%,69) CanRecv(notifyWait,0.0%,82) CanClock(notifyWait,0.1%,71) TMC(notifyWait,102.5%,99) MAIN(running,406.7%,439) IDLE(ready,0.0%,39) AIN(delaying,18.3%,263), total 527.9% Last reset 05:08:38 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 0, mspos 8, reads 22681, writes 15 timeouts 0, steps req 0 done 0 Driver 1: pos 0, 320.0 steps/mm,standstill, SG min 0, mspos 8, reads 22681, writes 15 timeouts 0, steps req 0 done 0 Driver 2: pos 0, 320.0 steps/mm,standstill, SG min 0, mspos 8, reads 22682, writes 15 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 -16/4, peak Rx sync delay 183, resyncs 0/11, no step interrupt scheduled VIN voltage: min 23.9, current 24.3, max 24.3 V12 voltage: min 12.1, current 12.2, max 12.2 MCU temperature: min 20.2C, current 32.3C, max 32.8C Last sensors broadcast 0x00000000 found 0 185 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 148260, send timeouts 0, received 92675, lost 0, free buffers 37, min 37, error reg 60000 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0
-
@theolodian thanks, I meant EXP3HC.
-
@dc42 Bump for visibility. Cheers!
-
@theolodian please try the files at https://www.dropbox.com/sh/cx760ysonlzzkjd/AACfsVfX4olHipuqmbWut5EKa?dl=0. If the problem persists, please power the system off for several seconds and then on again, wait for startup to complete, and post the result of sending M409 K"boards" again.
-
@dc42 Thanks. Didn't seem to work. Strange results after power cycle below. No power cycle between M409 and M122.
Sorry for the delay. Been playing Greek alphabet Bingo.
M409 K"boards"
1/5/2022, 9:39:56 AM M409 K"boards" { "key": "boards", "flags": "", "result": [ { "canAddress": 0, "firmwareDate": "2021-12-16", "firmwareFileName": "Duet3Firmware_MB6HC.bin", "firmwareName": "RepRapFirmware for Duet 3 MB6HC", "firmwareVersion": "3.4.0beta7", "iapFileNameSBC": "Duet3_SBCiap32_MB6HC.bin", "iapFileNameSD": "Duet3_SDiap32_MB6HC.bin", "mcuTemp": { "current": 35.9, "max": 36, "min": 34.4 }, "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": 32.3, "max": 32.3, "min": 28.8 }, "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": 31.4, "max": 31.4, "min": 28.1 }, "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/5/2022, 9:39:35 AM 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 158848, 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.3%,263), total 100.0% Last reset 00:04:12 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 0, mspos 8, reads 54028, writes 15 timeouts 0, steps req 0 done 0 Driver 1: pos 0, 320.0 steps/mm,standstill, SG min 0, mspos 8, reads 54028, writes 15 timeouts 0, steps req 0 done 0 Driver 2: pos 0, 320.0 steps/mm,standstill, SG min 0, mspos 8, reads 54029, writes 15 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/3, peak Rx sync delay 178, 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 28.8C, current 32.1C, max 32.1C Last sensors broadcast 0x00000000 found 0 6 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 2070, send timeouts 0, received 1289, lost 0, free buffers 37, min 37, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0
-
@theolodian the M122 B1 report indicates that the EXP3HC firmware was not upgraded. Please try uploading the new firmware for the EXP3HC again.
-
@dc42 I get the same results. All 3 boards.
Here are the contents of the firmware folder on the SSD drive for the RPi
-
@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.
-
@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
-
@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.
-
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
-
@theolodian that's still the wrong version. Are you running in standalone or SBC mode?
-
@dc42 SBC. Can't update the 6HC either.
I can revert to standalone, but that will be tomorrow.
-
@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.
-
@dc42 OK, I'll try that tomorrow.
The firmware files on the SBC are listed above.
-
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.