Instruction

<< Click to Display Table of Contents >>

Navigation:  STM32F4 Target > Demos > Waijung Demos > Network Firmware upgrade >

Instruction

Previous pageReturn to chapter overviewNext page

1. Target of programming board

1.1 Boot firmware

Build module iap_device_boot_demo.mdl to Target of programming board via ST-Link (Auto compile and download).

1.2. User program

- Build model iap_device_application_demo.mdl, it generate output binary file "iap_device_application_demo.bin".

- Copy file "iap_image.exe" from "\waijung\targets\stm32f4_target\stm32f4\demo\iap_demo\iap_image\Bin",

place it into directory "\waijung\targets\stm32f4_target\stm32f4\demo\iap_demo\iap_device_application_demo_stm32f4"

- Convert binary file with Binary converter.

2. IAP Host (Webserver board support)

1. Build model file iap_host_demo.mdl to the board.

2. Connect LAN network, apply power to the board then check connection using Web-browser. At address bar, input IP address or the board (192.168.1.41 for this demo). If the first page displayed, mean connection is good.

3. Test firmware upgrade

1. Open Firmware upgrade URL: http://192.168.1.41/iap.html?action=init

2. Select device ID to program, then click Next.

iap_instruction_1

3. Select binary file to upgrade. Click Upload to start firmware IAP.

iap_instruction_2

4. Wait for firmware IAP process.

iap_instruction_3

5. Firmware IAP result.

iap_instruction_4