[go: up one dir, main page]

CN201374062Y - FPGA on-line configuration circuit - Google Patents

FPGA on-line configuration circuit Download PDF

Info

Publication number
CN201374062Y
CN201374062Y CN200820214384U CN200820214384U CN201374062Y CN 201374062 Y CN201374062 Y CN 201374062Y CN 200820214384 U CN200820214384 U CN 200820214384U CN 200820214384 U CN200820214384 U CN 200820214384U CN 201374062 Y CN201374062 Y CN 201374062Y
Authority
CN
China
Prior art keywords
fpga
chip
pin
data selector
connects
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200820214384U
Other languages
Chinese (zh)
Inventor
魏洵佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konka Group Co Ltd
Original Assignee
Konka Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konka Group Co Ltd filed Critical Konka Group Co Ltd
Priority to CN200820214384U priority Critical patent/CN201374062Y/en
Application granted granted Critical
Publication of CN201374062Y publication Critical patent/CN201374062Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Logic Circuits (AREA)
  • Stored Programmes (AREA)

Abstract

The utility model discloses an FPGA on-line configuration circuit, which solves the technical problem that the FPGA can not accomplish the remote upgrade on programs through the FPGA per se. An FPGA chip arranged in the FPGA on-line configuration circuit is connected with a data selector; the data selector outputs different control signals to a FLASH chip during being electrified and after being electrified; and the FPGA chip is also respectively connected with a remote communication module and a socket. Compared with the prior art, the FPGA on-line configuration circuit can accomplish the configuration in a positive mode when the FPGA is electrified under the condition of no need of additional arrangement of a micro processor; the remote upgrade on the programs can be accomplished through the FPGA per se; data of users can also be stored in the FLASH chip; the application flexibility is improved; and the design cost is lowered. Simultaneously, the utility model also provides a program redundancy standby method, and the reliability of remote upgrade and the stability of the system are improved.

Description

FPGA Configuration Online circuit
Technical field
The utility model relates to a kind of FPGA application technology, especially a kind of FPGA Configuration Online circuit with remote upgrade ability.
Background technology
On-site programmable gate array FPGA (Field Programmable Gate Array), it is the product that further develops on the basis of programming devices such as PAL, GAL, EPLD.The use of FPGA is very flexible, and inner available resources is abundant, can produce different circuit functions with a slice FPGA by different designs.FPGA has obtained widespread use in various fields such as communication, data processing, network, instrument, Industry Control, LED, military affairs and Aero-Space, for example in the core technology of modern LED display is used, has just adopted fpga chip in a large number.
FPGA is based on the application technology of SRAM, and program can not be preserved, and needs when powering on FPGA to be configured.The configuration mode of FPGA generally has two classes: the one, directly it is configured by computing machine by the specific download cable, and program is kept among the read-write special-purpose EEPROM, so that FPGA by embedded configuration module, starts working after finishing configuration with active mode when off line powers on; The 2nd, adopt external microprocessor that it is configured by Passive Mode, this mode can change special-purpose EEPROM into SPI universal serial bus FLASH, except that the configuration of when powering on, finishing FPGA, also can utilize serial ports to be implemented in the sequence of threads upgrading, the new procedures code is write the FLASH zone of appointment, simultaneously also can be in non-program code area memory access user's data, the parameter of FLASH, this mode has brought dirigibility for the application of FPGA, and weak point is to have increased the Circuits System expense.
Summary of the invention
The purpose of this utility model provides a kind of FPGA Configuration Online circuit, the technical matters that solves is to allow FPGA except finishing the application configuration when powering on by active mode, can pass through FPGA itself again, finish remote upgrade to program, for improving the reliability of remote upgrade, a kind of program redundancy backup way has been proposed further simultaneously.
For solving the problems of the technologies described above, the utility model is by the following technical solutions: a kind of FPGA Configuration Online circuit, comprise fpga chip, described fpga chip connects data selector, described data selector power on power on after export different control signals to the FLASH chip, the data at different conditions transmit between FLASH and fpga chip to finish, and described fpga chip also connects telecommunication module and socket respectively.
The pin nCSO that initiatively programmes of the utility model fpga chip, ASDO, DCLK inserts three gate A0 of data selector respectively, B0, the input end of C0, three I/O pin IO_nCS of described fpga chip, IO_SO, IO_SCK inserts data selector A1 respectively, B1, the input end of C1, the CONF_DONE pin inserts the gating signal input end of data selector, the MSEL0 of described fpga chip, MSEL1 pin ground connection, the nSTATE pin meets power supply VCC by pull-up resistor R2, the nCONFIG pin meets power supply VCC by pull-up resistor R1, the cable of described fpga chip is downloaded pin gang socket, and the I/O pin connects the telecommunication module.
The signal output part Y0 of the utility model data selector connects the gating input end/CS of FLASH chip, signal output part Y1 connects serial input data end SI, signal output part Y2 connects input end of clock mouth SCK, and the serial data output terminal SO of described FLASH chip connects the active programming data input pin DATA0 and the I/O input pin IO_SI of fpga chip respectively.
Data selector of the present utility model is four alternative data selectors.
Data selector of the present utility model adopts the data selector of 74HC157.
FLASH chip of the present utility model adopts the nonvolatile flash memory chip with ISP universal serial bus.
FLASH chip of the present utility model adopts the W25X family chip.
The utility model compared with prior art, need not additionally to add under the situation of microprocessor, configuration in the time of both can finishing FPGA and power on by active mode, can finish remote upgrade by FPGA itself again to program, also can increase application flexibility, reduce design cost in non-program code area memory access user's data, the parameter of FLASH, utility model has proposed a kind of program redundancy backup way simultaneously, has improved the reliability of remote upgrade and the stability of system.
Description of drawings
Fig. 1 is a circuit diagram of the present utility model.
Embodiment
The utility model will be further described below in conjunction with drawings and Examples.
As shown in Figure 1, the utility model FPGA Configuration Online circuit comprises fpga chip, the nCSO of the pin of initiatively programming of described fpga chip, ASDO, the output terminal of DCLK respectively with the A0 of three alternative gates of data selector, B0, the input end of C0 links to each other, the data input pin DATA0 of fpga chip links to each other with the data output pin SO of FLASH chip, the CONF_DONE pin of fpga chip links to each other with the gating signal input end of data selector, the nSTATE pin of fpga chip meets power supply VCC by pull-up resistor R2, the nCONFIG pin of fpga chip meets power supply VCC by pull-up resistor R1, programming mode is selected signal MSEL0, MSEL1 ground connection, three I/O pin IO_nCS of described fpga chip, IO_SO, IO_SCK respectively with the A1 of three alternative gates of data selector, B1, the C1 input end links to each other, an I/O pin IO_SI input end links to each other with the data output pin SO of FLASH chip, the relevant pins that the cable of fpga chip is downloaded also links to each other with socket, part I/O pin links to each other with long-range communication interface, described FLASH CE input port/CS, serial input data port SI and input end of clock mouth SCK meet the output signal end Y0 of three alternative gates of data selector respectively, Y1 and Y2.
In the present embodiment, described FPGA is a field programmable gate array chip, and preference is the FPGA of ALTERA company; Described FLASH chip is the nonvolatile flash memory chip with ISP universal serial bus, and preference is the W25X family chip; Described data selector is four alternative data selectors, and preference is 74HC157; Described remote communication interface type is unrestricted, links to each other with FPGA with host computer respectively, bears the communication of fpga chip and host computer.
The major function of the utility model FPGA Configuration Online circuit is, send control signal by the dedicated pin of fpga chip when powering on, the program of solidifying in the FLASH chip is write in the fpga chip, after working on power, can receive host computer by fpga chip and pass the ROMPaq of coming, utilize the I/O pin of fpga chip that it is write in the FLASH chip.
Socket of the present utility model is that the cable of fpga chip is downloaded socket, and connected mode adopts common-mode, and main effect is to be finished configuration to fpga chip, debugging or program is write in the FLASH chip by computing machine.
Fpga chip mode select signal MSEL0 of the present utility model, MSEL1 ground connection, setting the fpga chip configuration mode that powers on is active mode, dedicated pin nCSO, ASDO, DCLK by fpga chip when promptly powering on send control signal, by the DATA0 pin program in the FLASH chip are write in the fpga chip.
In order to realize powering on by the dedicated pin configurator of fpga chip and I/O pin upgrading new procedures and the calling party data parameters of back that power on by fpga chip, the utility model utilizes the gating signal of the CONF_DONE signal of fpga chip as data selector, realize the exchange of dedicated pin and I/O pin control signal with this, the CONF_DONE signal of fpga chip is the indicator signal whether the fpga chip programming finishes, during the programming that powers on, be low, this moment, data selector was opened the input of 0 end, the special-purpose sheet of fpga chip select the Y0 of output signal nCSO by data selector output to the FLASH chip /CS sheet choosing end, special clock output signal DCLK outputs to the clock signal SCK input end of FLASH chip by the Y2 of data selector, exclusive data output signal ASDO outputs to the data SI input end of FLASH chip by the Y1 pin of data selector, the data output SO output code of control FLASH chip is to the exclusive data input port DATA0 of fpga chip, finish the configuration of fpga chip, fpga chip is during the programming that powers on, all I/O are ternary, and the IO_SI that is defined as I/O data input port does not have influence to input configuration pin DATA0; The programming that powers on finishes, the CONF_DONE signal uprises after fpga chip delays in work a period of time, this moment, data selector was opened the input of 1 end, the I/O sheet of fpga chip select the Y0 of output signal IO_nCS by data selector output to the FLASH chip /CS sheet choosing end, I/O clock output signal IO_SCK outputs to the clock signal SCK input end of FLASH chip by the Y2 of data selector, I/O data output signal IO_SO outputs to the data SI input end of FLASH chip by the Y2 of data selector, the data output SO of FLASH chip links the I/O data input port IO_SI of fpga chip, thereby finishes the online read-write control to the FLASH chip; Fpga chip can receive host computer by long-range communication module and pass the ROMPaq or the data parameters of coming, and it is write the BOOT program area or the data field of the appointment of FLASH chip.The FLASH chip capacity is enough big, except that the configurator that can write fpga chip, also can utilize the data of its complementary space read-write design, for example required pixel correction data, gamma curve table, controlled variable etc. in the LED display technique.
Simultaneously, for improving the reliability of remotely updating program, avoid the communication error code to cause the upgrading failure, the utility model has further proposed a kind of program redundancy backup way, in the FLASH chip, open up a memory block in addition, be specifically designed to fpga chip and write ROMPaq to the FLASH chip, only when communication errorless, ROMPaq transmits and verifies, and the new procedures code is swung to the BOOT program area in the FLASH chip again.

Claims (7)

1. FPGA Configuration Online circuit, comprise fpga chip, it is characterized in that: described fpga chip connects data selector, described data selector power on power on after export different control signals to the FLASH chip, described fpga chip also connects telecommunication module and socket respectively.
2. FPGA Configuration Online circuit according to claim 1, it is characterized in that: the pin nCSO that initiatively programmes of described fpga chip, ASDO, DCLK inserts three gate A0 of data selector respectively, B0, the input end of C0, three I/O pin IO_nCS of described fpga chip, IO_SO, IO_SCK inserts data selector A1 respectively, B1, the input end of C1, the CONF_DONE pin inserts the gating signal input end of data selector, the MSEL0 of described fpga chip, MSEL1 ground connection, power supply VCC connects the nCONFIG pin of fpga chip by resistance R 1, resistance R 2 connects the nSTATE pin of fpga chip, the cable of described fpga chip is downloaded pin gang socket, and the I/O pin connects the telecommunication module.
3. FPGA Configuration Online circuit according to claim 2, it is characterized in that: the signal output part Y0 of described data selector connects the gating input end/CS of FLASH chip, signal output part Y1 connects serial input data end SI, signal output part Y2 connects input end of clock mouth SCK, and the serial data output terminal SO of described FLASH chip connects the active programming data input pin DATA0 and the I/O input pin IO_SI of fpga chip respectively.
4. FPGA Configuration Online circuit according to claim 3 is characterized in that: described data selector is four alternative data selectors.
5. FPGA Configuration Online circuit according to claim 4 is characterized in that: described data selector adopts the data selector of 74HC157.
6. FPGA Configuration Online circuit according to claim 5 is characterized in that: described FLASH chip adopts the nonvolatile flash memory chip with ISP universal serial bus.
7. FPGA Configuration Online circuit according to claim 6 is characterized in that: described FLASH chip adopts the W25X family chip.
CN200820214384U 2008-12-12 2008-12-12 FPGA on-line configuration circuit Expired - Fee Related CN201374062Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200820214384U CN201374062Y (en) 2008-12-12 2008-12-12 FPGA on-line configuration circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200820214384U CN201374062Y (en) 2008-12-12 2008-12-12 FPGA on-line configuration circuit

Publications (1)

Publication Number Publication Date
CN201374062Y true CN201374062Y (en) 2009-12-30

Family

ID=41500143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200820214384U Expired - Fee Related CN201374062Y (en) 2008-12-12 2008-12-12 FPGA on-line configuration circuit

Country Status (1)

Country Link
CN (1) CN201374062Y (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136028A (en) * 2013-03-11 2013-06-05 西北工业大学 FLASH memorizer long-distance on-line upgrade method based on field programmable gate array (FPGA)
CN103885921A (en) * 2014-04-22 2014-06-25 国家电网公司 FLASH memory, FPGA chip and configuration method of FPGA chip
CN104166566A (en) * 2014-08-12 2014-11-26 福建星网锐捷网络有限公司 FPGA configuration file upgrading method and system
CN106774758A (en) * 2016-11-18 2017-05-31 杭州嘉楠耘智信息科技有限公司 Series circuit and computing device
CN107819883A (en) * 2017-12-13 2018-03-20 天津光电通信技术有限公司 A kind of multi signal processing equipment and its remote upgrade method to FPGA programs
US11243588B2 (en) 2018-05-30 2022-02-08 Hangzhou Canaan Intelligence Information Technology Co, Ltd Series circuit and computing device
CN114706604A (en) * 2022-06-07 2022-07-05 杭州加速科技有限公司 FPGA rescue method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136028A (en) * 2013-03-11 2013-06-05 西北工业大学 FLASH memorizer long-distance on-line upgrade method based on field programmable gate array (FPGA)
CN103885921A (en) * 2014-04-22 2014-06-25 国家电网公司 FLASH memory, FPGA chip and configuration method of FPGA chip
CN104166566A (en) * 2014-08-12 2014-11-26 福建星网锐捷网络有限公司 FPGA configuration file upgrading method and system
CN104166566B (en) * 2014-08-12 2017-11-03 福建星网锐捷网络有限公司 A kind of FPGA configuration file upgrade method and system
CN106774758A (en) * 2016-11-18 2017-05-31 杭州嘉楠耘智信息科技有限公司 Series circuit and computing device
CN107819883A (en) * 2017-12-13 2018-03-20 天津光电通信技术有限公司 A kind of multi signal processing equipment and its remote upgrade method to FPGA programs
US11243588B2 (en) 2018-05-30 2022-02-08 Hangzhou Canaan Intelligence Information Technology Co, Ltd Series circuit and computing device
CN114706604A (en) * 2022-06-07 2022-07-05 杭州加速科技有限公司 FPGA rescue method and device

Similar Documents

Publication Publication Date Title
CN201374062Y (en) FPGA on-line configuration circuit
CN107111572B (en) Method and circuit for avoiding deadlock
CN202956753U (en) Programming device and programming system of flash memory chip in embedded system
CN102592683B (en) Method for entering chip test mode and related device
CN107907814B (en) Method for improving mass production test efficiency of chips
CN105404538A (en) FPGA-based device and method for loading and upgrading object codes
CN102360204A (en) FlexRay-based distributed flight control computer communication system and control method thereof
CN103677671A (en) Data reading-writing method and system of electrical port module
CN201349208Y (en) FPGA multi-mode configuration circuit
CN207752467U (en) A kind of loading equipemtn of fpga chip
CN101414291A (en) Master-salve distributed system and parallel communication method applying the same
CN104834620A (en) SPI (serial peripheral interface) bus circuit, realization method and electronic equipment
CN104461796B (en) JTAG debugging modules and adjustment method for embedded 8051CPU
CN107305526A (en) A kind of debugger for microcontroller
CN106776467B (en) SPI FLASH control chip for command receiving system
CN109241641B (en) Dual-core ARM type SoC application verification realization method and application verification board
JP2024508592A (en) USB interface multiplexing method, circuit, electronic equipment and storage medium
CN204480237U (en) A kind of connector, universal serial bus device and intelligent terminal
CN203909780U (en) Vehicle remote upgrading device
CN104615566A (en) Monitoring data conversion device and method of nuclear magnetic resonance logger
CN215991226U (en) Heterogeneous multiprocessor 5G gateway circuit
CN206057875U (en) It is a kind of to be based on STM32F103ZE microcontrollers programing system in the application
CN117034322A (en) Trusted loading method and system for embedded main control chip
CN105653307A (en) Upper computer, transceiving processing terminal machine and program loading system
CN108776645A (en) A kind of Embedded Multi-task managing device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091230

Termination date: 20111212