摘要
针对传统PIC系列芯片采用Microchip公司推出的PICKIT下载器对程序进行下载存在局限性的问题,在基于ICSP协议的基础上,采用STM32F407对PIC12F1572芯片进行程序下载。代码事先通过编译以HEX文件的形式经由STM32F407发送给PIC12F1572芯片,经校验无误后写入PIC芯片内。实验结果表明,该方法不仅能摆脱利用PICKIT下载程序所带来的局限性,而且能实现多路下载,大大提高了下载效率。
Aiming at the limitation of traditional PIC series chips using PICKIT downloaders produced by MICROCHIP company to download programs,this paper uses STM32F407 to download programs for PIC12F1572 chips on the basis of ICSP protocol.The code is sent to PIC12F1572 chips through HEX file in the form of compilation,and is written into PIC chips after verification.This method can not only get rid of the limitations brought by the use of PICKIT download program,but also can achieve multi-way download,greatly improving the efficiency of download.
作者
袁三男
王鹏
YUAN Sannan;WANG Peng(Shanghai University of Electric Power,Shanghai 200090,China;Ningbo Power Supply Company,State Grid Zhejiang Electric Power Co.,Ltd.,Ningbo,Zhejiang 315000,China)
出处
《上海电力大学学报》
CAS
2023年第6期610-613,共4页
Journal of Shanghai University of Electric Power