Article Details

Title · Authors · Abstract · Keywords · DOI · References

Design and Implementation of 32-bit Microcontroller Unit Offline Downloader Based on CKS

GAO Jiaping, LI Yu

(China Key System and Integrated Circuit Co., Ltd., Wuxi 214072, China)

Section:Electronic Engineering · Vol. 2025, Issue 6 · Pages:10-13,19 · 2096-4706(2025)06-0010-05 · CLC number:TP368.1 · Document code:A · DOI:10.19850/j.cnki.2096-4706.2025.06.003

Abstract

The existing offline downloader has insufficient compatibility with the 32-bit Microcontroller Unit (MCU) of the CKS series. In a computer-free environment, the need for convenient program downloads for 32-bit MCU is more urgent. Especially in the mass production of the production line, it is necessary to download the program efficiently and continuously. In view of the above problems, this paper proposes a design scheme of offline downloader based on CKS32 MCU. In this scheme, the target program file is downloaded through the computer-side host computer software through the USB interface and stored in the FLASH chip external to the CKS32 MCU. With CKS32 MCU as the core controller, it uses JTAG/SWD download protocol to transfer the program files stored in FLASH to the 32-bit MCU of the target board. This solution can achieve efficient and convenient offline download function.

Keywords

CKS; 32-bit MCU; JTAG/SWD

References

  1. [1] Chen Cong Design of Multi functional Program Downloader Based on STM32 [J]. Information and Communication, 2020 (6): 130-132
  2. [2] Shi Xingqiang, Bao Yipeng Implementation and simulation of SWD protocol based on HDL tasks [J]. Electronics and Packaging, 2019, 19 (1): 32-36
  3. [3] Yang Yang, Zheng Zihao Design and Implementation of Long Distance Transmission JTAG Interface [C]//Proceedings of the 2020 Academic Annual Meeting of the Science and Technology Committee of the China Academy of Aerospace Electronics Technology Beijing: Science and Technology Committee of China Academy of Aerospace Electronics Technology: Aerospace Electronics Development Strategy Research Center, 2020:39-49
  4. [4] Zhang Meijuan, Xin Kunpeng, Wang Lijuan, etc Design and Implementation of Efficient Debugging System Based on JTAG [J]. Electronic Technology Applications, 2023, 49 (4): 39-43
  5. [5] Wang Xiguo Design of SWD simulation environment for development tool [J]. China Integrated Circuit, 2024, 33 (4): 70-74
  6. [6] Shi Pan, Lei Yingdong, He Dongwei, etc Design of STM32 Offline Downloader Based on HID [J]. Mechatronics, 2017, 23 (1): 53-56+72
  7. [7] Deng Yixing, Fu Jiaye, Hu Zhongze FPGA online upgrade design for MCU simulation JTAG [J]. Integrated Circuits and Embedded Systems, 2024, 24 (6): 71-76
  8. [8] Liu Xuelan, Tian Hongwei Design and Implementation of Multi loop Wireless Lighting Controller MCU Offline Downloader [J]. Microcomputer and Application, 2016, 35 (24): 98-100
  9. [9] Wang Yu, Liu Langhua Research and Application of ISP Technology Based on SWD Protocol [J]. Communication Technology, 2021, 54 (7): 1800-1806
  10. [10] Huang Yaping Research on SWD Protocol and Design of ARM Program Downloader [D]. Wuhan: Hubei University, 2012

Funding

Research and industrialization of high-performance real-time microprocessor series products for the transformation of scientific and technological achievements in Jiangsu Province (BA2019012)

About the authors

Gao Jiaping (1988-), male, Han ethnicity, from Panjin, Liaoning, is an engineer with a bachelor's degree. His research focuses on testing, verification, and application design of 32-bit MCUs.