design of a reset ciruit

Jan 21, 2010 8 Replies

Can anyone tell how to design a reset circuit for microcontroller that can change the default values? example:



REGISTER DEFAULT VALUES program counter 0x43 stack pointer 0x0f accumultor 0x00 flag register 0x80


--------------------------------------- Posted through

formatting link


sharathselvam schrieb:

I don?t realy understand your question.

Normaly, when a reset occurs, the processor starts or restarts at a predifined position. There, you start an initialization routine, where you initialize the registers as you want them after reset.

Or do you want to reinitialize this registers when an event, e.g. an electrical signal occurs at a processor pin?

In this case, you could use an interrupt-pin and reinitialize your registers in the interrupt service routine for this signal without a real processor reset.

The 'real' reset curcuit depends on the processor. You will find examples in the documetation of the processor. Often, it is a resistor an a capacitor.

Best regards

Stefan DF9BI

Stefan Brröring escreveu:

Perhaps because he compacted too much the homework assignment?

-- Cesar Rabak GNU/Linux User 52247. Get counted:

formatting link

Yes. Contact the vendor and have him produce a custom mask for you.

At the same time, feel free to suggest alternate *colors* to replace the boring black plastic that encapsulates your part so you will be able to recognize it from all the others.

If you agree to purchase in sufficiently high volumes, you can probably, also, arrange for the electrons to spin *backwards* in your parts so none of your competitors will be able to steal your design! (alternatively, you could have the charges swapped on the electrons and holes, if that better fits your budget)

If you used a soft core in an FPGA you could probably change these!

For a hard device see the other answers.

Nial.

n

Sure. Not difficult.

Get the Debug-Interface information (Contact the vendor, or reverse engineer a working system, or some even publish it).

You can then use that Debug channel, to change the internal values to whatever values you want, and to the user code that follows, it will look exactly like it came out of reset with those new default values.

Expect an 'A' for this answer, as it is unlikely any of your classmates will answer the exact question asked.

-jg

I know that one. Gimme a next question.

StoneThrower www.dgmicrosys.com

n

look up boot loader

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required