-
Notifications
You must be signed in to change notification settings - Fork 216
Firmware Programming
The first installation of this firmware onto Gotek can be done either by serial or USB link to a host PC.
This method requires a USB-TTL serial adapter, which are readily available on Ebay or from project webstores:
- CAB-12977 from SparkFun
- Search "PL2303HX usb ttl adapter" on Ebay, available for around one dollar.
The Gotek is then jumpered in system-bootloader mode and programmed from the host PC. See the below picture for wiring and jumper selection. This Gotek has had pins soldered to the programming header. It is possible to make the required connections with no soldering, but be careful that all wires are sufficiently well connected. Also note that the ordering of the connections (5V,GND,TX,RX) can vary across adapters, so be careful to note the ordering on your own.
The programming process is described, along with suitable Windows software, on the Cortex firmware webpage. Of course, rather than using the Cortex HEX file, use the HEX file contained in the FlashFloppy release archive.
If programming on Linux, you can follow the Cortex instructions to physically set up your serial connection and bootstrap the Gotek, and then use stm32flash to do the programming:
# sudo stm32flash -w flashfloppy_fw/FF_Gotek*.hex /dev/ttyUSB0
See this Youtube video for detailed instructions on this method. You will require a USB-A to USB-A cable, and you should program the HEX file contained in the FlashFloppy release archive.