Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 1.23 KB

Flashing-firmware-with-ST-Link-programmer.md

File metadata and controls

32 lines (17 loc) · 1.23 KB

Start page | Previous level

  1. Connect the programmer as shown in the figure below (check the signatures of the contacts on the programmer and controller board):

  1. Connect the ST-Link v2 programmer to the computer;
  2. Run the ST-Link program;
  3. Click on "File-> Open File" in the program and select the .hex file which is located in the FreeJoy release archive;
  4. Now you will see the binary code download page:

  1. Click "Target-> Connect". After connecting the device, you can see such information as the device ID, the size of the flash memory and the device family in the block above and view the contents of the internal memory in the main block:

  1. Click "Targert-> Erase chip" and "OK";

  1. Now click "Target-> Program & Verify" and in the appeared window click "Start". Controller programming will start:

  1. After successful programming of the controller, disconnect all connections and connect the controller board to the computer using a MicroUSB cable.
  2. FreeJoy device is defined in the system as a game controller.

Start page | Previous level