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.

Basic steps in embedded software

Status
Not open for further replies.

vedadribabu

Newbie level 5
Joined
Jan 13, 2011
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,322
1. What are the basic steps in Embedded system

2. what is meant by self-test ?

3. what is ram-test & rom test ?
 

I can answer initialization for #1 - you start with yourself (the microcontroller) and branch outward

1) Disable all interrupts - some have something akin to a reset command that turns I/O pins off/tristate
2) Set the microcontroller itself into whichever mode/configuration is desired
3) Setup whatever glue-fpgas or peripheral ICs
4) Setup anything remaining on the host board
5) For each hardware element you'll be using,
5a) Associate an interrupt vector if appropriate, and then enable its interrupt (there may be a correct ordering of these, due to interdependence)
6) there may be a global interrupt enable, which you turn on at the end to bring everything you've initialized all up at once

These presume there's no OS - just you and hardware.
If there's an OS, these initial steps are likely to be a problem, but bringing things up from the inside out is still the answer
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top