![ST FP-SNS-FLIGHT1 User Manual Download Page 16](http://html.mh-extra.com/html/st/fp-sns-flight1/fp-sns-flight1_user-manual_1355659016.webp)
FP-SNS-FLIGHT1 software
description
UM2026
16/50
DocID029047 Rev 4
Figure 9: FP-SNS-FLIGHT1 dump process
For the Linux or iOS operating systems, there is a similar script that uses OpenOCD
instead of the ST-LINK command line. The script is available for each platform, but is only
included in the System Workbench IDE:
CleanFLIGHT1_SW4STM32_53L0A1_NF401.sh
CleanFLIGHT1_SW4STM32_6180XA1_NF401.sh
CleanFLIGHT1_SW4STM32_53L0A1_NL476.sh
CleanFLIGHT1_SW4STM32_6180XA1_NL476.sh
To function, the script must be modified with:
the installation path for OpenOCD
the installation path for STM32 OpenOCD scritps
the Library path for OpenOCD
TheOpenOCD script section to be edited is:
# 1) Set the Installation path for OpenOCD
# example:
#OpenOCD_DIR="C:/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.openocd.win32_
1.13.0.201701121612/tools/openocd/"
OpenOCD_DIR=""
# 2) Set the installation path for stm32 OpenOCD scritps
# example:
#OpenOCD_CFC="C:/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.debug_1.12.0.201701121612/re
sources/openocd/scripts"
OpenOCD_CFC=""
# 3) Only for Linux/iOS add openocd library path to _LIBRARY_PATH:
# For iOS example:
#export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${OpenOCD_DIR}"lib/"