This page contains only the basic information for the development environment.
The complete information is provided as par of the SDK/Evaluation board documentation.
The minimum characteristics of the Development Station are:
- Dual core or better CPU at 1GHz or more, recommended i5 CPU
- 4GBytes of RAM, recommended 8GB
- 2.4GHz 802.11b/g/n
- 2GB of free hard disk space
- You will need an RS232 serial cable to get debug messages from the UART. RS232 can also be used for updating the software, since WiSmart includes a boot loader. A USB-to-serial adapter may also be required depending on your system.
- You will also need an 802.11 Wi-Fi Router or Access Point with a DHCP server for testing IP connectivity with WiSmart. A softAP device (e.g. iPhone Personal Hotspot or Android Tethering & Portable Hotspot) can be used as well.
Development Workstation Operating System
We highly recommend using a Windows System for the development.
Supported Operating Systems are:
- Windows XP (x86) with Service Pack 3 – all editions except Starter Edition
- Windows Vista (x86) with Service Pack 1 – all editions except Starter Edition
- Windows XP (x64) with Service Pack 2
- Windows Vista (x64) with Service Pack 1
- Windows 7 (x86 and x64)
NOTICE: Although it may be possible to use other Operating Systems such as Linux and Mac OS X, they are not officially supported and you have to use them at your own risk.
Everything in this guide assumes that a Windows System has been chosen.
Required development SW
- YAGARTO GNU ARM toolchain.
- YAGARTO TOOLS, provide the Unix-like commands like “make”. This download includes all tools required.
- FLASH programming tools from ST’s website:
- For programming the SDK over Serial Port download the “ST Flash Loader Demonstrator”
- For programming the SDK over the JTAG or real-time debugging, download the “STM32 ST-LINK utility” and the “ST-LINK/V2 USB driver for Windows 7, Vista and XP”.
- (Optional) A Serial port Terminal application (like Hyperterm) is highly recommended. Tera Term is such an application, and it is free.
- (Optional) “Wireshark, Network Protocol Analyzer” can be used on a Linux platform to capture the Wi-Fi traffic for further analysis.
- (Optional) Java Runtime, is necessary for the Eclipse installation.
- (Optional) Eclipse IDE for C/C++ Developers (includes Incubating components)
NOTE: Although Mac OS X and Linux platforms can be used for development, it is highly recommended to use an MS-Windows based PC.
How to create your own application
Use the provided examples as guide. The detailed library API documentation will help you develop your own application very fast and easily.
Additional useful information for the development of an application which is using some peripheral component like SPI, I2C, I2S, ADC/DAC, etc. can be found at following link on ST’s website:
This libwistmart library is provided as object code package and contains a collection of routines, data structures and macros covering the features of STM32 peripherals. It includes a description of the device drivers plus a set of examples for each peripheral. The library allows any device to be used in the user application without the need for in-depth study of each peripheral’s specifications.
Compiling your first application
To build an application, open a CMD window, go to desired application folder and issue the commands:
$ make clean
The binary images that will be created are placed under the build subfolder in the application directory.
During application development you may need some useful utilities. For example, it is recommended to install Perl Programming Language since a Perl script is needed from the “webserver” application. A Windows binary can be obtained from http://strawberryperl.com.
A terminal emulator is needed as well for WiSmart configuration debugging through the serial port. Always use the following serial port settings: Baud Rate: 115200bps, Data: 8bit, Parity: None, Stop: 1bit, Flow Control: None.
Tera Term Pro is recommended. You can obtain it from here: http://ttssh2.sourceforge.jp/index.html.en
A socket testing tool will be also useful if you plan to develop an application based on sockets. You can use “TCP/IP Builder” for Windows here: http://www.drk.com.ar/builder.php