Launch Sample Application
eSE100 Azure IoTDevice Guide for Consumer Products, Rev. 0.3, 03/2019 16 | 21
3.2. LAUNCH SAMPLE APPLICATION
3.2.1. Build SDK Example code
1. Download eSE100 SDK Project. The project contains all the required drivers to use the eSE100 board, together with
pre-integrated Microsoft Azure IoT SDK.
2. Unzip the package. Open one of the pre-configured project files available
in MS500_BSP_CMSIS/Application/Azure.
3. Move to the MS500_BSP_CMSIS/Application/Azure project.
4. Open file AzureTest.c and update connectionString with the credentials retrieved once completed device
registration in IoT Hub. You have also to set mac-address by replacing DEFAULT_MAC to open file eSE100_init.c for
using gateway.
5. Build the project according to the ARM-GCC make. In MS500_BSP_CMSIS/Application/Azure/makefile -> run make
⚫ Upload firmware image
1. Follow the steps below to configure the board.
i. Set boot mode to 'UART to QSPI Boot'.
Figure 12. Select Boot Mode
ii. Connect your eSE100 I/O board and PC using the USB cable.
iii. Turn the eSE100 main board and I/O board switches ON.
iv. Check the connected COM port on PC.
2. Run the MS500 Firmware Initializer program.
Figure 13. Firmware Initializer Program
3. Check the COM Port and choose the BaudRate.
4. Click 'Connect’ to connect the COM Port
5. Select the boot mode to 'QSPI'
6. Input the 'Firmware image' file path for QSPI boot mode. Click the button to select the eSE100 firmware
image.
7. Check the 'FW Binary' path. Then, click 'FW Image Upload’.