为了解决运用LatticeFPGA的深度嵌入式应用环境不便于升级维护的问题,提出一种基于STM32的新型脱机编程方案。该方案由上位机软件和基于STM32的脱机编程器两部分组成,实现了PC端的熔丝图VME文件格式转换、优化、管理及传输至脱机编程器和编程器上VME文件的存储、选择及下载功能。设计的脱机系统摆脱了传统的FPGA器件编程方式对PC机的依赖,提高了编程效率。通过测试及实际应用结果表明,该脱机编程系统具有便携、灵活、稳定的特点,能够有效地满足目标应用的生产、维护、升级需求。
It is inconvenient to update and maintain the deeply?embedded application environment with Lattice FPGA,a novel off?line programming scheme based on STM32 is proposed. The scheme is composed of the off?line programmer based on STM32 and upper computer software,which can realize the VME file format conversion,optimization and management of the fuse figure in PC terminal,and VME file storage,selection and download function in off?line programmer and programmer. The off-lime system is rid of the dependency of PC on traditional FPGA programming method,and improves the programming effi?ciency. The test and practical application results show that the off?line programming system has the characteristics of portable use,flexibility and stability,and can meet the requirements of production,update and maintenance of the target applications.