- Connect the converter as shown in the figure below:
- Set the BOOT0 jumper to position 1:
- Plug the USB-UART converter into USB port.
- Run the program STM32 Flash Loader Demonstrator.
- Select the COM port that was assigned to your converter (the port number can be viewed in the device manager “Ports (COM and LPT)” and click “Next”:
5.1. If device protection is enabled click "Remove protection". Otherwise just press "Next" until you reach programming method window:
- Click "Download to device" and select the .hex file which is located in the FreeJoy release archive. Aslo check option "Global erase":
- Click “Next” and wait for the end of programming the controller.
- Set the BOOT0 jumper to position 0 and disconnect all connections.
- Connect the controller board to the computer using the microUSB cable. A FreeJoy device is defined in the system as a game controller.