[STM32F1] STM32F100R6能IAP下载程序吗?

[复制链接]
1403|3
 楼主| ccxlslr 发表于 2015-9-21 16:07 | 显示全部楼层 |阅读模式
我看AN2557那个程序,不支持STM32F10X_LD_VL!定义如下,没有STM32F10X_LD_VL的

#define ApplicationAddress    0x8003000

#if defined (STM32F10X_MD) || defined (STM32F10X_MD_VL)
#define PAGE_SIZE                         (0x400)    /* 1 Kbyte */
#define FLASH_SIZE                        (0x20000)  /* 128 KBytes */
#elif defined STM32F10X_CL
#define PAGE_SIZE                         (0x800)    /* 2 Kbytes */
#define FLASH_SIZE                        (0x40000)  /* 256 KBytes */
#elif defined STM32F10X_HD || defined (STM32F10X_HD_VL)
#define PAGE_SIZE                         (0x800)    /* 2 Kbytes */
#define FLASH_SIZE                        (0x80000)  /* 512 KBytes */
#elif defined STM32F10X_XL
#define PAGE_SIZE                         (0x800)    /* 2 Kbytes */
#define FLASH_SIZE                        (0x100000) /* 1 MByte */
#else
#error "Please select first the STM32 device to be used (in stm32f10x.h)"   
#endif
布谷鸟2015 发表于 2015-9-21 17:59 来自手机 | 显示全部楼层
这个干嘛用的啊,只贴代码楼主是想给谁看呢?
airwill 发表于 2015-9-21 18:01 | 显示全部楼层
STM32 全系列都能支持  IAP, 只是 F0 系列的 IAP 稍微复杂一些.
你的代码库或许太老, 不支持当时还未出来的新器件吧
xia00 发表于 2015-9-21 18:02 来自手机 | 显示全部楼层
能不能试试看便知道了吧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

68

主题

588

帖子

3

粉丝
快速回复 在线客服 返回列表 返回顶部