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.

how to simulate software of micro in pc?

Status
Not open for further replies.

7rots51

Advanced Member level 4
Joined
May 17, 2002
Messages
1,183
Helped
25
Reputation
50
Reaction score
12
Trophy points
1,318
Activity points
9,636
Hello

How to simulate and ways to simulate our microcontroller codes in PC ,before testing it in real hardware?

what is the best ways to simulate drivers (of hardwares like as ports,lcd,...)in PC?

please share your experience.
 

One way but not the best is to use programs called emulators. In these softwares you can check your code step by step. In every line of your code you can check the content of registers, ports, memory,....
For example, you can use 8051IDE program for 8051 family microcontrollers. I have used it to check a program written for dot matrix LED screen.
 

Well look friend... in order to test a driver and every other micro-proccesor code you may:

a) download a simulator for your processor (8085, 6800 series, 486 or whatever...) and then write in there your code... If you eant to test a driver you must also describe the functionality of your device... this may also be done in a higer language (C for example...) but the driver must be written in assembly...
b) for better result try to find a board where tyou can plug your device and then download the driver in a real life processor.... you may do this after you have developed the driven in your simulator... just check your program in real practice for sureness... believe if your driver is complex enough it is almost sure that it won't work at first in a real processor(needs extra debuging)....

Hope i've helped....
 

labcenter's product proteus is very efficent in microcontroller sim.
it supports 68xx,8052-52,pic and lots of preperial drivers lik lcds, dotmoatrixdisplays, keypads etc.
and it has got source level debugging support with developing Environments like keil or mplab. this means you can use proteus like an in circuit emulator.
for more info and demo soft :
www.labcenter.co.uk
 

use proteus isis software it is excellent toolfor these applications.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top