Supercharge Your Innovation With Domain-Expert AI Agents!

CPLD firmware updating method

A firmware update and protocol update technology, applied in the field of information, can solve the problems of inconvenient portability, high labor cost, complex disassembly operations, etc., and achieve the effect of saving development costs, reducing production costs, and speeding up development and maintenance.

Pending Publication Date: 2021-04-30
浙江日风电气股份有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the methods for upgrading the firmware of CPLD in the existing technology mainly include ISP online upgrade and upgrade by using a burner. Both of these solutions require a special burner tool, which is inconvenient to carry.
If it is necessary to upgrade the firmware of the CPLD in the case, more complex disassembly operations are required, resulting in higher labor costs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • CPLD firmware updating method
  • CPLD firmware updating method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0018] see Figure 1-2 , embodiment 1: a kind of CPLD firmware updating method comprises the following steps:

[0019] Step A. Write the host computer on the PC side, and establish communication with the MCU side through the serial port;

[0020] Step B, the MCU updates the received data to the CPLD according to the corresponding JTAG protocol;

[0021] Step C, verify whether the CPLD version is programmed or not.

[0022] The JTAG update protocol includes the following steps: 1. Verify IDCODE of CPLD; 2. Burn BSCAN register; 3. Verify Key Protection fuses; 4. Enable FLASH programming; 5. Erase FLASH; 6. Programming FLASH; 7. Check FLASH burning ok; 8. Burn usercode.

[0023] Hardware connection such as figure 1 As shown, in practical applications, CPLD mainly completes complex logical operation operations, and in most cases all need to carry out IO connection with one or more MCUs, and the present invention only needs to connect the JTAG port of CPLD with the common IO po...

Embodiment 2

[0024] Embodiment 2, on the basis of Embodiment 1, the host computer at the PC end is connected to the MCU through USB. The host computer on the PC side is connected to the MCU through UART. MCU is a single-chip microcomputer.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a CPLD (Complex Programmable Logic Device) firmware updating method which comprises the following steps: step A, compiling a PC (Personal Computer) end upper computer, and establishing communication with an MCU (Microprogrammed Control Unit) end through a serial port; b, the MCU updates the received data to the CPLD according to a corresponding JTAG protocol; and step C, checking whether the CPLD version is completely programmed or not. Compared with the prior art, serial port updating which is more convenient and safer is used for replacing original programmer updating, the development cost of a software programmer can be saved in the software debugging stage of the CPLD, and the box opening operation of firmware updating is omitted for the CPLD arranged in the closed enclosure, so that the product development and maintenance speed is increased, and the production cost is reduced.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a method for updating CPLD firmware. Background technique [0002] With the development of information industry and microelectronics technology, FPGA / CPLD design technology has become one of the most popular technologies in the information industry, with applications in aerospace, medical, communication, network communication, security, broadcasting, automotive electronics, industry, consumer Class market, measurement and testing and many other hot fields. And with the progress of technology and the development of technology, it expands to more and wider application fields, especially the application of CPLD. In order to ensure the stability and reliability of CPLD during work, technicians need to constantly adjust the The firmware performs function optimization, and updates the optimized firmware to the CPLD. [0003] At present, the methods for upgrading the firmware of ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/65G06F8/61
CPCG06F8/65G06F8/61
Inventor 严江涛陈建明吴龙生卢钢
Owner 浙江日风电气股份有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More