摘要
一次性可编程OTP存储器件的数据烧录需要专门的烧录器,而获取读取与烧写的数据则需要专门上位机软件来进行相应的操作。针对国内某反熔丝OTP存储器件,本文主要介绍了如何使用C#语言设计一个通过串口通信实现在PC上进行OPT存储器数据的读写的测试软件。由于必需对OTP存储器的功能进行测试才能得到OPT存储器中被烧录的正确数据,因此怎样使用上位机软件读取到通过串口与PC相连的高性能的OTP存储器中的数据成为一个我们非常关心的课题。C#语法简单,代码重用性高,易于维护,设计出的软件便于测试人员进行操作。在PC与基于STM32的下位机硬件平台连接进行实际测试的实验中表明,利用C#编写出的上位机软件能快速、准确地对OPT存储器进行读取和写入。
One Time Programmable OTP memory device data programming need special programmer, the reading and writing of data accessing requires specialized upper computer software to carry on the corresponding operation. For a domestic antifuse OTP memory device, this paper mainly introduces how to use C# language design a through the serial communication to achieve opt memory data read and write test software on the PC. Due to the necessary of OTP memory function test can be opt memory be burned the correct data. Therefore, how to use PC software to read the data through the serial port and PC connected to the high performance of the OTP memory becomes a subject of a matter of great concern to us. C#'s grammer is simple,code reusing is high,and it is easy to maintain, so the designed software is convenient for testing personnel to operate. In the PC and lower computer hardware platform based on the STM32 connection of actual testing experiments show that PC software written by C# quickly and accurately to the opt memory to read and write.
出处
《电子设计工程》
2016年第13期30-33,共4页
Electronic Design Engineering