Performing A "Build And Download" From Wiced Studio; Downloading Wlan Firmware As Part Of The "Build And Download" Step - Laird LSR STERLING-LWB STM Quick Start Manual

Table of Contents

Advertisement

3.5.2 Performing a "Build and Download" from WICED Studio

The programming process depends on the OpenOCD programming utility, bundled with the WICED SDK
from Cypress. During development, the programming process can be started directly from within WICED
Studio. This is done by double-clicking a make target with the "download" directive specified as part of
the build string. For more information about build strings within the WICED environment, refer to the
README.txt in the top level 43xxx_Wi-Fi folder of your WICED SDK installation.
For example, to build and download the snip.scan application to your Sterling-LWB STM Expansion
Board, do the following:
1.) Double-click the "clean" make target to clean any previously built target files
2.) create a make target with the following build string:
snip.scan-LSRSTERLING_00950-ThreadX-NetX-SDIO download download_apps run
3.) Double-click the make target created in step 2. The "Console" tab near the bottom of the WICED
Studio window will display the status of the build and download. Once the build is complete, the
output files will be located in the 43xxx_Wi-Fi/build folder.
4.) If the USB cable is attached to the PC and the JTAG driver is installed as described in 3.5.1,
WICED Studio will proceed with programming the STM32F411 MCU after the build.
5.) In this example the 'download_apps' command was specified. This instructs the IDE to also
download the WLAN firmware to the external SPI flash (once this is done for your board,
"download_apps" may be omitted if you are just updating the application and not the WLAN
firmware).

3.5.3 Downloading WLAN firmware as part of the "Build and Download" step

As stated in the previous section, if you have never programmed the external SPI flash with WLAN
firmware (this will be the case for brand new Sterling-LWB STM Expansion Boards), you must do so at
least once before attempting to build and run any applications on the STM32F411 that use the Sterling-
LWB module.
To include programming of the WLAN firmware to the SPI flash in your build and download process, add
"download_apps" after the "download" command in your build string. This will trigger additional steps
during the programming process to utilize the sflash_write application to write the WLAN firmware to
the external SPI flash.
The information in this document is subject to change without notice.
330-0234-R1.2
Copyright ©2016-2017 LSR
Sterling-LWB STM Expansion Board
USER GUIDE
Page 15 of 25

Advertisement

Table of Contents
loading

Table of Contents