CN109814885A - A kind of bare die method for burn-recording based on XMODEM - Google Patents
A kind of bare die method for burn-recording based on XMODEM Download PDFInfo
- Publication number
- CN109814885A CN109814885A CN201910025827.0A CN201910025827A CN109814885A CN 109814885 A CN109814885 A CN 109814885A CN 201910025827 A CN201910025827 A CN 201910025827A CN 109814885 A CN109814885 A CN 109814885A
- Authority
- CN
- China
- Prior art keywords
- ubl
- uboot
- xmodem
- bare die
- burning
- 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.)
- Pending
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The present invention relates to a kind of bare die method for burn-recording based on XMODEM, in UBOOT exception, so that UBL is entered command analysis mode, XMODEM data are received by order and received XMODEM data will be written to the specified address flash and complete burning/update, UBOOT is updated to realize;Then UBL is exited command and interpretive model and is inflated, UBOOT and system is booted up in the normal manner in UBL, carries out burning finally by system itself.The present invention does not need change, operation hardware, the software upgrading to original exception UBOOT can be completed, and then complete bare die burning, keeps bare die burning and software debugging more convenient.
Description
Technical field
The present invention relates to system method for burn-recording, and in particular to a kind of bare die method for burn-recording based on XMODEM.
Background technique
There is no special debugging download interfaces on development board after the formal volume production of most products, therefore cannot also use
The standard download that chip interior is supported is downloaded, but generally there are the debugging interfaces such as serial ports.
The start-up course of embedded system is generally required by needing by UBL guidance, UBOOT guidance, then by system
Guidance is got up, and carries out burning/update finally by system itself.Wherein, UBL, full name User Boot Loader are mainly completed
DDR2, PLL, EMIF, pin multiplexing initialize serial ports with work such as type informations.UBoot, full name Universal Boot
Loader is the open source code project for following GPL clause, and effect is System guides.Since UBOOT function needs, often exist
Cause UBOOT to occur in debugging abnormal, be unable to normal boot system, just needs to carry out burning/update again to UBOOT at this time.
In view of the above-mentioned problems, existing bare die method for burn-recording is as shown in Figure 1, when UBOOT is unable to normal use, by repairing
Change hardware, allows CPU to enter special burning mode and guide burning/update UBOOT.The method for burn-recording is hard dependent on modification
Part enters bootmode, when UBOOT occurs abnormal, is dismantled, and the related hardwares operation solution such as welds, is shorted
UBOOT abnormal problem is further continued for carrying out bare die burning after UBOOT is normal, there is a problem of burning inconvenience in this way.
Summary of the invention
The purpose of the present invention is to provide a kind of bare die method for burn-recording based on XMODEM, occurs different during burning
Chang Shi does not need change hardware connection, keeps burning more convenient.
To achieve the above object, the technical solution adopted by the present invention is that:
A kind of bare die method for burn-recording based on XMODEM, it is specific as follows: in system boot process, if UBL initialization procedure
In be unable to normal boot UBOOT, UBL selection enters command analysis mode, receives XMODEM data in specified memory address;Number
After finishing receiving, UBL returns to command analysis mode, by ordering received XMODEM data with being written to specified flash
Burning/update is completed in location, realizes and updates to UBOOT;
After the completion of UBOOT updates, UBL, which exits command, interpretive model and restarts, and UBOOT is booted up in the normal manner in UBL, and then guides
Then system carries out burning by system itself.
When UBL is unable to normal boot UBOOT, it is by judging whether serial ports receives predefined order to control UBL
It is no to enter command analysis mode;If serial ports receives predefined order, UBL enters command analysis mode.
After adopting the above scheme, the present invention makes UBL enter command analysis mode in UBOOT exception, is received by order
Received XMODEM data will be simultaneously written to the specified address flash completion burning/update by XMODEM data, thus realization pair
UBOOT updates;Then UBL being exited command and interpretive model and is inflated, UBOOT and system is booted up in the normal manner in UBL,
Burning is carried out finally by system itself.The present invention does not need change, operation hardware, can be completed to original exception UBOOT's
Software upgrading, and then bare die burning is completed, keep bare die burning and software debugging more convenient.
Detailed description of the invention
Fig. 1 is the bare die method for burn-recording of the prior art;
Fig. 2 is flow chart of the invention.
Specific embodiment
As shown in Fig. 2, present invention discloses a kind of bare die method for burn-recording based on XMODEM, in system boot process,
If UBL is unable to normal boot UBBOT, judge whether serial ports receives predefined order, which is that UBL enters life
Enable the condition of interpretive model;When serial ports receives predefined order, UBL enters command analysis mode, otherwise enters normal
UBOOT guidance.
In command analysis mode, UBL receives XMODEM data in specified memory address by commands match.Data
After finishing receiving, UBL returns to command analysis mode, and at this time by order, the data content received is written to specified flash
Address, and then realize the update to UBOOT.Similarly, it can be realized with analogy and the data of KERNEL address field are updated.UBOOT is more
After the completion of new, UBL, which exits command, interpretive model and restarts, and UBOOT is booted up in the normal manner in UBL, and then guides system, then leads to
It crosses system itself and carries out burning.
This hair it is critical that the present invention in UBOOT exception, makes UBL enter command analysis mode, pass through order and receive
Received XMODEM data will be simultaneously written to the specified address flash completion burning/update by XMODEM data, thus realization pair
UBOOT updates;Then UBL being exited command and interpretive model and is inflated, UBOOT and system is booted up in the normal manner in UBL,
Burning is carried out finally by system itself.The present invention does not need change, operation hardware, can be completed to original exception UBOOT's
Software upgrading after the completion of UBOOT updates, guides system according to normal guidance mode, and then complete bare die burning.
The above is only the embodiment of the present invention, is not intended to limit the scope of the present invention, therefore all
Any subtle modifications, equivalent variations and modifications to the above embodiments according to the technical essence of the invention still fall within this
In the range of inventive technique scheme.
Claims (2)
1. a kind of bare die method for burn-recording based on XMODEM, it is characterised in that: in system boot process, if UBL was initialized
Normal boot UBOOT is unable in journey, UBL selection enters command analysis mode, receives XMODEM data in finger by commands match
Determine in memory address;After the completion of data receiver, UBL returns to command analysis mode, is write received XMODEM data by ordering
Enter to the specified address flash and complete burning/update, realizes and UBOOT is updated;
After the completion of UBOOT updates, UBL, which exits command, interpretive model and restarts, and UBOOT is booted up in the normal manner in UBL, and then guides
Then system carries out burning by system itself.
2. a kind of bare die method for burn-recording based on XMODEM according to claim 1, it is characterised in that: when UBL cannot be just
Often when guidance UBOOT, control whether UBL enters command analysis mode by judge whether serial ports receives predefined order;
If serial ports receives predefined order, UBL enters command analysis mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910025827.0A CN109814885A (en) | 2019-01-11 | 2019-01-11 | A kind of bare die method for burn-recording based on XMODEM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910025827.0A CN109814885A (en) | 2019-01-11 | 2019-01-11 | A kind of bare die method for burn-recording based on XMODEM |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109814885A true CN109814885A (en) | 2019-05-28 |
Family
ID=66604174
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910025827.0A Pending CN109814885A (en) | 2019-01-11 | 2019-01-11 | A kind of bare die method for burn-recording based on XMODEM |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109814885A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070015704A (en) * | 2005-08-01 | 2007-02-06 | 양재우 | Method for upgrading software mcu |
CN102902556A (en) * | 2012-09-06 | 2013-01-30 | 深圳市共进电子股份有限公司 | Multistage boot load method of embedded equipment |
CN106371863A (en) * | 2016-08-24 | 2017-02-01 | 武汉光迅科技股份有限公司 | Embedded multi-operation system boot program upgrading method |
CN106708586A (en) * | 2017-01-11 | 2017-05-24 | 湘潭大学 | Handheld instrument and method for automatic online updating of embedded system programs |
-
2019
- 2019-01-11 CN CN201910025827.0A patent/CN109814885A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070015704A (en) * | 2005-08-01 | 2007-02-06 | 양재우 | Method for upgrading software mcu |
CN102902556A (en) * | 2012-09-06 | 2013-01-30 | 深圳市共进电子股份有限公司 | Multistage boot load method of embedded equipment |
CN106371863A (en) * | 2016-08-24 | 2017-02-01 | 武汉光迅科技股份有限公司 | Embedded multi-operation system boot program upgrading method |
CN106708586A (en) * | 2017-01-11 | 2017-05-24 | 湘潭大学 | Handheld instrument and method for automatic online updating of embedded system programs |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1360592B1 (en) | Configurable measuring apparatus | |
CN112506535A (en) | Method for updating Bootloader software by automobile ECU controller | |
CN108128035B (en) | A kind of control method and consumable chip upgrading consumable chip | |
CN104407878B (en) | C6000 digital signal processor online upgrading methods | |
CN103970565A (en) | Method for implementing FPGA multi-path downloading configuration in server system | |
US20060212665A1 (en) | System and method for online firmware update and on-screen-display parameters modification | |
CN109614126B (en) | Embedded system online program upgrading method and device | |
CN112270149A (en) | Verification platform automation integration method and system, electronic equipment and storage medium | |
CN103677943A (en) | Upgrading method of control software of sewing machine | |
CN102945173A (en) | User program on-line upgrading system and method | |
CN110187909B (en) | Single-chip microcomputer firmware upgrading method based on android system | |
US6571347B1 (en) | Apparatus and method for intelligent computer initiation program recovery | |
CN105718281A (en) | Touch screen firmware upgrading method and device | |
CN111679839B (en) | On-line programming method of MCU FLASH | |
CN107678765A (en) | A kind of online upgrading method based on C8051F series monolithics | |
CN115718610A (en) | Reliable method for updating application program of single chip microcomputer | |
CN103544413A (en) | Method and device for verifying software copyright in intelligent terminal | |
CN114138295A (en) | Method, device and system for upgrading application program firmware of electronic equipment | |
US20100146159A1 (en) | Memory Flash Apparatus and Method For Providing Device Upgrades Over A Standard Interface | |
CN107729090A (en) | A kind of user program method for down loading based on Serial Port Transmission | |
CN109814885A (en) | A kind of bare die method for burn-recording based on XMODEM | |
CN100399752C (en) | System and method for testing digital communication signal processing single board | |
CN110377303A (en) | Method and its equipment based on spare memory area mode upgrade procedure | |
WO2022199622A1 (en) | Method for running startup program of electronic device, and electronic device | |
CN114996056A (en) | DSP backup starting implementation method based on SPI |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190528 |