/**
@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>
*/
没有合适的资源?快使用搜索试试~ 我知道了~
STM32F051_IAP.rar_Ymodern_stm32F030 示例_stm32f051_stm32f051 iap_y
共246个文件
h:56个
c:46个
o:30个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 46 浏览量
2022-09-23
17:17:06
上传
评论
收藏 4.57MB RAR 举报
温馨提示
stm32 在应用可编程的示例,串口Ymodern协议
资源详情
资源评论
资源推荐
收起资源包目录
STM32F051_IAP.rar_Ymodern_stm32F030 示例_stm32f051_stm32f051 iap_y (246个子文件)
Project.uvgui.Administrator 71KB
STM320518_EVAL.axf 216KB
Project.uvgui_Administrator.bak 74KB
axftobin.bat 256B
TASKING_hextobin.bat 220B
TrueSTUDIO_elf2bin.bat 199B
STM320518_EVAL_SysTick.bin 1KB
logo.bmp 7KB
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
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
syscalls.c 2KB
.cproject 14KB
.cproject 14KB
ymodem.crf 228KB
stm32f0xx_tim.crf 228KB
stm320518_eval.crf 226KB
main.crf 224KB
stm32f0xx_it.crf 224KB
menu.crf 223KB
stm32f0xx_rtc.crf 223KB
common.crf 221KB
flash_if.crf 221KB
stm32f0xx_usart.crf 216KB
stm32f0xx_rcc.crf 215KB
stm32f0xx_i2c.crf 214KB
stm32f0xx_flash.crf 214KB
stm32f0xx_spi.crf 213KB
stm32f0xx_adc.crf 212KB
stm32f0xx_dac.crf 210KB
stm32f0xx_dma.crf 210KB
stm32f0xx_gpio.crf 210KB
stm32f0xx_cec.crf 209KB
system_stm32f0xx.crf 209KB
stm32f0xx_pwr.crf 209KB
stm32f0xx_exti.crf 209KB
stm32f0xx_syscfg.crf 209KB
stm32f0xx_comp.crf 209KB
stm32f0xx_crc.crf 208KB
stm32f0xx_wwdg.crf 208KB
stm32f0xx_iwdg.crf 208KB
stm32f0xx_dbgmcu.crf 208KB
stm32f0xx_misc.crf 208KB
stm32f0xx_it.d 3KB
stm320518_eval.d 3KB
stm32f0xx_syscfg.d 3KB
stm32f0xx_dbgmcu.d 3KB
stm32f0xx_flash.d 3KB
stm32f0xx_usart.d 3KB
stm32f0xx_gpio.d 3KB
stm32f0xx_misc.d 3KB
stm32f0xx_iwdg.d 3KB
stm32f0xx_wwdg.d 3KB
stm32f0xx_comp.d 3KB
stm32f0xx_exti.d 3KB
ymodem.d 3KB
stm32f0xx_rtc.d 3KB
stm32f0xx_spi.d 3KB
共 246 条
- 1
- 2
- 3
我虽横行却不霸道
- 粉丝: 75
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0