资源简介
STM32F103C8T6 IAP-串口在线升级,实现通过串口在程序中升级原程序
代码片段和文件信息
/**************************************************************************//**
* @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 2010-06-07 10:25 IAP-串口升级(stm32f103c8t6)\IAP\CORE\core_cm3.c
文件 85714 2011-02-09 14:59 IAP-串口升级(stm32f103c8t6)\IAP\CORE\core_cm3.h
文件 12958 2014-03-21 11:29 IAP-串口升级(stm32f103c8t6)\IAP\CORE\startup_stm32f10x_md.s
文件 1827 2017-09-13 21:05 IAP-串口升级(stm32f103c8t6)\IAP\HARDWARE\KEY\key.c
文件 1186 2017-09-13 21:19 IAP-串口升级(stm32f103c8t6)\IAP\HARDWARE\KEY\key.h
文件 35016 2015-03-13 14:54 IAP-串口升级(stm32f103c8t6)\IAP\HARDWARE\LCD\font.h
文件 85363 2015-04-24 11:50 IAP-串口升级(stm32f103c8t6)\IAP\HARDWARE\LCD\lcd.c
文件 7529 2015-04-24 11:48 IAP-串口升级(stm32f103c8t6)\IAP\HARDWARE\LCD\lcd.h
文件 1298 2012-09-13 13:13 IAP-串口升级(stm32f103c8t6)\IAP\HARDWARE\LED\led.c
文件 638 2012-09-13 09:45 IAP-串口升级(stm32f103c8t6)\IAP\HARDWARE\LED\led.h
文件 3737 2017-09-26 17:00 IAP-串口升级(stm32f103c8t6)\IAP\HARDWARE\STMFLASH\stmflash.c
文件 1588 2017-09-26 14:24 IAP-串口升级(stm32f103c8t6)\IAP\HARDWARE\STMFLASH\stmflash.h
文件 1645 2017-09-26 13:39 IAP-串口升级(stm32f103c8t6)\IAP\IAP\iap.c
文件 1018 2017-09-13 21:39 IAP-串口升级(stm32f103c8t6)\IAP\IAP\iap.h
文件 399 2011-04-23 10:24 IAP-串口升级(stm32f103c8t6)\IAP\keilkilll.bat
文件 3942 2017-09-26 14:21 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\core_cm3.crf
文件 104 2017-09-26 14:21 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\core_cm3.d
文件 11280 2017-09-26 14:21 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\core_cm3.o
文件 348302 2017-09-26 14:21 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\delay.crf
文件 1669 2017-09-26 14:21 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\delay.d
文件 382172 2017-09-26 14:21 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\delay.o
文件 322548 2017-09-26 17:00 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\IAP.axf
文件 1407 2017-09-26 17:00 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\IAP.build_log.htm
文件 353959 2017-09-26 14:24 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\iap.crf
文件 1767 2017-09-26 14:24 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\iap.d
文件 22490 2017-09-26 17:00 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\IAP.hex
文件 63601 2017-09-26 17:00 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\IAP.htm
文件 619 2017-09-26 17:00 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\IAP.lnp
文件 387728 2017-09-26 14:24 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\iap.o
文件 479 2017-09-14 16:51 IAP-串口升级(stm32f103c8t6)\IAP\OBJ\IAP.sct
............此处省略282个文件信息
- 上一篇:化妆品购物网页
- 下一篇:无线充电芯片XKT-412的一些资料
评论
共有 条评论