Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

How to detect presence of component in Embedded system?

Status
Not open for further replies.

raghun

Newbie level 6
Joined
Jan 19, 2006
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,350
Hi,
I am working on a safety critical system project for railways and I am using AT89C52 micro controller.

I use a number of buffers (74ls373), decoders (74ls138) , multiplexers(74ls157) etc. During self test of the I need to check the presence of each of the components mentioned above. If any of the component is removed from the system or it has failed to function then the AT89c52 need to detect the failed or removed component and the whole system need to go to fail safe mode.

Can anyone help me with this issue.
Raghu
 

bobcat1

Advanced Member level 4
Joined
Jul 10, 2002
Messages
1,288
Helped
99
Reputation
198
Reaction score
34
Trophy points
1,328
Activity points
8,547
Hi

Design your system using FPGA it will lower your cost and easy system test

All the best

Bobi
 

skygazer

Junior Member level 3
Joined
Jul 14, 2006
Messages
28
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
India
Activity points
1,475
hi raghun,
If you need to check the presence of any component on the board, you have to hook them up to your data bus.Then run some sort of loop back script which will apply proper bits to the inputs of the component, as well as read the output generated by the component.
You may have a table which maps inputs to outputs for all the components used in your design.The code can then check the outputs against the expected ones.

~~skygazer
 

ragabs

Full Member level 1
Joined
Jun 28, 2005
Messages
97
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
2,111
first tied output ports of micro to inputs of component
then tied input ports of micro to the cresponding output pins of component

apply test vector (as input to component) and check the cresponding output vector
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top