• 大小: 5.49MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-17
  • 语言: 其他
  • 标签: bootloader  

资源简介

根据原子的IAP例程修改好的适用于stm32f103c8t6,iap只占用不到5k,但是分给bootloader有10K的flash,剩下的54k留给了app,我的例程app只分了50k,这个大家可以自行修改。注意事项都在readme.txt里面,有问题联系我Q:634401387。谢谢。

资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @file    system_stm32f10x.c
  * @author  MCD Application Team
  * @version V3.5.0
  * @date    11-March-2011
  * @brief   CMSIS Cortex-M3 Device Peripheral Access layer System Source File.
  * 
  * 1.  This file provides two functions and one global variable to be called from 
  *     user application:
  *      - SystemInit(): Setups the system clock (System clock source PLL Multiplier
  *                      factors AHB/APBx prescalers and Flash settings). 
  *                      This function is called at startup just after reset and 
  *                      before branch to main program. This call is made inside
  *                      the “startup_stm32f10x_xx.s“ file.
  *
  *      - SystemCoreClock variable: Contains the core clock (HCLK) it can be used
  *                                  by the user application to setup the SysTick 
  *                                  timer or configure other parameters.
  *                                     
  *      - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
  *                                 be called whenever the core clock is changed
  *                                 during program execution.
  *
  * 2. After each device reset the HSI (8 MHz) is used as system clock source.
  *    Then SystemInit() function is called in “startup_stm32f10x_xx.s“ file to
  *    configure the system clock before to branch to main program.
  *
  * 3. If the system clock source selected by user fails to startup the SystemInit()
  *    function will do nothing and HSI still used as system clock source. User can 
  *    add some code to deal with this issue inside the SetSysClock() function.
  *
  * 4. The default value of HSE crystal is set to 8 MHz (or 25 MHz depedning on
  *    the product used) refer to “HSE_VALUE“ define in “stm32f10x.h“ file. 
  *    When HSE is used as system clock source directly or through PLL and you
  *    are using different crystal you have to adapt the HSE value to your own
  *    configuration.
  *        
  ******************************************************************************
  * @attention
  *
  * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
  * TIME. AS A RESULT STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
  * DIRECT INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
  * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
  * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  *
  * 

© COPYRIGHT 2011 STMicroelectronics


  ******************************************************************************
  */

/** @addtogroup CMSIS
  * @{
  */

/** @addtogroup stm32f10x_system
  * @{
  *

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1876  2017-08-29 18:38  b.bin

     文件       1876  2017-08-29 18:07  g.bin

     文件       2256  2017-08-29 18:07  r.bin

     文件       6956  2015-12-10 17:06  stm32f103c8t6-IAP1.0\DebugConfig\Target_1_STM32F103RB.dbgconf

     文件      73542  2017-09-01 10:06  stm32f103c8t6-IAP1.0\JlinkLog.txt

     文件        671  2017-08-24 17:04  stm32f103c8t6-IAP1.0\JlinkSettings.ini

     文件      82082  2017-09-01 10:19  stm32f103c8t6-IAP1.0\Listings\newProj.map

     文件      43858  2017-09-01 10:02  stm32f103c8t6-IAP1.0\Listings\startup_stm32f10x_md.lst

     文件     167331  2017-03-12 16:47  stm32f103c8t6-IAP1.0\newProj.uvguix.Administrator

     文件     167520  2017-03-11 17:52  stm32f103c8t6-IAP1.0\newProj.uvguix.Administrator.bak

    .......    138956  2017-09-01 10:23  stm32f103c8t6-IAP1.0\newProj.uvguix.new

    .......     14259  2017-09-01 10:23  stm32f103c8t6-IAP1.0\newProj.uvoptx

    .......     25620  2017-08-25 18:37  stm32f103c8t6-IAP1.0\newProj.uvprojx

     文件         19  2017-09-01 10:05  stm32f103c8t6-IAP1.0\objects\ExtDll.iex

     文件     269382  2017-08-25 13:34  stm32f103c8t6-IAP1.0\objects\exti.crf

     文件       1471  2017-08-25 13:34  stm32f103c8t6-IAP1.0\objects\exti.d

     文件     270279  2017-09-01 10:02  stm32f103c8t6-IAP1.0\objects\gpio_stm32f10x.crf

     文件       1723  2017-09-01 10:02  stm32f103c8t6-IAP1.0\objects\gpio_stm32f10x.d

     文件     292508  2017-09-01 10:02  stm32f103c8t6-IAP1.0\objects\gpio_stm32f10x.o

     文件     270031  2017-09-01 10:02  stm32f103c8t6-IAP1.0\objects\iap.crf

     文件       1508  2017-09-01 10:02  stm32f103c8t6-IAP1.0\objects\iap.d

     文件     292168  2017-09-01 10:02  stm32f103c8t6-IAP1.0\objects\iap.o

     文件     270440  2017-09-01 10:19  stm32f103c8t6-IAP1.0\objects\main.crf

     文件       1560  2017-09-01 10:19  stm32f103c8t6-IAP1.0\objects\main.d

     文件     294208  2017-09-01 10:19  stm32f103c8t6-IAP1.0\objects\main.o

     文件     264695  2017-09-01 10:02  stm32f103c8t6-IAP1.0\objects\misc.crf

     文件       1502  2017-09-01 10:02  stm32f103c8t6-IAP1.0\objects\misc.d

     文件     290060  2017-09-01 10:02  stm32f103c8t6-IAP1.0\objects\misc.o

     文件     305576  2017-09-01 10:19  stm32f103c8t6-IAP1.0\objects\newProj.axf

     文件       7387  2017-09-01 10:23  stm32f103c8t6-IAP1.0\objects\newProj.build_log.htm

............此处省略332个文件信息

评论

共有 条评论