CN104636166B - A kind of NandFlash firmware burnings device and method for burn-recording - Google Patents

A kind of NandFlash firmware burnings device and method for burn-recording Download PDF

Info

Publication number
CN104636166B
CN104636166B CN201510062818.0A CN201510062818A CN104636166B CN 104636166 B CN104636166 B CN 104636166B CN 201510062818 A CN201510062818 A CN 201510062818A CN 104636166 B CN104636166 B CN 104636166B
Authority
CN
China
Prior art keywords
nandflash
firmware
submodule
primary module
piece
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.)
Active
Application number
CN201510062818.0A
Other languages
Chinese (zh)
Other versions
CN104636166A (en
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.)
FUJIAN SHIDA COMPUTER EQUIPMENT Co Ltd
Original Assignee
FUJIAN SHIDA COMPUTER EQUIPMENT 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 FUJIAN SHIDA COMPUTER EQUIPMENT Co Ltd filed Critical FUJIAN SHIDA COMPUTER EQUIPMENT Co Ltd
Priority to CN201510062818.0A priority Critical patent/CN104636166B/en
Publication of CN104636166A publication Critical patent/CN104636166A/en
Application granted granted Critical
Publication of CN104636166B publication Critical patent/CN104636166B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of NandFlash firmware burnings device and method for burn-recording, and for carrying out firmware batch burning to NandFlash chips in process of production, the burning device includes primary module and N number of submodule;Described primary module includes the first CPU and the first SDRAM, NandFlash, the first NorFlash, LCD liquid crystal display, USB2.0 interface circuits, USB1.0 interface circuits, MINI_USB interface circuits and the first serial circuit that are connected with the first CPU;Described submodule includes the 2nd CPU and the 2nd SDRAM, the 2nd NorFlash, usb circuit, second serial circuit, LED light and the SOCKET sockets that are connected with the 2nd CPU;Described USB2.0 interface circuits are connected through USB HUB equipment with described usb circuit.The purpose of the present invention is to realize the direct chip programming to NandFlash, and supports to use various chips programming scheme, is realized to the file system mounted of NandFlash subregions.

Description

A kind of NandFlash firmware burnings device and method for burn-recording
Technical field
The present invention relates to Device Programming technical field, Linux platform is based particularly on, is related to MTD equipment(memory Technology device memory techniques equipment)Erasable control, the high-volume NandFlash cores mainly for the production of during Filled under the firmware of piece.
Background technology
Most of electronic products all uses NandFlash as storage device at present.Therefore need to carry out NandFlash Firmware is pre-installed, and the lower dress method of tradition is that NandFlash is welded on mainboard and turns to be made into complete machine, recycles PC to use Samba softwares carry out ISP to the complete machine assembled(In System Program in-system programmings)Filled under firmware, due to Bad block in NandFlash is random distribution, and bad block scan can not be carried out to chip before lower dress.If sent out when being filled under complete machine Existing chip belongs to defective products, then needs to blow down chip and weld new chip again, and process is numerous and diverse and lower dress firmware is larger, mistake Cheng Feichang takes.In order to improve production efficiency therefore need to invent a kind of cd-rom recorder and the NandFlash of batch pre-install to consolidate Part.Fig. 1 is referred to, the basic preparation of cd-rom recorder on the market now is:PC, a programmable device and supporting with programmable device Drive software.And the SOCKET of a cd-rom recorder(For inserting the stand of pending element)Not only the number of chips of burning has Limit and be running stores, if damage can only be by complete machine depot repair, and the requirement to operating personnel is also higher, so hair Bright one can not connect computer energy independent work, simple to operate, and the cd-rom recorder that can extend numerous individual modules on demand seems It is increasingly urgent.
The content of the invention
The purpose of the present invention is to realize the direct chip programming to NandFlash, and supports to use various chips programming side Case, realize to the file system mounted of NandFlash subregions.Modularized design is used simultaneously, is convenient to manage and safeguards.
The present invention is realized using following scheme:A kind of NandFlash firmware burnings device, for right in process of production NandFlash chips carry out firmware batch burning, it is characterised in that:The NandFlash firmware burning devices are based on Linux texts Part system includes primary module and N number of submodule;Wherein N is the natural number not less than 1;
Described primary module includes the first CPU and the first SDRAM being connected with the first CPU, NandFlash, first NorFlash, LCD liquid crystal display, USB2.0 interface circuits, USB1.0 interface circuits, MINI_USB interface circuits and first serial Circuit;
Described submodule include the 2nd CPU and be connected with the 2nd CPU the 2nd SDRAM, the 2nd NorFlash, Usb circuit, second serial circuit, LED light and SOCKET sockets;Described USB2.0 interface circuits are through USB HUB equipment is connected with described usb circuit.
Further, described first serial circuit has five serial ports.
The present invention separately provides a kind of method for burn-recording of above-mentioned NandFlash firmware burnings device, it is characterised in that including following Step:
S01:Whether primary module automatic detection has USB flash disk insertion, if not entering into S03, otherwise detects whether to exist newest Firmware, if not entering into S03, otherwise into S02;
S02:Firmware renewal is carried out, while LCD liquid crystal displays renewal process, renewal are finished into S03;
S03:Whether primary module is started shooting by USB detection sub-modules;
S04:When there is submodule start, then whether detection sub-module firmware is newest, if into S05, otherwise primary module Sub- module firmware is automatically updated by USB, at the same primary module LCD liquid crystal displays renewal process, submodule after renewal Block, which is restarted, standby enters S05;
S05:Submodule detection burning/recording chip whether there is, and if there is S06 is then entered, otherwise notify primary module chip not In place, and by LCD show;
S06:Primary module notice burns piece;
S07:Submodule BOB(beginning of block) burns piece, and primary module LCD liquid crystal displays show progress;
S08:Piece is burnt to complete to obtain result.
Further, the NandFlash firmware burning devices are to be based on Linux file system, during burning piece, submodule meeting Automatic loading and parsing configuration file, and according to the configuration information of configuration file, to burning piece side corresponding to the execution of corresponding file Case.
Further, the burning piece scheme includes:
Scheme 1:MTD character devices are opened, firmware is written on corresponding address;
Scheme 2:MTD block devices are mounted to file, compressed package is unziped into carry path afterwards, after the completion of verify institute There is file, finally unload block device;
Scheme 3:MTD block devices are mounted to file, default Shell processing scripts in configuration file is read and holds OK, block device is unloaded after the completion of.
Further, piece Row control will be burnt and burn piece operation execution and be divided into two parts, primary module carries out burning piece flow control System, submodule performs according to the order of primary module burns piece operation, each submodule independent operating.
The purpose of the present invention is realized to large batch of NandFlash direct chips programming, and breaks away from PC independent work, Cd-rom recorder that is simple to operate and can extending numerous individual modules on demand, primary module and submodule are completely only in hardware design Vertical, primary module is only powered and communicated to submodule by USB, has following advantage compared to traditional cd-rom recorder:
1st, the direct programming to NandFlash chips is realized;
2nd, programming directly is carried out to chip using chip carrier, it is not necessary in the case where being assembled into after complete machine chip on board being carried out again Dress, save the workload for using and being filled under ISP modes in the past.Underproof NandFlash cores can be screened out before welding simultaneously Piece, to ensure that each chip being welded on plate can normal use;
3rd, PC independent work is broken away from, primary module is powered by USB to submodule and data communication wiring is simple, easily Left-hand seat;
4th, the present invention uses modularized design, and can extend numerous submodules by Hub can burn piece quantity so as to increase, and And independent work is not interfere with each other between each submodule, it is easy to the upgrade maintenance of software and hardware for example:
(1)In use if some submodule breaks down, new module can be used directly and be replaced, without Need to carry out complete machine maintenance overhaul, and be easily changed using detachable SOCKET stands;
(2)It may need that certain chips is performed into specific programming operation temporarily in use, it is only necessary to by some The firm file of submodule individually update, and without being updated to complete machine, greatly reduces workload;
(3)Each module independent operating shields mutual interference problem, ensure that burning tablet quality;
Directly chip is carried out erasable, it is not necessary to chip on board is downloaded again after complete machine is assembled into, saved in the past Use the workload filled under ISP modes.Underproof NandFlash chips can be screened out before welding simultaneously, it is every to ensure The individual chip being welded on plate can normal use.
Brief description of the drawings
Fig. 1 is the structure principle chart of traditional firmware burning device.
Fig. 2 is the structure principle chart of the embodiment of the present invention.
Fig. 3 is the software control flow chart of the embodiment of the present invention.
Embodiment
It is understandable to enable the above objects, features and advantages of the present invention to become apparent, below in conjunction with the accompanying drawings to the present invention Embodiment be described in detail.
Detail is elaborated in the following description in order to fully understand the present invention.But the present invention can with it is a variety of not Other manner described here is same as to implement, those skilled in the art can do class in the case of without prejudice to intension of the present invention Like popularization.Therefore the present invention is not limited by following public embodiment.
The cd-rom recorder of the present embodiment is the NandFlash firmware burning devices based on Linux file system, for producing Firmware batch burning is carried out to NandFlash chips in journey.It controls prolongable multiple submodule to carry out by a primary module Piece is burnt, method for burn-recording is to be based on Linux file system, and it is completely customizable to burn piece flow.
As shown in Fig. 2 the present invention uses modularized design scheme.The NandFlash firmware burning devices, for producing Firmware batch burning is carried out to NandFlash chips in journey, it includes primary module and N number of submodule;Wherein N is not less than 1 Natural number;Described primary module includes the first CPU and the first SDRAM being connected with the first CPU, NandFlash, first NorFlash, LCD liquid crystal display, USB2.0 interface circuits, USB1.0 interface circuits, MINI_USB interface circuits and first serial Circuit;Described submodule includes the 2nd CPU and connect with the 2nd CPU the 2nd SDRAM, the 2nd NorFlash, USB being connected Mouth circuit, second serial circuit, LED light and SOCKET sockets;Described USB2.0 interface circuits are through USB HUB equipment It is connected with described usb circuit.
Preferably, described first serial circuit has five serial ports.
Specifically, the major function of primary module of the present invention is that each submodule is managed and controlled, each height is checked The burning piece bag version of module, and the running status of each submodule is monitored in real time, and status information is included on liquid crystal display.Respectively Individual submodule is completely self-contained in hardware design, is communicated using only USB with primary module.In terms of Software for Design, main mould Block is corresponded to each submodule and all handled using single thread, is independent of each other between each thread.Its method for burn-recording includes Below scheme:S01:Whether primary module automatic detection has USB flash disk insertion, if not entering into S03, otherwise detects whether to exist newest Firmware, if not entering into S03, otherwise into S02;S02:Firmware renewal, while LCD liquid crystal displays renewal process are carried out, more Newly finish into S03;S03:Whether primary module is started shooting by USB detection sub-modules;S04:When there is submodule start, then detection is sub Whether module firmware is newest, if into S05, otherwise primary module is automatically updated by USB to sub- module firmware, simultaneously Primary module LCD liquid crystal displays update process, and submodule, which is restarted, after renewal standby enters S05;S05:Submodule detects burning Chip whether there is, and if there is S06 is then entered, otherwise notify that primary module chip is not in place, and show by LCD; S06:Primary module notice burns piece;S07:Submodule BOB(beginning of block) burns piece, and primary module LCD liquid crystal displays show progress;S08:Piece is burnt to complete to obtain Take result.
Specifically, as shown in figure 3, need to carry out firm file bag renewal before burning piece.The U that will first have firm file bag Disk is connected to primary module USB2.0 interfaces, and primary module can check the version of the firm file bag, if version is different, will burn piece text Part packet replication is backed up to the NandFlash of primary module with updating.
Primary module is completed after burning the renewal of piece bag, opens the power supply of all submodules, and primary module can inquire about each submodule Piece bag version is burnt, if version is different, backup can be burnt piece bag automatically and be issued to corresponding submodule by USB by primary module.Son Module can by burn piece bag be stored in inside SD card, complete transmission after, submodule BOB(beginning of block) to burn piece bag unpack, and to unpacking after Each file carry out SHA verifications, after the completion of submodule i.e. complete renewal.Because each submodule is all independent operating, It is to carry out simultaneously to update operation.Complete submodule automatic shutdown after updating.
When burn piece operation, the NandFlash chips of sky are first put into chip carrier(SOCKET sockets)On, unlatching pair The submodule power supply answered.Primary module can check the burning piece version information of submodule after startup, and after confirming correctly, submodule can be automatic The configuration file obtained when piece bag unpacks is burnt in loading, the programming scheme that each firmware file is set according to configuration file, burns NandFlash is write to correspond in the corresponding address of subregion.Submodule is notified that primary module burns piece result after completion, and closes automatically Machine.Primary module is shown to piece result is burnt on liquid crystal display simultaneously.
During burning piece, submodule can load and parse automatically configuration file, and according to the configuration information of configuration file, it is right Corresponding file burns piece scheme corresponding to performing.
Scheme 1:MTD character devices are opened, firmware is written on corresponding address;
Scheme 2:MTD block devices are mounted to file, compressed package is unziped into carry path afterwards, after the completion of verify institute There is file, finally unload block device;
Scheme 3:MTD block devices are mounted to file, default Shell processing scripts in configuration file is read and holds OK, block device is unloaded after the completion of;
In summary, it is a feature of the present invention that supporting to use various chips programming scheme.Can simultaneously programming chip-count , in theory can be with more than 100 submodules of carry depending on the submodule number of carry, and by the expansion of USB HUB equipment Block.And corresponding single submodule, modularized processing is all taken in the design of software and hardware, ensures each submodule fortune Capable independence, so as to avoid interfering between submodule.
On the other hand, by setting configuration file, the programming processing mode of all firmwares can be controlled, can be met at present All demands of production, eliminate and operation is filled under in the past numerous and diverse serial ports.And support to enter using Shell scripts in configuration file Row specially treated, can complete all tasks manageable under Linux terminal, and the function has very strong practicality Property.
Although the present invention is disclosed as above with preferred embodiment, it is not for limiting the present invention, any this area Technical staff without departing from the spirit and scope of the present invention, may be by the methods and technical content of the disclosure above to this hair Bright technical scheme makes possible variation and modification, therefore, every content without departing from technical solution of the present invention, according to the present invention Any simple modifications, equivalents, and modifications made to above example of technical spirit, belong to technical solution of the present invention Protection domain.It the foregoing is only presently preferred embodiments of the present invention, all impartial changes done according to scope of the present invention patent Change and modify, should all belong to the covering scope of the present invention.

Claims (5)

1. a kind of method for burn-recording of NandFlash firmware burnings device, it is characterised in that the NandFlash firmware burning devices are bases In Linux file system, including primary module and N number of submodule;Described primary module include the first CPU and with this first The first SDRAM, NandFlash, the first NorFlash, LCD liquid crystal display, USB2.0 interface circuits, the USB1.0 interface of CPU connections Circuit, MINI_USB interface circuits and first serial circuit;Described submodule include the 2nd CPU and with the 2nd CPU The 2nd SDRAM, the 2nd NorFlash, usb circuit, second serial circuit, LED light and the SOCKET of connection are inserted Seat;Described USB2.0 interface circuits are connected through USB HUB equipment with described usb circuit,
The method for burn-recording comprises the following steps:
S01:Whether primary module automatic detection has USB flash disk insertion, if not entering into S03, otherwise detects whether latest firmware be present, If not entering into S03, otherwise into S02;
S02:Firmware renewal is carried out, while LCD liquid crystal displays show renewal process, renewal is finished into S03;
S03:Whether primary module is started shooting by USB detection sub-modules;
S04:When there is submodule start, then whether detection sub-module firmware is newest, if into S05, otherwise primary module passes through USB automatically updates to sub- module firmware, while primary module LCD liquid crystal displays show renewal process, submodule after renewal Restart and standby enter S05;
S05:Submodule detection burning/recording chip whether there is, and if there is S06 is then entered, otherwise notify primary module chip not exist Position, and shown by LCD;
S06:Primary module notice burns piece;
S07:Submodule BOB(beginning of block) burns piece, and primary module LCD liquid crystal displays show progress;
S08:Piece is burnt to complete to obtain result.
A kind of 2. method for burn-recording of NandFlash firmware burnings device according to claim 1, it is characterised in that:Described First serial circuit has five serial ports.
3. the method for burn-recording of NandFlash firmware burnings device according to claim 1, it is characterised in that:The NandFlash Firmware burning device is to be based on Linux file system, and during burning piece, submodule can load and parse automatically configuration file, and root According to the configuration information of configuration file, corresponding burning piece scheme is performed to corresponding file.
4. the method for burn-recording of NandFlash firmware burnings device according to claim 3, it is characterised in that:The burning piece side Case includes:
Scheme 1:MTD character devices are opened, firmware is written on corresponding address;
Scheme 2:MTD block devices are mounted to file, compressed package is unziped into carry path afterwards, after the completion of verify all texts Part, finally unload block device;
Scheme 3:MTD block devices are mounted to file, default Shell processing scripts in configuration file is read and performs, it is complete Into rear unloading block device.
5. the method for burn-recording of NandFlash firmware burnings device according to claim 4, it is characterised in that:Piece flow will be burnt Control and burning piece operation execution are divided into two parts, and primary module is carried out burning piece Row control, and submodule is held according to the order of primary module Row burns piece operation, each submodule independent operating.
CN201510062818.0A 2015-02-06 2015-02-06 A kind of NandFlash firmware burnings device and method for burn-recording Active CN104636166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510062818.0A CN104636166B (en) 2015-02-06 2015-02-06 A kind of NandFlash firmware burnings device and method for burn-recording

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510062818.0A CN104636166B (en) 2015-02-06 2015-02-06 A kind of NandFlash firmware burnings device and method for burn-recording

Publications (2)

Publication Number Publication Date
CN104636166A CN104636166A (en) 2015-05-20
CN104636166B true CN104636166B (en) 2018-02-09

Family

ID=53214962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510062818.0A Active CN104636166B (en) 2015-02-06 2015-02-06 A kind of NandFlash firmware burnings device and method for burn-recording

Country Status (1)

Country Link
CN (1) CN104636166B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170293478A1 (en) * 2016-04-11 2017-10-12 Tyco Fire & Security Gmbh Fire detection system with automatic firmware updating
CN106445737B (en) * 2016-09-12 2023-03-10 恒为科技(上海)股份有限公司 Multi-backup starting method
CN106951277A (en) * 2017-02-15 2017-07-14 青岛亿联客信息技术有限公司 Multi-chip firmware program updating method and multi-chip firmware program updating system
CN108205444B (en) * 2017-12-21 2021-12-14 江西帝晶光电有限公司 High-efficient CTP program burns record test processing system
CN108334453B (en) * 2018-02-28 2021-07-20 深圳创维数字技术有限公司 File debugging method and device, terminal equipment and storage medium
CN108848120B (en) * 2018-05-02 2021-05-18 深圳创维-Rgb电子有限公司 System for upgrading smart television mainboard software in batch and implementation method
CN109783116A (en) * 2019-01-15 2019-05-21 宁波锦浪新能源科技股份有限公司 A kind of portable DSP cd-rom recorder based on serial ports
CN113641367A (en) * 2021-08-06 2021-11-12 瑞芯微电子股份有限公司 Firmware batch burning method and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359317A (en) * 2007-08-01 2009-02-04 英业达股份有限公司 Parallel programming system and method
CN202394528U (en) * 2011-11-25 2012-08-22 航天信息股份有限公司 Programming device for storage board
CN204087191U (en) * 2014-09-29 2015-01-07 深圳市昂盛达电子有限公司 A kind of cd-rom recorder
CN204440377U (en) * 2015-02-06 2015-07-01 福建实达电脑设备有限公司 A kind of NandFlash firmware burning device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359317A (en) * 2007-08-01 2009-02-04 英业达股份有限公司 Parallel programming system and method
CN202394528U (en) * 2011-11-25 2012-08-22 航天信息股份有限公司 Programming device for storage board
CN204087191U (en) * 2014-09-29 2015-01-07 深圳市昂盛达电子有限公司 A kind of cd-rom recorder
CN204440377U (en) * 2015-02-06 2015-07-01 福建实达电脑设备有限公司 A kind of NandFlash firmware burning device

Also Published As

Publication number Publication date
CN104636166A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN104636166B (en) A kind of NandFlash firmware burnings device and method for burn-recording
CN103777972B (en) System, configuration method based on field programmable gate array and upgrade method
CN104579719B (en) A kind of upgrade method and system, host computer and optical module of firmware
CN104345231B (en) High speed test machine communication interface between testing piece and pallet
CN105354070B (en) A method of passing through I2C updating apparatus firmware
CN101373435B (en) Processing system capable of downloading firmware and being tested and processing method thereof
CN100383737C (en) SCM online loading and updating method and system
CN107885510A (en) It is a kind of can simultaneously burning two CSTR replication tool and method for burn-recording
CN101355639A (en) Method and system for matching screen of flat panel display
CN106708586B (en) A kind of handheld instrument and method for the update of embedded system program automatic on-line
CN204440377U (en) A kind of NandFlash firmware burning device
CN104216746B (en) Monitor in real time and method of calibration of a kind of on-board equipment DSP programs ground in line writing
CN103997683A (en) System for using set-top-box platform to realize customizable Flash CD-ROM recorder and method thereof
CN106406936A (en) FPGA program multi-version management apparatus and method
CN105760191A (en) Embedded system equipment programming mass production method
CN102253844B (en) Method and device for starting processor
CN100530146C (en) BIOS on-line rewriting method
CN102880479B (en) A kind of method of remotely modifying BIOS property parameters and device
US20080115122A1 (en) Updating fixture for bios in computer system
CN113254296B (en) Software implementation method and system for chip SLT test
CN106950875A (en) A kind of embedded programming device and its fixture system
CN106970778A (en) A kind of Configuration Online method and system of the embedded device based on FPGA
CN104182258A (en) Device and method for upgrading POS (point-of-sale) terminals
CN110289042B (en) EMMC chip test system
CN202394528U (en) Programming device for storage board

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant