The present invention relates to a OTP Memory function of the realization of IAP technology, the integration of Pump Circuit/IAP write /OTP control algorithm, the realization of OTP IAP function, the OTP chip in the program recording, data storage and reduce the cost of the system is very convenient. The invention is characterized in that: Pump Circuit, inside the chip in the self programming OTP programming control register, the realization of IAP function; custom communication protocol, through the serial interface (USB or UART) under the instruction book have a fever inside the chip, using the IAP function to complete the program recording; using the IAP function in the application program, recording record data; through the algorithm and the reasonable data structure to avoid the recorded area, achieve multiple records requirements.
【技术实现步骤摘要】
一种适用于OTPMemory内实现IAP功能的技术方法
本专利技术可应用于信息存储领域中,尤其涉及一种适用于OTPMemory内实现IAP的技术方法。
技术介绍
目前,在MCU应用中,以OTPMemory作为程序载体的芯片中,OTP需要额外的外部工具实现程序烧录,烧录需要复杂的高压控制电缆以及并行通讯总线控制系统。在应用中若需要永久保存数据信息,需要在系统方案中外接EEPROM或Flash,通过外部存储器保存数据,系统成本较高,,占用集成电路板的空间大。本专利技术整合PumpCircuit/IAP控制/OTP写算法,实现OTPIAP功能,使OTP芯片在程序烧录,数据保存非常方便,且降低系统成本。
技术实现思路
本专利技术提出一种适用于OTPMemory内实现IAP功能的技术方法,该方法是这样实现的:在芯片内部内建PumpCircuit、自编程OTP烧录控制寄存器,实现IAP功能;自定义通讯协议,通过串行接口(USB或UART)下发烧录指令,利用芯片内部的IAP功能完成程序烧录;在应用程序中利用IAP功能,烧录需要记录的数据;通过算法与合理的数据结构避开已经记录过的区域,实现多次记录的需求。本专利技术适用于OTPMemory内实现IAP功能,它包括以下步骤:S1:OTP芯片内部实现自升压,满足烧录高电压需求;OTP烧录时需要提供比正常工作电压高数倍的电压,一般为7.5V左右,本专利技术在芯片内部内建PumpCircuit,在无外部高压的情况下,芯片内部利用PumpCircuit自实现升压功能,以满足OTP烧录所需的高电压需求;S2:内建关联寄存器,实现IAP功能 ...
【技术保护点】
一种适用于OTP Memory内实现IAP功能的技术方法,其特征在于,整合Pump Circuit/IAP控制/OTP写算法,实现OTP IAP功能。
【技术特征摘要】
1.一种适用于OTPMemory内实现IAP功能的技术方法,其特征在于,整合PumpCircuit/IAP控制/OTP写算法,实现OTPIAP功能。2.根据权利要求1所述,其特征在于,OTP芯片内部实现自升压,满足烧录高电压需求;在芯片内部内建PumpCircuit,在无外部高压的情况下,芯片内部利用PumpCircuit自实现升压功能,以满足OTP烧录所需的高电压需...
【专利技术属性】
技术研发人员:汪正峰,刘伟,刘江,
申请(专利权)人:合肥宏晶微电子科技股份有限公司,
类型:发明
国别省市:安徽,34
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。