实验50 串口IAP实验

所属分类:单片机开发
开发工具:C/C++
文件大小:4951KB
下载次数:7
上传日期:2020-04-26 09:18:22
上 传 者bigaij
说明:  STM32F407 IAP 例程,stm32在系统编程iap升级
(Stm32f407 IAP demo code)

文件列表:
实验50 串口IAP实验 (0, 2020-04-26)
实验50 串口IAP实验\IAP Bootloader V1.0 (0, 2020-04-26)
实验50 串口IAP实验\IAP Bootloader V1.0\CORE (0, 2020-04-26)
实验50 串口IAP实验\IAP Bootloader V1.0\CORE\core_cm4.h (109142, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\CORE\core_cm4_simd.h (22735, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\CORE\core_cmFunc.h (17146, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\CORE\core_cmInstr.h (20513, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\CORE\startup_stm32f40_41xxx.s (29605, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB (0, 2020-04-26)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc (0, 2020-04-26)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\misc.h (6924, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_adc.h (32880, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_can.h (27318, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_crc.h (2416, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_cryp.h (14481, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_dac.h (14946, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_dbgmcu.h (4296, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_dcmi.h (12977, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_dma.h (28882, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_dma2d.h (19692, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_exti.h (8012, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_flash.h (24467, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_flash_ramfunc.h (3275, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_fmc.h (44924, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_fsmc.h (27181, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_gpio.h (23548, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_hash.h (10084, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_i2c.h (31939, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_iwdg.h (4323, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_ltdc.h (21191, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_pwr.h (7728, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_rcc.h (30063, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_rng.h (3958, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_rtc.h (40546, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_sai.h (25470, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_sdio.h (22777, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_spi.h (21178, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_syscfg.h (8974, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_tim.h (51689, 2016-04-15)
实验50 串口IAP实验\IAP Bootloader V1.0\FWLIB\inc\stm32f4xx_usart.h (17935, 2016-04-15)
... ...

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

近期下载者

相关文件


收藏者