CN201037923Y - Singlechip resetting allocating device - Google Patents

Singlechip resetting allocating device Download PDF

Info

Publication number
CN201037923Y
CN201037923Y CNU200720104029XU CN200720104029U CN201037923Y CN 201037923 Y CN201037923 Y CN 201037923Y CN U200720104029X U CNU200720104029X U CN U200720104029XU CN 200720104029 U CN200720104029 U CN 200720104029U CN 201037923 Y CN201037923 Y CN 201037923Y
Authority
CN
China
Prior art keywords
pin
chip microcomputer
singlechip
powerpc500
configuration
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 - Lifetime
Application number
CNU200720104029XU
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.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CNU200720104029XU priority Critical patent/CN201037923Y/en
Application granted granted Critical
Publication of CN201037923Y publication Critical patent/CN201037923Y/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The utility model provides a singlechip restoration allocation device which belongs to the technical field of restoration allocation device of singlechip and relates to a restoration allocation of singlechip of Freescale Power PC500 series. The device comprises a 8 bitmap ATmega16L singlehip, and a PA4 pin of the singlechip is connected with the PORESET pin of the singlechip of Power PC500 series; the PAO-PA3I/0 pin is connected with the IRQ5-IRQ7 pin of the singlechip of Power PC500 series; the PA5 pin is connected with the HRESET pin of the singlechip of Power PC500 series; the modulus conversion pin PA7 is connected with a core power supply of 2.6 V of the singlechip of Power PC500 series. The utility model can simplify allocation mode of the singlechip and reduce hardware cost and workload of hardware design, moreover, the utility model has the function of power on reset power detection and has high flexibility in use.

Description

The single-chip microcomputer inking device that resets
Technical field
The single-chip microcomputer inking device that resets relates to the configuration that resets of Freescale PowerPC500 series monolithic, belongs to the inking device technical field that resets of single-chip microcomputer.
Background technology
The application of single-chip microcomputer in Industry Control is very general.Along with the development of SoC technology and improving constantly of single-chip microcomputer integrated level and performance, the internal module of modern single-chip microcomputer and corresponding config option are more and more.
The configuration that resets of single-chip microcomputer is normally finished in the single-chip microcomputer reseting procedure.By this configuration, single-chip microcomputer can be operated in different mode of operations or running status.In order to realize starting configuration, must add corresponding logic level at the pin of appointment, finish the combination of a series of configurations.This process realizes by wire jumper or plectrum switch.
The PowerPC500 series monolithic is a Freescale company in a series of New Type of Chip Microcomputer of releasing in recent years, mainly comprises single-chip microcomputers such as MPC555, MPC561, MPC563, MPC564, MPC565, MPC566.This series monolithic the is integrated respectively RAM of different sizes, Flash Rom storer and such as peripheral modules such as AD, CAN, TPU, MIOS, QSM are particularly suitable for fields such as automotive electronics, automobile dynamic system control or other similar related industries field controls.
Three kinds of configuration modes that the PowerPC500 series monolithic provides are respectively external data bus pin configuration, inner FLASH register configuration, internal constant configuration.Wherein, the internal constant configuration flexibility is relatively poor, generally is used to dispose less acquiescence occasion; Inner FLASH configuration is minimum to extra hardware requirement, but each change all needs the inner FLASH of programming.Therefore the most frequently used configuration mode is from data bus DATA[0:31] read configuration signal, this configuration signal is provided by the state of plectrum switch, only is added on the data bus pins by latch when reset mode HRESET is effective.
The PowerPC500 series monolithic provides 24 to start config option, if adopt above-mentioned control method, needs 38 plectrum switches and 3 octal latch devices (as 74LS573) at least.If draw on considering, also need resistor chain.This shows, adopt traditional allocation plan will increase the number of element, increase the area of circuit board, the complexity height of circuit.
In order to address the above problem, some scheme adopts at the outside inking device that resets that uses complex programmable logic editing machine CPLD as single-chip microcomputer of PowerPC500 series monolithic, but also there is following deficiency in design like this:
(1) the complex programmable logic editing machine costs an arm and a leg, and increases cost of products greatly.
(2) the complex programmable logic editing machine need use VHDL language to programme, and needs special software to carry out designs such as logical sequence, the programming operation complexity, and difficulty is bigger.
Power supply supply situation detected when (3) the complex programmable logic editing machine can't reset to single-chip microcomputer, can cause the single-chip microcomputer improperly-configured that resets under some powers on situation about delaying.
Continuous development along with singlechip technology, the single-chip microcomputer of the high-quality simple structure of some low price is applied in the increasing occasion, these single-chip microcomputers are cheap, feature richness, support the C Programming with Pascal Language, developing instrument is simple, and can work under rugged surroundings such as the industry of harshness, automobile, is very suitable for replacing the complex programmable logic editing machine to carry out the design of small-sized DLC (digital logic circuit).Not only reduced cost, and improved development environment, the development difficulty of having demoted.Because integrated analog-digital conversion function can also be carried out monitoring and detection to electrification reset power supply supply situation in the single-chip microcomputer, according to the correct arrangement reset circuit of resetting voltage, improves system reliability and stability.
Summary of the invention
The purpose of this utility model is the complicated and expensive shortcoming of hardware circuit that exists at existing configuration circuit, under the prerequisite of not sacrificing configuration flexibility, has simplified the configuration mode of single-chip microcomputer, has reduced the workload of hardware cost and hardware design.
A kind of single-chip microcomputer inking device that resets is characterized in that,
It contains 8 low price and disposes single-chip microcomputer, the input and output pin of described low price configuration single-chip microcomputer links to each other with the configuration pin of PowerPC500 series monolithic, its analog to digital conversion port is supplied with PowerPC500 series monolithic power supply and is linked to each other, by described low price configuration single-chip microcomputer is programmed, make it when the PowerPC500 series monolithic starts, detect reset level and whether reach the requirement that resets, the corresponding logic level of output on the corresponding pin of PowerPC500 series monolithic realizes the correct startup configuration of PowerPC500 series monolithic.
The model of described low price configuration single-chip microcomputer is ATmega16L, and the model of described PowerPC500 series monolithic is a kind of in these series monolithics such as MPC555, MPC561, MPC563, MPC564, MPC565, MPC566;
Described low price configuration single-chip microcomputer PA4 pin links to each other with the PORESET pin of described PowerPC500 series monolithic, and the PA0~PA3 I/O pin of described low price configuration single-chip microcomputer links to each other with the IRQ5~IRQ7 pin of described PowerPC500 series monolithic; The I/O pin of described low price configuration single-chip microcomputer and the data bus DATA[0 of described PowerPC500 series monolithic: 31] in the pin that is used to dispose link to each other, the PA5 pin that described low price disposes single-chip microcomputer links to each other with the HRESET pin of described PowerPC500 series monolithic.Realize that the connected mode that the electrification reset power supply detects is: the analog power AVCC of described low price configuration single-chip microcomputer links to each other with power supply VCC with reference power source AREF, and the analog to digital conversion pin PA7 of described low price configuration single-chip microcomputer links to each other with the core power supply 2.6V power supply V2.6 of described PowerPC500 series monolithic.
The utility model is compared with traditional single-chip microcomputer collocation method, and following marked improvement is arranged:
A) save plectrum switch, latch and the resistor chain that needs in the conventional arrangement, reduced hardware cost and manufacturing cost.
B) reduce the workload of hardware design, reduced the adverse effect that hardware design is made mistakes and brought.
C) allocation plan can not lose configuration flexibility by changing at circuit programming disposing single-chip microcomputer at a low price.
D) adopt low price to dispose single-chip microcomputer, compare, reduce cost greatly with adopting the complex programmable logic editing machine.
Power supply supply situation detects when e) single-chip microcomputer being resetted, and guarantees that the normal startup of single-chip microcomputer resets.
Experiment showed, that the utility model can simplify the configuration mode of single-chip microcomputer, reduced the workload of hardware cost and hardware design, and possessed electrification reset power supply measuring ability to have very high dirigibility in the use, reached its intended purposes.
Description of drawings
Fig. 1 is the synoptic diagram of the utility model as PowerPC500 series monolithic configuration device;
Fig. 2 is a hardware elementary diagram of the present utility model;
Fig. 3 realizes starting the internal processes flow process of configuration for the utility model.
Embodiment
Below in conjunction with description of drawings the utility model.
As shown in Figure 1, each input/output terminal that disposes single-chip microcomputer at a low price links to each other with the configuration end of single-chip microcomputer, and in the time of need disposing mcu programming to low price, the JTAG debug port links to each other with computing machine, thereby carries out at circuit programming disposing monolithic parts internal logic at a low price.This collocation method disposes single-chip microcomputer at a low price with this core power supply of PowerPC500 series monolithic is carried out monitoring and detection when starting, configuration pin output clock configuration signal and hardware reset configuration words to the PowerPC500 series monolithic, the PowerPC500 series monolithic disposes single-chip microcomputer all of the port attribute changes at a low price for input when normally moving, and externally is the output high-impedance state.
Fig. 2 adopts to dispose the circuit diagram that chip microcontroller PowerPC500 series monolithic starts configuration at a low price.The low price configuration single-chip microcomputer of selecting for use in this example is ATmega16L.ATmega16L has following characteristic: 3.3V operating voltage and PowerPC500 series monolithic compatibility; 16K byte in-chip FLASH able to programme, the 1K on-chip SRAM, 32 I/O, 8 tunnel 10 ADC, programmable detection of power loss can satisfy the startup configuration requirement of PowerPC500 series monolithic; The I/O mouth is realized triple gate output by being provided with, and can realize the complicated startup configuration logic that resets.
Resetting of PowerPC500 series monolithic is divided into electrification reset (PORESET) and hardware reset (HRESET).When electrification reset, the PORESET pin is a low level, reads IRQ[5:7] on signal dispose MODCK[1:3 as phase-locked loop clock].In the hardware reset process, the PowerPC500 series monolithic drives HRESET and 512 clock period of SRESET pin, and this moment, HRESET was a low level, the signal DATA[0:31 on the readout data bus] as the hardware reset configuration words.In the conventional arrangement scheme, normally adopt the combination of latch and plectrum switch or complex programmable logic editing machine to finish this configuration.
But in order to realize the online programming function, MOSI, the MISO, SCK and the RESET pin that dispose single-chip microcomputer at a low price are connected with JTAG debugging interface respective pins.For realizing the electrification reset configuration feature, the IRQ5 of PowerPC500 series monolithic, IRQ6, IRQ7 pin are connected at a low price and dispose on the I/O pin of single-chip microcomputer, and the PORESET pin of PowerPC500 series monolithic is connected at a low price and disposes on the PA4 pin of single-chip microcomputer; For realizing starting the configuration feature that resets, data bus DATA[0:31 with the PowerPC500 series monolithic] in the pin that is used to dispose be connected to the I/O pin that disposes single-chip microcomputer at a low price, the HRESET pin of PowerPC500 series monolithic is connected at a low price and disposes on the PA5 pin of single-chip microcomputer.For realizing electrification reset power supply measuring ability, the core power supply 2.6V power supply V2.6 of PowerPC500 series monolithic is connected at a low price and disposes on the analog to digital conversion pin PA7 of single-chip microcomputer.
Dispose the interior logic of single-chip microcomputer sheet at a low price as shown in Figure 3, disposing single-chip microcomputer at first carries out monitoring and detection to the core power supply of PowerPC500 series monolithic at a low price, when supply power satisfies the electrification reset condition, put low PORESET effectively from IRQ[5:7 according to sequential logic] configuration MODCK[0:2], put low HRESET effectively from DATA[0:31 according to sequential logic] and configuration startup configuration information.After configuration was finished, all pins that dispose single-chip microcomputer at a low price all were the output high-impedance state, not to data bus and I RQ[5:7] impact.By software compiled program is downloaded to low price by JTAG programming cable and dispose single-chip microcomputer inside, the sequential logic in the time of can realizing starting.This program guarantees in running status, disposes the single-chip microcomputer all of the port at a low price and is configured to input, externally is the output high resistant, and the signal on data bus and the IRQ is not subjected to dispose single-chip microcomputer at a low price to be influenced.
To before at a low price disposing the single-chip microcomputer inside programming to each input, output state designated pin.The I/O pin should be connected corresponding with hardware with the state of device pin.Change configuration if desired, only need to change the program that disposes single-chip microcomputer at a low price, recompilate, programme and get final product disposing single-chip microcomputer at a low price by the JTAG download cable then.The free the integration environment that whole operation can use Atmel to provide is finished by the C language compilation.
The utility model has been saved plectrum switch, latch and the resistor chain that needs in the conventional arrangement, reduced the workload of hardware cost and hardware design, can simplify the configuration mode of single-chip microcomputer, and possess electrification reset power supply measuring ability, have very high dirigibility in the use.

Claims (2)

1. the single-chip microcomputer inking device that resets, this device contains 8 single-chip microcomputers, it is characterized in that,
The PA4 pin of described single-chip microcomputer links to each other with the PORESET pin of described PowerPC500 series monolithic;
The PA0 of described single-chip microcomputer~PA3 I/O pin links to each other with the IRQ5~IRQ7 pin of described PowerPC500 series monolithic;
The I/O pin of described single-chip microcomputer and the data bus DATA[0 of described PowerPC500 series monolithic: 31] in the pin that is used to dispose link to each other;
The PA5 pin of described single-chip microcomputer links to each other with the HRESET pin of described PowerPC500 series monolithic;
The analog power AVCC of described single-chip microcomputer reaches and links to each other with power supply VCC with reference power source AREF;
The analog to digital conversion pin PA7 of described single-chip microcomputer links to each other with the core of described PowerPC500 series monolithic power supply 2.6V power supply.
2. the single-chip microcomputer according to claim 1 inking device that resets is characterized in that the model of described single-chip microcomputer is ATmegal6L.
CNU200720104029XU 2007-03-30 2007-03-30 Singlechip resetting allocating device Expired - Lifetime CN201037923Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU200720104029XU CN201037923Y (en) 2007-03-30 2007-03-30 Singlechip resetting allocating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU200720104029XU CN201037923Y (en) 2007-03-30 2007-03-30 Singlechip resetting allocating device

Publications (1)

Publication Number Publication Date
CN201037923Y true CN201037923Y (en) 2008-03-19

Family

ID=39210439

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU200720104029XU Expired - Lifetime CN201037923Y (en) 2007-03-30 2007-03-30 Singlechip resetting allocating device

Country Status (1)

Country Link
CN (1) CN201037923Y (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113296433A (en) * 2021-04-28 2021-08-24 成都秦川物联网科技股份有限公司 Singlechip resetting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113296433A (en) * 2021-04-28 2021-08-24 成都秦川物联网科技股份有限公司 Singlechip resetting method

Similar Documents

Publication Publication Date Title
CN101419485B (en) Function-variable portable computer mainboard
CN103336700B (en) The serial ports programming circuitry of a kind of digital signal processor and system
US20070260790A1 (en) Embedded controller and method for updating the firmware thereof
US20070198787A1 (en) Patching ROM code
CN107977212A (en) Support the high speed cd-rom recorder of multiple communication modes
CN102520961A (en) Off-chip online programmable SOC (system on a chip) and control method for same
CN201037923Y (en) Singlechip resetting allocating device
CN100545826C (en) A kind of microcontroller
US6877063B1 (en) Multiple memory aliasing for a configurable system-on-chip
CN201397369Y (en) Development test circuit device
CN2687736Y (en) Monolithic processor resetting configuration device
US6530050B1 (en) Initializing and saving peripheral device configuration states of a microcontroller using a utility program
KR100410557B1 (en) Microcontroller with program patching capability and method for operating the same
CN201000625Y (en) Field programmable gate array online configuration device
CN114035463B (en) Special integrated circuit and control chip for digital instrument control system
CN100357909C (en) Simulator chip and simulating method thereof
CN211979512U (en) Unmanned aerial vehicle flight control system
CN103984263B (en) A kind of compatible ISA, the general dsp module of pci bus interface and collocation method
CN209590837U (en) A kind of hand held high precision data collecting instrument
CN111651382A (en) Parallelization storage implementation method of data acquisition system based on local bus
CN104750582A (en) A debugger
TMS320F28335 et al. TMS320F2833x, TMS320F2823x Digital Signal Controllers (DSCs)
CN214151690U (en) Burning device
CN220473986U (en) Core board based on XC7Z045 signal processing SiP chip
CN2864831Y (en) Software upgrading device for tax controlled cash register

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20080319