中圖分類號:TN41 文獻標志碼:A DOI: 10.16157/j.issn.0258-7998.223327 中文引用格式: 雷志軍,,雷志廣,,蔣炯煒. 基于CCS開發(fā)環(huán)境下Flash算法的研究與實現(xiàn)[J]. 電子技術應用,2023,,49(7):110-114. 英文引用格式: Lei Zhijun,,Lei Zhiguang,Jiang Jiongwei. Research and implementation of flash algorithm based on CCS development environment[J]. Application of Electronic Technique,,2023,,49(7):110-114.
Research and implementation of flash algorithm based on CCS development environment
Lei Zhijun1,Lei Zhiguang2,,Jiang Jiongwei1
(1.The 58th Research Institute,, CETC, Wuxi 214000,, China,;2.Lanzhou Institute of Physics, CAST,, Lanzhou 730000,,China)
Abstract: When CCS calls TI's own flash algorithm to operate on-chip flash, it takes a long time to erase, program and verify, which can easily lead to system hardware watchdog count overflow and system reset. The traditional processing methods require the user to modify the hardware or software each time the flash is programmed. There is a large human element to the finished system board. In order to avoid the potential risk of products being locked due to the above-mentioned human factors, this paper provides a set of general-purpose, easy-to-implement flash algorithms that can exclude human factors. Instead of the flash algorithm that comes with CCS, it adds a pointer to the dog feeding function or other user-customized function pointers, so as to solve the embarrassing situation that the user cannot feed the dog or other functions when CCS operates flash. The test results show that the flash algorithm can add custom functions and dog feeding functions according to user needs, avoid changes to software or hardware, and improve the stability and reliability of the system in the debugging stage.
Key words : DSP processor;CCS,;flash;watchdog;flash algorithm