串口IAP实验

所属分类:其他
开发工具:C/C++
文件大小:1032KB
下载次数:3
上传日期:2020-02-27 14:37:24
上 传 者weijian
说明:  学习STM32的IAP功能,掌握IAP的使用.
(Learn the IAP function of STM32 and master the use of IAP)

文件列表:
串口IAP实验\IAP bootLoader V1.0\CORE\core_cm3.c (17273, 2010-06-07)
串口IAP实验\IAP bootLoader V1.0\CORE\core_cm3.h (85714, 2011-02-09)
串口IAP实验\IAP bootLoader V1.0\CORE\startup_stm32f10x_hd.s (15503, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\CORE\startup_stm32f10x_md.s (12765, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\HARDWARE\KEY\key.c (1977, 2014-03-20)
串口IAP实验\IAP bootLoader V1.0\HARDWARE\KEY\key.h (1013, 2014-03-20)
串口IAP实验\IAP bootLoader V1.0\HARDWARE\LCD\FONT.H (35016, 2014-01-02)
串口IAP实验\IAP bootLoader V1.0\HARDWARE\LCD\lcd.c (85631, 2015-08-12)
串口IAP实验\IAP bootLoader V1.0\HARDWARE\LCD\lcd.h (8193, 2015-08-12)
串口IAP实验\IAP bootLoader V1.0\HARDWARE\LED\led.c (1301, 2014-03-20)
串口IAP实验\IAP bootLoader V1.0\HARDWARE\LED\led.h (640, 2014-03-20)
串口IAP实验\IAP bootLoader V1.0\HARDWARE\STMFLASH\stmflash.c (3815, 2014-03-22)
串口IAP实验\IAP bootLoader V1.0\HARDWARE\STMFLASH\stmflash.h (1590, 2014-03-22)
串口IAP实验\IAP bootLoader V1.0\IAP\iap.c (1612, 2014-01-08)
串口IAP实验\IAP bootLoader V1.0\IAP\iap.h (970, 2014-03-22)
串口IAP实验\IAP bootLoader V1.0\keilkilll.bat (399, 2011-04-23)
串口IAP实验\IAP bootLoader V1.0\OBJ\STMFLASH.hex (107143, 2015-08-13)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\misc.h (8982, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_adc.h (21690, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_bkp.h (7555, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_can.h (27559, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_cec.h (6573, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_crc.h (2162, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_dac.h (15233, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h (3818, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_dma.h (20754, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_exti.h (6824, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_flash.h (25445, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_fsmc.h (27016, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_gpio.h (20175, 2012-09-13)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_i2c.h (30029, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_iwdg.h (3828, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_pwr.h (4383, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_rcc.h (30452, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_rtc.h (3857, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_sdio.h (21863, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_spi.h (17725, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_tim.h (52427, 2011-03-10)
串口IAP实验\IAP bootLoader V1.0\STM32F10x_FWLib\inc\stm32f10x_usart.h (16548, 2012-09-11)
... ...

实验器材: MiniSTM32F103开发板V3版本 实验目的: 学习STM32的IAP功能,掌握IAP的使用. 硬件资源: 1,DS0(连接在PA8) 2,串口1(波特率:25600,PA9/PA10连接在板载USB转串口芯片CH340上面) 3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过GPIO驱动,连接关系见lcd.h) 4,按键KEY0(PC5)/KEY1(PA15)/KEY_UP(PA0,也称之为WK_UP) 实验现象: 本实验开机的时候先显示提示信息,然后等待串口输入接收APP程序(无校验,一次性接收),在串口接收 到APP程序之后,即可执行IAP。如果是SRAM APP,通过按下KEY0即可执行这个收到的SRAM APP程序。如果 是FLASH APP,则需要先按下KEY_UP按键,将串口接收到的APP程序存放到STM32的FLASH,之后再按KEY1即 可以执行这个FLASH APP程序。 注意事项: 1,4.3寸和7寸屏需要比较大电流,USB供电可能不足,请用外部电源供电(5V电源,接VOUT2即可). 2,本例程在LCD_Init函数里面(在ILI93xx.c),用到了printf,如果不初始化串口1,将导致液晶无法显示!! 3,LCD模块在开发板的LCD接口上面,必须靠右插 4,不要把1820和PA0的跳线帽跳上,否则可能导致按键"不灵". 5,本实验串口1波特率需要设置为:25600!!! 6,本实验下载成功后,需用串口调试助手发送SRAM APP/FLASH APP等APP代码(.bin文件)验证IAP功能. 7,SRAM APP代码的起始地址必须是:0X20001000,FLASH APP代码的起始地址必须是:0x08010000. 8,大家在创建APP代码的时候,切记要设置中断向量偏移量!! 正点原子@ALIENTEK 2014-3-15 广州市星翼电子科技有限公司 电话:020-38271790 传真:020-36773971 购买:http://shop62103354.taobao.com http://shop62057469.taobao.com 公司网站:www.alientek.com 技术论坛:www.openedv.com

近期下载者

相关文件


收藏者