检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:俞庆 刘贯营 Yu Qing;Liu Guanying(Nanjing SUMEC Intelligence Technology Co.,Ltd.,Nanjing 210032,China)
机构地区:[1]南京苏美达智能技术有限公司,南京210032
出 处:《单片机与嵌入式系统应用》2023年第9期24-28,共5页Microcontrollers & Embedded Systems
摘 要:为了在不具备中断向量硬件重定位的普通Cortex-M0架构MCU上实现IAP功能,提出了一种中断向量重定位的通用方法。该方法不依赖于MCU的硬件特性,而是基于软件实现梯子函数,从而实现中断向量的重定位。文中深入研究了该方法并进行了改进,大幅减小了中断向量重定位过程中的时间开销,提升了中断响应速度。本文以STM32F030为对象,详细介绍了该方法的原理,给出了Keil环境下梯子函数的实现代码和分散加载文件的写法。目前,该方法已经在实际产品中得到检验和推广。In order to implement the IAP function on the common Cortex-M0 MCU which does not support interrupt vector hardware relocation,a general method of interrupt vector relocation is proposed.This method does not depend on the hardware characteristics of MCU,but it is based on the ladder function implemented by software,and then realizes the relocation of interrupt vector with the ladder function.In this paper,the method is deeply studied and improved,which greatly reduces the time cost in the process of interrupt vector relocation and improves the interrupt response speed.Taking STM32F030 as the object,the paper introduces the principle of this method in detail,and gives the implementation code of ladder function and the writing method of scatter-loading file under Keil environment.At present,the method has been tested and promoted in products.
关 键 词:CORTEX-M0 IAP BOOTLOADER 中断重定位 STM32F030
分 类 号:TP302[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.22.70.233