FlexSEA Wiki

A WEARABLE ROBOTICS TOOLKIT

User Tools

Site Tools


actpackfirmware

Actuator Package Firmware Update

Please note that in many situations only Mn needs to be changed. Mn's connector is typically exposed, and it uses a large pitch FFC connector.

Full upgrade

If you are provided with three hex files, the order of operations is the following:

  1. Power the circuit with a USB cable
  2. Connect the MiniProg to Re and program it
  3. Connect the MiniProg to Ex
  4. Turn the circuit ON with the pushbutton
  5. Program Ex then remove the programmer
  6. Connect the ST-Link to Mn and program it
  7. Do a full power cycle (not just with the button, remove USB power)

Ex or Re

If an update is needed, Dephy will provide you with a hex file. You will need three tools:

Step-by-step:

  1. Connect the FFC to the right connector. You will have to remove the enclosure. The FFC contacts have to face the PCB (ie. not visible from above).
  2. Power the circuit via USB - no battery
  3. Ex only: Turn the device ON, otherwise Re will keep your device under reset and prevent connection.
  4. Open Programmer and load the hex. Make sure that the settings match the following picture:
  5. Click program
  6. When it's done, power cycle.

Re can hold Ex and Mn in reset. To program Ex you have to turn Re on first (with the user switch).

Mn

The Mn code is publicly available (see Compile fx-rigid-mn for your project). You can compile your own version of the code and generate a hex file, and you can program it directly from Eclipse. On this page we will only cover the scenario where you have a hex file (provided by Dephy or generated by you) and you are not using Eclipse + OpenOCD to program the STM32. You will need three tools:

Step-by-step:

  1. Connect the 1mm FFC to the right connector. The connector is exposed, you do not need to remove the enclosure. The FFC contacts have to face the PCB (ie. not visible from above).
  2. Power the circuit via USB - no battery
  3. Turn the device ON, otherwise Re will keep your device under reset and prevent connection.
  4. Open the STM32 ST-Link Utility and load the hex
  5. Click Program, then Start
  6. When it's done, power cycle.
  7. Re can hold Ex and Mn in reset. To program Mn you have to turn Re on first (with the user switch).

Notes and Conventions

  • If you receive a hex/bin file with “HWXX” in the name:
    • “HW” is short for Hardware version
    • The following numbers are the version: 01 is 0.1, 10 is 1.0, etc. It refers to the FlexSEA-Rigid PCB version.
  • Unless otherwise advised by Dephy, only flash a binary on the proper PCB (HW01 on Rigid 0.1)
actpackfirmware.txt · Last modified: 2019/05/22 16:12 by jfduval