IAP升级——STM32F429NIH6
APP程序部分
--- **1.设置bootloader使用的ROM空间,如0x00010000=64K**2.设置中断向量表的偏移量并更改跳转判断标志位
#include "FlashData.h"
int main(void)
{
/* USER CODE BEGIN 1 */
SCB->VTOR = FLASH_BASE | 0x10000; /* Vector Table Relocation in Internal FLASH. */
...
}
3.生成bin文件
fromelf-- bin - o APP.bin Bootloader\Bootloader.axf
-- -- -- -- -- -- -- -- -名字.bin 工程名文件夹\工程名.axf