资源简介

编写好的基于STM32F207的串口IAP程序,也就是引导加载程序(Bootloader)分配64K的内存大小,可通过串口发送.BIN文件直接升级APP程序。

资源截图

代码片段和文件信息

/**************************************************************************//**
 * @file     core_cm3.c
 * @brief    CMSIS Cortex-M3 Core Peripheral Access layer Source File
 * @version  V1.30
 * @date     30. October 2009
 *
 * @note
 * Copyright (C) 2009 ARM Limited. All rights reserved.
 *
 * @par
 * ARM Limited (ARM) is supplying this software for use with Cortex-M 
 * processor based microcontrollers.  This file can be freely distributed 
 * within development tools that are supporting such ARM based processors. 
 *
 * @par
 * THIS SOFTWARE IS PROVIDED “AS IS“.  NO WARRANTIES WHETHER EXPRESS IMPLIED
 * OR STATUTORY INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
 * ARM SHALL NOT IN ANY CIRCUMSTANCES BE LIABLE FOR SPECIAL INCIDENTAL OR
 * CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER.
 *
 ******************************************************************************/

#include 

/* define compiler specific symbols */
#if defined ( __CC_ARM   )
  #define __ASM            __asm                                      /*!< asm keyword for ARM Compiler          */
  #define __INLINE         __inline                                   /*!< inline keyword for ARM Compiler       */

#elif defined ( __ICCARM__ )
  #define __ASM           __asm                                       /*!< asm keyword for IAR Compiler          */
  #define __INLINE        inline                                      /*!< inline keyword for IAR Compiler. Only avaiable in High optimization mode! */

#elif defined   (  __GNUC__  )
  #define __ASM            __asm                                      /*!< asm keyword for GNU Compiler          */
  #define __INLINE         inline                                     /*!< inline keyword for GNU Compiler       */

#elif defined   (  __TASKING__  )
  #define __ASM            __asm                                      /*!< asm keyword for TASKING Compiler      */
  #define __INLINE         inline                                     /*!< inline keyword for TASKING Compiler   */

#endif


/* ###################  Compiler specific Intrinsics  ########################### */

#if defined ( __CC_ARM   ) /*------------------RealView Compiler -----------------*/
/* ARM armcc specific functions */

/**
 * @brief  Return the Process Stack Pointer
 *
 * @return ProcessStackPointer
 *
 * Return the actual process stack pointer
 */
__ASM uint32_t __get_PSP(void)
{
  mrs r0 psp
  bx lr
}

/**
 * @brief  Set the Process Stack Pointer
 *
 * @param  topOfProcStack  Process Stack Pointer
 *
 * Assign the value ProcessStackPointer to the MSP 
 * (process stack pointer) Cortex processor register
 */
__ASM void __set_PSP(uint32_t topOfProcStack)
{
  msr psp r0
  bx lr
}

/**
 * @brief  Return the Main Stack Pointer
 *
 * @return Main Stack Pointer
 *
 * Return the curren

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

     文件      17273  2017-05-10 09:53  Bootloader_串口\CORE\core_cm3.c

     文件      85714  2017-05-10 09:53  Bootloader_串口\CORE\core_cm3.h

     文件      29255  2017-05-10 09:53  Bootloader_串口\CORE\startup_stm32f2xx.s

     文件       7930  2019-03-05 12:49  Bootloader_串口\HARDWARE\DELAY\delay.c

     文件       2015  2019-03-05 12:50  Bootloader_串口\HARDWARE\DELAY\delay.h

     文件       1682  2019-03-05 18:00  Bootloader_串口\HARDWARE\IAP\iap.c

     文件        978  2019-03-05 17:31  Bootloader_串口\HARDWARE\IAP\iap.h

     文件       3462  2016-04-15 22:00  Bootloader_串口\HARDWARE\STMFLASH\stmflash.c

     文件       1962  2019-03-05 17:31  Bootloader_串口\HARDWARE\STMFLASH\stmflash.h

     文件       3117  2019-03-05 18:13  Bootloader_串口\HARDWARE\USART\usart.c

     文件        388  2019-03-05 18:14  Bootloader_串口\HARDWARE\USART\usart.h

     文件       5873  2019-03-05 14:41  Bootloader_串口\HARDWARE\USB\inc\usbd_conf.h

     文件       4165  2017-05-04 23:01  Bootloader_串口\HARDWARE\USB\inc\usbd_conf_template.h

     文件       5636  2017-05-04 23:01  Bootloader_串口\HARDWARE\USB\inc\usbd_core.h

     文件       2680  2017-05-04 23:01  Bootloader_串口\HARDWARE\USB\inc\usbd_ctlreq.h

     文件      11616  2017-05-04 23:01  Bootloader_串口\HARDWARE\USB\inc\usbd_def.h

     文件       3672  2017-05-25 21:18  Bootloader_串口\HARDWARE\USB\inc\usbd_desc.h

     文件       7466  2017-05-04 23:01  Bootloader_串口\HARDWARE\USB\inc\usbd_dfu.h

     文件       4098  2017-05-25 21:18  Bootloader_串口\HARDWARE\USB\inc\usbd_dfu_if.h

     文件       2318  2017-05-04 23:01  Bootloader_串口\HARDWARE\USB\inc\usbd_dfu_media_template.h

     文件       3187  2017-05-04 23:01  Bootloader_串口\HARDWARE\USB\inc\usbd_ioreq.h

     文件       3207  2017-05-25 21:18  Bootloader_串口\HARDWARE\USB\inc\usb_device.h

     文件      20741  2017-05-25 21:18  Bootloader_串口\HARDWARE\USB\src\usbd_conf.c

     文件       6397  2017-05-04 23:01  Bootloader_串口\HARDWARE\USB\src\usbd_conf_template.c

     文件      12668  2017-05-04 23:01  Bootloader_串口\HARDWARE\USB\src\usbd_core.c

     文件      18410  2017-05-04 23:01  Bootloader_串口\HARDWARE\USB\src\usbd_ctlreq.c

     文件      10093  2017-05-25 21:18  Bootloader_串口\HARDWARE\USB\src\usbd_desc.c

     文件      32052  2017-05-04 23:01  Bootloader_串口\HARDWARE\USB\src\usbd_dfu.c

     文件       9294  2017-05-25 21:28  Bootloader_串口\HARDWARE\USB\src\usbd_dfu_if.c

     文件       4294  2017-05-04 23:01  Bootloader_串口\HARDWARE\USB\src\usbd_dfu_media_template.c

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

评论

共有 条评论