User application

<< Click to Display Table of Contents >>

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

User application

Previous pageReturn to chapter overviewNext page

demo File: iap_device_application_demo.mdl

iap_user_model

Configuration

1. Target Setup block for model

iap_user_mask

2. Vector Interrupt Table offset

By Custom configuration, edit file "system_stm32f4xx.c" from directory "\waijung\targets\stm32f4_target\stm32f4\utils\STM32F4xx_AN3988_V1.0.1".

iap_user_vect_conf

Description

This is user program, it must be compiled with flash base offset. This demo setting flash base to 0x8020000 and flash size is < 128k.

This user application also implement IAP function, which mean it can receive program data  packet while its running. The receive program data packet will written to Sector 6 (Temporary), so if IAP process interrupted it will able to continue running without damage.