Check patentability & draft patents in minutes with Patsnap Eureka AI!

BOOTROM starting configuration method and device for chip

A configuration method and chip technology, which are applied in program control devices, program loading/starting, program control design, etc., can solve the problems of BOOTROM code function failure and cost increase.

Inactive Publication Date: 2017-12-08
BEIJING XINWEI TELECOM TECH
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when the product needs to be replaced with an external crystal oscillator to meet different needs, the BOOTROM code function will fail due to hardware changes. In this case, re-striping is required, which will increase the cost

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
  • BOOTROM starting configuration method and device for chip
  • BOOTROM starting configuration method and device for chip
  • BOOTROM starting configuration method and device for chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 It is a flow chart of a chip BOOTROM start-up configuration method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of chip BOOTROM start-up, and the method can be executed by a chip BOOTROM start-up configuration device arranged in the chip. Specifically include the following steps:

[0026] Step 110, when it is determined that the chip is started or downloaded by the BOOTROM software, trigger the BOOTROM software.

[0027] Wherein, BOOTROM is the startup code of the chip, and the BOOTROM code is solidified in the on-chip ROM (Read-Only Memory, read-only memory).

[0028] Step 120, determine the type of crystal oscillator externally connected to the chip.

[0029] Wherein, the type of the external crystal oscillator of the chip is determined by acquiring the identification information corresponding to the type of the external crystal oscillator. Preferably, the type of the external crystal oscillator is the fr...

Embodiment 2

[0035] figure 2 It is a flow chart of a chip BOOTROM start-up configuration method provided by Embodiment 2 of the present invention. The technical solution of this embodiment is further refined on the basis of the above embodiments. Step 120 includes:

[0036] Step 210, read the input level value of the set GPIO pin.

[0037] Among them, at least one GPIO (General Purpose Input Output) pin on the chip is selected as the set GPIO pin, and the set GPIO pin is configured as an input mode. When the chip is connected to an external crystal oscillator, according to the external Crystal oscillator type, input the level value corresponding to the external crystal oscillator type to the set GPIO pin.

[0038] Step 220 , according to the input level value and the corresponding relationship between the pre-stored input level value and the type of the external crystal oscillator, determine the external crystal oscillator type of the chip.

[0039] Among them, when the number of GPIO p...

Embodiment 3

[0042] image 3 It is a flow chart of a chip BOOTROM start-up configuration method provided by Embodiment 3 of the present invention. The technical solution of this embodiment is further refined on the basis of Embodiment 1. Step 120 includes:

[0043] Step 310, read the crystal oscillator type data stored in the on-chip EFUSE.

[0044] Among them, the crystal oscillator type data corresponding to each external crystal oscillator type is programmed into the storage space of the on-chip EFUSE (electrical programming fuse) in advance. After the BOOTROM software is running, it will first read the data stored in the on-chip EFUSE.

[0045] Step 320: Determine the external crystal oscillator type of the chip according to the crystal oscillator type data and the corresponding relationship between the pre-stored crystal oscillator type data and the external crystal oscillator type.

[0046] Among them, after the BOOTROM software is running, the external crystal oscillator type of th...

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 BOOTROM starting configuration method and device for a chip. The BOOTROM starting configuration method for the chip comprises the steps that when it is determined that the chip is started or downloaded through BOOTROM software, the BOOTROM software is triggered; an external crystal oscillator type of the chip is determined; corresponding system configuration is completed according to the external crystal oscillator type and a system configuration strategy corresponding to the external crystal oscillator type; and after system configuration is completed, a standard BOOTROM starting or downloading process is executed. Through the technical scheme, a system can support multiple types of external crystal oscillator input; and when an external crystal oscillator of the chip needs to be replaced to meet different demands, it is not needed to modify a BOOTROM code, and the chip is changed adaptively.

Description

technical field [0001] Embodiments of the present invention relate to chip design technology, and in particular to a chip BOOTROM startup configuration method and device. Background technique [0002] BOOTROM startup (also known as on-chip startup) is an important way of chip startup. When choosing to start from BOOTROM, after the chip is powered on, it will first run the BOOTROM program. [0003] The BOOTROM code is programmed once in the foundry, and the BOOTROM code can only be read and cannot be written after returning to the chip, so this puts forward high requirements for its reliability. If there is a serious error, it may cause the chip to fail. After being booted, it cannot be used normally, resulting in the need to re-cast the film. Based on the consideration of reliability, the traditional BOOTROM code only supports one kind of external crystal oscillator input, which is the default crystal oscillator input. [0004] However, when the product needs to be replac...

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): G06F9/445
CPCG06F9/44505
Inventor 李伟王松
Owner BEIJING XINWEI TELECOM TECH
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