1LC Toolboard FW mismatch - M997 fails to update D3 Mini+SBC pi4
-
Ive recently flashed a new SD card image for the SBC t oDuet FW 3.5.3
Main board - duet mini 5+ - updated to 3.5.3 via M997
DWC - showed up as 3.5.3 after 1st boot after new flashed SD
DSF - showed up as 3.5.3 after 1st boot after new flashed SDDuet 3 expansion toolboard 1LC- was stuck at 3.4.0 beta - for the obvious reasons
tried M997 S3 B121 - first error was the SAM2C.bin file not present. Went to bootloader latest releases and DL'd to pc then uploaded to the FW Director via DWC [ Duet3Bootloader-SAMC21.bin ] dwc shows date of 9/19/2024. it is 11/10/24 today
Not sure what to do from here - where to find the right file[s] to get the toolhead 1LC up to date ...
-
@SputnikOC3d
M997 S3 ...
updates the bootloader, not the firmware. UseM997 B121
for updating firmware (S0 is the default). Send M122 B121 to see the version of firmware and bootloader that is installed.
I'm not sure why bootloader update is failing, @chrishamm can you take a look?Ian
-
@droftarts - wow !!! That did it ... Thank you.
I must be super daft ... cuz I really never saw this as a 2 step process in the docs.
- Update the bootloader with M997 S3 B121
- Update the firmware with just M997 B121
Seems this stage is fixed
M122 B121
Diagnostics for board 121:
Duet TOOL1LC rev 1.1 or later firmware version 3.5.3 (2024-09-17 14:35:31)
Bootloader ID: SAMC21 bootloader version 2.11 (2024-08-09)
All averaging filters OKThe above clarifications and facts should be entered into the docs for future for others ?
-
@SputnikOC3d a description of the S parameter, including that S0 is for updating the firmware, while S3 is for uploading the bootloader. I’ll add a link to the bootloader updating page: https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_bootloader
Updating the bootloader isn’t necessary 99% of the time, and using the version the board shipped with should be fine. It is updated very infrequently, and usually just to support new boards.
Ian
-
@droftarts - thank you.
For whatever reason the needed file was missing ... [ Duet3Bootloader-SAMC21.bin ]
After I found the missing file and uploaded it via DWC, and tried to update the firmware using various variants of the M997 command.
Its confusing [ to me anyways ] because .. you update the main board by the "S" parameter and several other things with it [ per the docs ] - seemed logical that M997 S3 was going to try and update the FW ... not JUST the bootloader and that unlike the main board the CAN bus attached toolheads etc do not require the "S" parameter to be used to update the firmware.
Hopefully Im making sense at describing what doesnt make sense in the docs. Also curious why that particular file was absent on a new fresh SD card flash.
-
@droftarts - PS - can mark this SOLVED too
Answer was to use syntax M997 B121 [ where 121 represents your expansion boards CAN ID ]
-
@SputnikOC3d I've updated the M997 Gcode entry with more examples, and made the notes a bit clearer: https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m997-perform-in-application-firmware-update
@SputnikOC3d said in 1LC Toolboard FW mismatch - M997 fails to update D3 Mini+SBC pi4:
I must be super daft ... cuz I really never saw this as a 2 step process in the docs.
It isn't a two stage process, because you rarely, if ever, need to update the bootloader. So all you needed was
M997 B121
to update the firmware. And usually this is done automatically for you.Ian
-
-