Unlock instant, AI-driven research and patent intelligence for your innovation.

FLASH interface circuit

An interface circuit and interface technology, applied in the direction of electrical digital data processing, instruments, etc., can solve problems such as limitations and limited functions of the FLASH interface, and achieve the effect of refining commands and improving control

Active Publication Date: 2020-06-02
合肥磐芯电子有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] As an important part of the single-chip microcomputer, the role of FLASH is very important, but the function of the FLASH interface is very limited now, it can only read, write and burn, which is very limited

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
  • FLASH interface circuit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] Embodiment 1: This embodiment is the workflow of the command state machine 1 module: after the command state machine 1 module passes the verification of the host computer, it will be in an idle state; in addition to the idle state, there are multiple states, which are parallel Relationship;

[0031] The command state machine 1 module transfers from the idle state to other states after receiving the command. At this time, some states will return to the idle state after receiving or generating data addresses, and some need to send corresponding commands to return to the idle state. No transition from one non-idle state to another non-idle state occurs;

[0032] The oscillator can be calibrated through the command state machine 1 module. The calibration method is to write the code through the test command, set the time base of timer 0 as a high-frequency oscillator, and then set the output of PWM0, and calculate the oscillation by testing its output. The frequency of the ...

Embodiment 2

[0036] Embodiment two: present embodiment is based on the host computer burning method of FLASH interface circuit, comprises the following steps:

[0037] S1: The upper computer sends a special sequence for verification. The data acquisition and processing module collects data and processes it. After completion, the data is passed to the verification 1 module, and the verification 1 module will perform verification.

[0038] S2: After passing the verification, the upper computer first needs to load the address command to set the initial address.

[0039] S3: Through the load data command, write data continuously, and use the return command to return the command state machine 1 to the idle state after complete writing.

[0040] S4: Use the programming command to make the FLASH start programming, and after waiting for enough time, use the return command to make the command state machine 1 return to the idle state, and the next step can be performed after the programming is compl...

Embodiment 3

[0042] Embodiment three: the present embodiment is based on the CPU reading operation steps of the FLASH interface circuit:

[0043] First set up the address register and then read it using a dedicated read command. After the instruction is executed, the read data is stored in two registers.

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 FLASH interface circuit. In the invention, a data acquisition and processing module transmits processed data to a verification 1 module, a command state machine 1 module anda simulation module; the verification 1 module outputs a verification result to the command state machine 1 module and the simulation module; the command state machine 1 module and the simulation module output control signals to a CPU and a FLASH; the command state machine 1 module also transmits the control signal to the data output module; commanding the state machine 2 module and the verification 2 module to receive the total transmission data; and commanding the state machine 2 module to output a control signal to control FLASH. According to the invention, the data acquisition module acquires data through the register, and oscillators with different frequencies can be used, thereby adapting to CPUs with different frequencies, and calibrating the frequency of the oscillators; the functions of simulation, burning, programming and the like are combined together, so that multiple functions are realized by one module; moreover, the commands are refined, and the control of the upper computer on the single-chip microcomputer is improved.

Description

technical field [0001] The invention belongs to the technical field of interface circuits, in particular to a FLASH interface circuit. Background technique [0002] As an important part of the single-chip microcomputer, the role of FLASH is very important, but the function of the FLASH interface is very limited at present, and it can only read, write and burn, which is very limited. Contents of the invention [0003] The purpose of the present invention is to provide a kind of FLASH interface circuit, can use the oscillator of different frequency through data acquisition module through register acquisition, thereby realize the CPU that adapts to different frequency, can calibrate the frequency of oscillator; Recording, programming and other functions are combined together, and one module realizes multiple functions; and the commands are refined, and the control of the host computer to the single-chip microcomputer is improved. [0004] In order to solve the problems of th...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/40G06F13/16G06F13/10
CPCG06F13/105G06F13/1668G06F13/4068
Inventor 岳卫杰
Owner 合肥磐芯电子有限公司