/**
@page STM32F0xx_IAP STM32F0xx in-application programming using the USART Readme file
@verbatim
******************** (C) COPYRIGHT 2012 STMicroelectronics *******************
* @file STM32F0xx_IAP/readme.txt
* @author MCD Application Team
* @version V1.0.0
* @date 29-May-2012
* @brief Description of the "STM32F0xx in-application programming (IAP) using the USART".
******************************************************************************
*
* Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.st.com/software_license_agreement_liberty_v2
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************
@endverbatim
@par Description
This directory contains a set of sources files and pre-configured projects that
build the In-Application Programming (IAP, through USART) program.
@par Directory contents
- "STM32F0xx_IAP\binary_template": contains the binary template firmware source files
- "STM32F0xx_IAP\EWARM": contains preconfigured project for EWARM toolchain
- "STM32F0xx_IAP\MDK-ARM": contains preconfigured project for MDK-ARM toolchain
- "STM32F0xx_IAP\TASKING": contains preconfigured project for TASKING toolchain
- "STM32F0xx_IAP\TrueSTUDIO": contains preconfigured project for TrueSTUDIO toolchain
- "STM32F0xx_IAP\inc": contains the IAP firmware header files
- STM32F0xx_IAP/inc/common.h This file provides all the headers of the common functions.
- STM32F0xx_IAP/inc/flash_if.h This file provides all the firmware
function headers of the flash_if.c file.
- STM32F0xx_IAP/inc/menu.h This file provides all the firmware
function headers of the menu.c file.
- STM32F0xx_IAP/inc/ymodem.h This file provides all the firmware
function headers of the ymodem.c file.
- STM32F0xx_IAP/inc/stm32f0xx_conf.h Library Configuration file
- STM32F0xx_IAP/inc/stm32f0xx_it.h Header for stm32f0xx_it.c
- "STM32F0xx_IAP\src": contains the IAP firmware source files
- STM32F0xx_IAP/src/main.c Main program
- STM32F0xx_IAP/src/stm32f0xx_it.c Interrupt handlers
- STM32F0xx_IAP/src/flash_if.c This file provides all the memory related
operation functions(write, erase and
write protection disable)
- STM32F0xx_IAP/src/menu.c This file contains the menu to select
downloading a new binary file, uploading
internal Flash memory, executing the binary
and disabling the write protection of
write protected sectors.
- STM32F0xx_IAP/src/common.c This file provides functions related to
read/write from/to USART peripheral.
- STM32F0xx_IAP/src/ymodem.c This file provides all the firmware functions
related to the ymodem protocol.
- STM32F0xx_IAP/src/system_stm32f0xx.c STM32F0xx system source file.
@par Hardware and Software environment
- This example runs on STM32F0xx Devices.
- This example has been tested with STMicroelectronics STM320518-EVAL (STM32F0xx)
evaluation board and can be easily tailored to any other supported device
and development board.
- STM320518-EVAL Set-up
- Connect a null-modem female/female RS232 cable between the DB9 connector
CN7 and PC serial port.
- Use the Key push-button.
- Hyperterminal configuration:
- Word Length = 8 Bits
- One Stop Bit
- No parity
- BaudRate = 115200 baud
- flow control: None
@par How to use it ?
In order to make the program work, you must do the following:
1. Generate a binary image using the preconfigured project provided in the directory
"Project\STM32F0xx_IAP\binary_template" .
2. Program the internal Flash with the IAP (see below)
3. Open HyperTerminal window using the settings already defined in section
"Hardware and Software environment"
4. To run the IAP application, keep the Key push-button pressed at Reset.
The IAP main menu is then displayed on the HyperTerminal window.
5. To download an application, press 1 and use the Ymodem protocol
In order to load the IAP code, you have do the following:
- EWARM
- Open the STM320518-EVAL_Demo.eww workspace
- Rebuild all files: Project->Rebuild all
- Load project image: Project->Debug
- Run program: Debug->Go(F5)
- MDK-ARM
- Open the Project.Uv2 project
- Rebuild all files: Project->Rebuild all target files
- Load project image: Debug->Start/Stop Debug Session
- Run program: Debug->Run (F5)
- TASKING
- Open TASKING toolchain.
- Click on File->Import, select General->'Existing Projects into Workspace'
and then click "Next".
- Browse to the TASKING workspace directory and select the project: STM320518-EVAL
- Rebuild all project files: Select the project in the "Project explorer"
window then click on Project->build project menu.
- Run program: Select the project in the "Project explorer" window then click
Run->Debug (F11)
- TrueSTUDIO
- Open the TrueSTUDIO toolchain.
- Click on File->Switch Workspace->Other and browse to TrueSTUDIO workspace
directory.
- Click on File->Import, select General->'Existing Projects into Workspace'
and then click "Next".
- Browse to the TrueSTUDIO workspace directory and select the project: STM320518-EVAL
- Rebuild all project files: Select the project in the "Project explorer"
window then click on Project->build project menu.
- Run program: Select the project in the "Project explorer" window then click
Run->Debug (F11)
* <h3><center>© COPYRIGHT STMicroelectronics</center></h3>
*/
没有合适的资源?快使用搜索试试~ 我知道了~
STM32F0 IAP Demo
共378个文件
h:60个
c:51个
o:44个
5星 · 超过95%的资源 需积分: 50 344 下载量 81 浏览量
2014-08-21
11:27:29
上传
评论 4
收藏 6.37MB RAR 举报
温馨提示
STM32F0的IAP测试。使用官方的开发板STM32F030_DISCOVERY板进行测试。IAP程序是在官方的例子上修改了一个按键。使用超级终端进行下载。操作和STM32F1一样。只是STM32F0的IAP需要在写用户程序时要自己添加中断向量表到RAM.
资源推荐
资源详情
资源评论
收起资源包目录
STM32F0 IAP Demo (378个子文件)
system_stm32f0xx.__i 733B
stm32f0xx_syscfg.__i 721B
stm32f0xx_usart.__i 717B
stm32f0xx_exti.__i 713B
stm32f0xx_gpio.__i 713B
stm32f0xx_misc.__i 713B
stm32f0xx_rcc.__i 709B
stm32f0xx_it.__i 634B
uart.__i 602B
led.__i 598B
Project.uvgui.Administrator 71KB
STM32F030_APP2.uvgui.Administrator 71KB
STM320518_EVAL.axf 235KB
STM32F030_APP2.axf 154KB
STM32F030_APP1.axf 147KB
KEY_PC13_Test.axf 147KB
Current_Test_by_Stop_Mode.axf 137KB
Current_Test_by_Stop_Mode.uvgui_lenovo.bak 72KB
STM32F030_APP2.uvgui_Administrator.bak 71KB
Project.uvgui_Administrator.bak 70KB
Project_uvopt.bak 26KB
Project_uvproj.bak 22KB
KEY_PC13_Test_uvproj.bak 17KB
STM32F030_APP2_uvproj.bak 17KB
Current_Test_by_Stop_Mode_uvproj.bak 15KB
KEY_PC13_Test_uvopt.bak 13KB
STM32F030_APP2_uvopt.bak 12KB
Current_Test_by_Stop_Mode_uvopt.bak 12KB
KEY_PC13_Test_sct.Bak 479B
STM32F030_APP2_sct.Bak 479B
axftobin.bat 256B
TASKING_hextobin.bat 220B
TrueSTUDIO_elf2bin.bat 199B
STM32F030_APP2.bin 4KB
STM320518_EVAL_SysTick.bin 1KB
stm32f0xx_tim.c 123KB
stm32f0xx_rtc.c 88KB
stm32f0xx_usart.c 80KB
stm32f0xx_i2c_cpal.c 73KB
stm32f0xx_rcc.c 58KB
stm320518_eval_cec.c 58KB
stm320518_eval_lcd.c 57KB
stm32f0xx_i2c.c 55KB
stm32f0xx_spi.c 50KB
fonts.c 46KB
stm32f0xx_adc.c 45KB
stm32f0xx_flash.c 39KB
stm32f0xx_dma.c 28KB
stm320518_eval_spi_sd.c 25KB
stm32f0xx_cec.c 24KB
stm320518_eval_i2c_ee.c 22KB
stm32f0xx_i2c_cpal_hal.c 22KB
stm320518_eval.c 22KB
stm320518_eval_i2c_tsensor.c 21KB
stm320518_eval_i2c_ee_cpal.c 21KB
stm32f0xx_pwr.c 19KB
stm32f0xx_dac.c 19KB
stm32f0xx_gpio.c 18KB
ymodem.c 17KB
stm32f0xx_comp.c 15KB
stm320518_eval_i2c_tsensor_cpal.c 15KB
system_stm32f0xx.c 12KB
system_stm32f0xx.c 12KB
system_stm32f0xx.c 12KB
lcd_log.c 12KB
stm32f0xx_syscfg.c 11KB
stm32f0xx_iwdg.c 11KB
stm32f0xx_exti.c 10KB
stm32f0xx_wwdg.c 10KB
stm32f0xx_crc.c 9KB
LED.c 8KB
menu.c 7KB
stm32f0xx_dbgmcu.c 7KB
common.c 7KB
stm32f0xx_i2c_cpal_usercallback_template.c 7KB
stm32f0xx_misc.c 6KB
flash_if.c 6KB
main.c 5KB
main.c 5KB
stm32f0xx_it.c 4KB
stm32f0xx_it.c 4KB
stm32f0xx_it.c 3KB
UART.c 2KB
syscalls.c 2KB
syscalls.c 2KB
main.c 1KB
.cproject 14KB
.cproject 14KB
.cproject 14KB
.cproject 14KB
ymodem.crf 229KB
stm32f0xx_tim.crf 228KB
stm320518_eval.crf 226KB
main.crf 225KB
stm32f0xx_it.crf 224KB
menu.crf 223KB
stm32f0xx_rtc.crf 223KB
common.crf 221KB
flash_if.crf 221KB
stm32f0xx_usart.crf 216KB
共 378 条
- 1
- 2
- 3
- 4
Jeremy_He1991
- 粉丝: 4
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- sensors-18-03721.pdf
- Facebook.apk
- 推荐一款JTools的call-this-method插件
- json的合法基色来自红包东i请各位
- 项目采用YOLO V4算法模型进行目标检测,使用Deep SORT目标跟踪算法 .zip
- 针对实时视频流和静态图像实现的对象检测和跟踪算法 .zip
- 部署 yolox 算法使用 deepstream.zip
- 基于webmagic、springboot和mybatis的MagicToe Java爬虫设计源码
- 通过实时流协议 (RTSP) 使用 Yolo、OpenCV 和 Python 进行深度学习的对象检测.zip
- 基于Python和HTML的tb商品列表查询分析设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
前往页