Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

reset in critical system

Status
Not open for further replies.

samport

Newbie level 4
Joined
Aug 26, 2005
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,314
Hi all

kindly can any one help me in this topic.

i was wondering how critical embedded systems in critical applications like planes and cars can overcome a reset( like watch dog reset or broun out reset) to the system, does it restart the system from the begining or there is another mechanism they use to resume work from the point it was reseted at.

best regards to all

samport
 

The way to recover from a reset depends on the system.

In the communication systems I am working on , the processor is used to handle the setup and control, not the traffic. In this case, a watchdog reset affects only the processor, not the hardware used for traffic. After the watchdog reset, the processor restarts and checks the system status. If the traffic is up and running, it will not be afftected.

In the case of brownout reset, because this have to reset all the hardware in the system, the system will do a cold start.

John
 

Dear j_doe_999


thanks for your reply.

as I know, the C compiler injects a start up code to zero all static and glopal variables in the RAM , so when the sestem resets how will the microprocessor or microcontroller know if the reset was due to cold reset , watch dog reset or voltage down reset

best regards

Samport
 

Hi,

I have come across some instances in design approaches. There is a separate memory termed as NVM in the critical systems, usually the watchdog timer is disabled and the data is moved to NVM. In case there is a power failure the full system will reboot up and then starts executing the last stored data present in the NVM.

I guess you were looking for this concept right.

Cheers
Gowtham
 

Hi all,

thanks alot to Gowthamn for his post.

can i ask you Gowthamn some questions?

how can the system do this in the start up while the C compiler inject start up code which make all memory locations zero value?

can i tell the compiler to insert my own start up code?

how can i save the program counter to be restored after a reset?

best regards

Samport
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top