基于SWD协议的ISP技术研究与应用  被引量:4

Research and Implementation of ISP Technology based on SWD

在线阅读下载全文

作  者:王宇 刘浪华 WANG Yu;LIU Langhua(No.30 Institute of CETC,Chengdu Sichuan 610041,China)

机构地区:[1]中国电子科技集团公司第三十研究所,四川成都610041

出  处:《通信技术》2021年第7期1800-1806,共7页Communications Technology

摘  要:传统嵌入式应用中,不便于对微处理器芯片固件进行升级,影响产品后期的维护。通过对ARM嵌入式核调试功能与串行调试(Serial Wire Debug,SWD)协议的研究,实现了芯片ARM内核控制与访问。然后经过对芯片Flash算法文件FLM的研究解析,将提取的Flash相关二进制可执行码在ARM核内部静态随机存储寄存器(Static Random Access Memory,SRAM)中恢复,利用ARM核心寄存器实现参数与Flash函数调用,完成主设备对芯片固件的在线系统编程(In-System Programing,ISP)烧录更新,并通过编程验证了SWD协议时序并实现了应用。In traditional embedded applications,it is inconvenient to upgrade the microprocessor chip firmware,which affects the later maintenance of the product.With the study of ARM embedded core debugging function and SWD(Serial Wire Debug)protocol,the control and access of ARM core registers are realized.Then,through the research and analysis of the chip Flash algorithm file FLM,this article restores the extracted Flash-related binary executable code in the SRAM(Static Random Access Memory)inside the ARM core.It uses ARM core registers to implement parameters and Flash function calls,completes the insystem programming(ISP)burning and updating of the chip firmware by the host device,and verifies the SWD protocol timing through programming and realizes the application.

关 键 词:SWD ARM ISP编程 嵌入式系统 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象