# STM32F103RCT6_mcuflash_BootLoader **Repository Path**: lozenyin/stm32-f103-rct6_mcuflash_-boot-loader ## Basic Information - **Project Name**: STM32F103RCT6_mcuflash_BootLoader - **Description**: 基于stm32f103rct6的bootloader程序,基于内部flash - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 1 - **Created**: 2024-08-30 - **Last Updated**: 2025-08-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # STM32F103RCT6的BootLoader程序 > 下载区位于内部flash中,常规BootLoader程序 ## 内部flash布局 总共256K | 区域 | 大小 | 大小
十六进制表示 | 起始地址 | | ------------- | ---- | ---------------------- | ---------- | | bootloader区 | 20K | 0x5000 | 0x08000000 | | 下载区 | 117K | 0x1d400 | 0x08005000 | | 当前app版本区 | 2K | 0x800 | 0x08022400 | | app区 | 117K | 0x1d400 | 0x08022c00 | ## app应用中的keil工程具体配置 flash地址偏移 ![1724830920979](image/readme/1724830920979.png) 中断向量表的偏移 ```bash NVIC_SetVectorTable(NVIC_VectTab_FLASH, (FIRMWAR_APP_START_ADDR-FLASH_BASE_ADDR));// 设置中断向量表的起始地址 __set_PRIMASK(0); ``` ## 关联程序 1. [油气回收检测仪: 重写三项检测仪代码 (gitee.com)](https://gitee.com/lozenyin/oil-and-gas-recovery-detector)