FlexSEA Wiki

A WEARABLE ROBOTICS TOOLKIT

User Tools

Site Tools


actpackfirmware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
actpackfirmware [2019/02/13 15:20]
jfduval
actpackfirmware [2019/10/07 13:33] (current)
jfduval [Mn]
Line 34: Line 34:
 ===== Mn ===== ===== Mn =====
  
-The Mn code is publicly available (see [[fx-rigid-mn|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:+The Mn code is publicly available (see [[manage:​software|Getting started with Dephy STM32 projects]]). 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:
   * [[http://​www.st.com/​en/​development-tools/​stsw-link004.html|STM32 ST-LINK utility (STSW-LINK004)]] software. You might have to register to download it.   * [[http://​www.st.com/​en/​development-tools/​stsw-link004.html|STM32 ST-LINK utility (STSW-LINK004)]] software. You might have to register to download it.
   * An [[http://​www.st.com/​content/​st_com/​en/​products/​development-tools/​hardware-development-tools/​development-tool-hardware-for-mcus/​debug-hardware-for-mcus/​debug-hardware-for-stm32-mcus/​st-link-v2.html|ST-Link/​v2]] ([[https://​www.digikey.com/​product-detail/​en/​stmicroelectronics/​ST-LINK-V2/​497-10484-ND/​2214535|$23 on Digikey]])   * An [[http://​www.st.com/​content/​st_com/​en/​products/​development-tools/​hardware-development-tools/​development-tool-hardware-for-mcus/​debug-hardware-for-mcus/​debug-hardware-for-stm32-mcus/​st-link-v2.html|ST-Link/​v2]] ([[https://​www.digikey.com/​product-detail/​en/​stmicroelectronics/​ST-LINK-V2/​497-10484-ND/​2214535|$23 on Digikey]])
Line 46: Line 46:
   - Click Program, then Start {{ :​st2.png?​200 |}} {{ :​st3.png?​200 |}}   - Click Program, then Start {{ :​st2.png?​200 |}} {{ :​st3.png?​200 |}}
   - When it's done, power cycle.   - When it's done, power cycle.
 +  - 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 [[rigid|FlexSEA-Rigid]] PCB version. 
-Re can hold Ex and Mn in resetTo program Mn you have to turn Re on first (with the user switch).+  * Unless otherwise advised by Dephy, only flash a binary ​on the proper PCB (HW01 on Rigid 0.1)
actpackfirmware.1550071222.txt.gz · Last modified: 2019/02/13 15:20 by jfduval