The H.É.R.O. already works, but both the CPLD and the arduino must be updated.
To update the CPLD the method is the same as the previous time:
- Copy the file SD81CPLD.XSVF to the root of the SD, insert the card and power up the zx81
- The status LED will begin to flash warning that the CPLD is going to begin programming for a few seconds, warning that we must not remove power from the equipment until the end of the process.
- After about 5 seconds it will start with a slower flashing that will progressively change the color of the LED from red to green.
- When the process is finished, the LED will remain solid green, after which we can do a reset so that it starts normally. (on the SD the file that we have copied will have been renamed to SD81CPLD.DONE)
To update the arduino, you must follow the instructions of the technical manual (SD81 Booster TECHNICAL DOCUMENTATION.md) located in the DOC folder in the section "UPDATING THE FIRMWARE"
Updating the SD81 Booster with a new firmware version is as simple as connecting it with a micro-USB cable to a PC and executing a simple command.
Remove the SD81 Booster from the console and connect the Arduino micro-USB port to the PC, the Arduino driver should install and appear as a new CH340 COM port in the system.
The number of the COM port needs to be known and this can be determined by looking in the "Bluetooth and other devices" window of the Control Panel like this:
![Serial Ports](img/arduino003.png)
If there are problems finding the correct number of the port then there is a utility called "LISTCOM.EXE" included in the repository that will list all the COM ports available on the PC, test each of these to find the correct port.
Once the port is known proceed to run the flashing utility `FLASH.BAT`, having already copied the required `.HEX` firmware file to the same directory as the utility.
The syntax of the utility is as follows:
FLASH `[COMPORT] < file >`
For example, to load the file `update.HEX` through the COM7 port, execute the following command on the PC:
` FLASH COM7 update.HEX`
*Note:* DO NOT INTERRUPT THE FLASHING PROCEDURE - Wait for the flashing operation to finish, after which the *SD81 Booster* will automatically reset.
The file to use is "V2\Arduino\flash tools\SD81BoosterV2.020.hex"