How to upgrade the SKR3 H743 firmware in SBC Mode

Overview - Upgrading SBC

There have been a number of changes in the way RRF builds for STM32F4, STM32H723 and STM32H743 boards are being produced from 3.5-RC4 and onwards.
The main changes are:-

  • A build per board rather than all boards being contained in one build
  • WiFi and SBC mode in one build. If there is an SD card present its in WiFi mode, if there isn’t one installed its in SBC mode. This matches the way the Duet3D boards operate.
  • A board.txt setting to denote the WiFi module type installed.

Upgrading

Teamgloomy now generate per board firmware files and going forwards will also release a complete upgrade zip called STM32RepRapFirmwareSBC.zip (which includes all the firmware files, the WiFi files and DWC). These instructions are based on using the zip file.

The latest stable firmware zip can be found here And the latest unstable firmware zip can be found here

With all the changes described above, here are the steps required to upgrade the firmware.

  1. Click on the “machine-specific” page in DWC and then the “Install Update” button.
  2. After uploading the new zip file, DWC will not ask you to install it. You need to use M997 P"firmware_skr3_h743.bin" to trigger the install.
  3. Once the mainboard has updated and rebooted, upgrade the DSF using the script as detailed here.

Some notes

  1. There is a bug in the current version of RRF that will prevent mainboards operating in CAN expansion mode from being upgraded over CAN. The simple solution is to remove the SD card and copy the new firmware to firmware.bin. This bug is only present if upgrading from a version of RRF lower than 3.5.0-RC4.
  2. It is possible that on some SBC installations after installing the new firmware, the firmware may not run in SBC mode (and so DSF/DWC will not connect correctly). To resolve this put the SD card from the RRF board in a PC and add sbc.sbcMode=1 to the board.txt. or remove the SD card entirely from the mainboard.

Removing some Board.txt entries

Once you are back up and running, as we now load the board.txt file from the SBC, you will need to populate the board.txt file on the SBC via DWC. Create a board.txt file in the system folder (the same location as config.g).
Compare the list below with whats in your board.txt and where each line is the same, you can remove it from your board.txt. This may even result in an empty board.txt file (which is fine). We suggest taking a backup of your board.txt file before you remove anything, especially if you wish to downgrade to an earlier version in the future.

board=skr3_h743
board.longName="BTT SKR3 STM32H743"
sdcard.internal.type=2
SPI0.pins={A.5,A.6,A.7}
SPI1.pins={B.13,B.14,B.15}
SPI2.pins={NoPin,NoPin,NoPin}
SPI3.pins={E.14,E.15,E.13}
SPI4.pins={C.5,B.1,B.0}
SPI5.pins={E.9,NoPin,B.1}
SPI6.pins={NoPin,NoPin,NoPin}
SPI7.pins={NoPin,NoPin,NoPin}
SPI8.pins={NoPin,NoPin,NoPin}
stepper.powerEnablePin=NoPin
stepper.enablePins={D.6,D.1,E.0,C.7,D.13}
stepper.stepPins={D.4,A.15,E.2,D.15,D.11}
stepper.directionPins={D.3,A.8,E.3,D.14,D.10}
stepper.numSmartDrivers=5
stepper.TmcUartPins={D.5,D.0,E.1,C.6,D.12}
stepper.spiChannel=3
power.VInDetectPin=NoPin
sbc.TfrReadyPin=C.14
sbc.csPin=B.12
sbc.spiChannel=1
wifi.espDataReadyPin=B.10
wifi.TfrReadyPin=B.11
wifi.espResetPin=C.14
wifi.serialRxTxPins={D.9, D.8}
heat.tempSensePins={A.1,A.2,A.3}
Tags: