Setup Overview
Start coding in just a few minutes (3/3)
28
2. How Install the code after compiling the project:
• Compile the project with your preferred IDE
• On Windows: for each IDE and for each platform there is one batch script:
• IAR toolchain Embedded Workbench V8.32.3:
• CleanALLMEMS2_IAR_ IKS01Ax_F446.bat and CleanALLMEMS2_IAR_ IKS01Ax_L476.bat
• CleanALLMEMS2_IAR_ST.bat(yy → ST or BC or ST.box)
• µVision toolchain - MDK-ARM Professional Version: 5.29.0:
• CleanALLMEMS2_STM32CubeIDE_IKS01Ax_F446.bat and CleanALLMEMS2_STM32CubeIDE_IKS01Ax_L476.bat
• CleanALLMEMS2_STM32CubeIDE_yy.bat (yy → ST or BC or ST.box)
• STM32CubeIDE Version 1.3.1:
• CleanALLMEMS2_MDK_ARM_IKS01Ax_F446.bat and CleanALLMEMS2_MDK_ARM_IKS01Ax_ L476.bat
• CleanALLMEMS2_MDK-ARM_yy.bat (yy → ST or BC or ST.box)
• For Linux/iOS: only for STM32CubeIDE and for each platform there is one OpenOCD:
• For Nucleo F446/L476:
• CleanALLMEMS2_STM32CubeIDE_IKS01A2_F446.sh or CleanALLMEMS2_STM32CubeIDE_IKS01A3_F446.sh
• CleanALLMEMS2_STM32CubeIDE_IKS01A2_L476.sh or CleanALLMEMS2_STM32CubeIDE_IKS01A3_L476.sh
• For STEVAL-STLKT01V1/ STEVAL-MKSBOX1V1 /STEVAL-BCNKT01V1 :
• CleanALLMEMS2_STM32CubeIDE_yy.sh (yy → ST or BC or ST.box)
It’s necessary to edit this file for setting the right installation and Library path
• These scripts perform the following steps:
• Full Flash Erase
• Flash the right BootLoader at the right position (0x08000000)
• Flash the PREDMNT1 firmware at the right position (0x08004000)
➢ This is the firmware that was compiled with the IDE
➢ This firmware is compatible with the FOTA update procedure
• Save a complete Binary FW that includes both ALLMEMS2 and the BootLoader
➢ This binary can be directly flashed to a supported STM32 board using the ST-Link or by doing “Drag & Drop”
➢ Important Note: this additional pre-compiled binary is not compatible with the FOTA update procedure