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.

Proteus Simulation Problem

Status
Not open for further replies.

w_bwr

Member level 3
Member level 3
Joined
Feb 4, 2010
Messages
66
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Karachi, Pakistan
Activity points
1,810
Proteus v 7.8 SP2


I am trying to simulate a circuit, which consist of 18f452 with two inputs and LEDs as outputs.
Simulation don't run and gives this error. " NO HEX FILE"

But there is HEX file, I have tested it on an actual board and it works fine.


see the picture.
 

Attachments

  • untitled.JPG
    untitled.JPG
    100.8 KB · Views: 140

Double click the microcontroller in the proteus schematic and set the hex file location in the properties


Alex
 

According to your image you have used the coff fie and can't be opened.
Make sure that the path is correct.
Also try with the hex file.
 

Do not use path in the properties window.
Simply write this:
test_int.hex
(or test_int.cof if you have it)
 

The path is not a problem if it is the correct one.
If the file is in the same folder as the proteus file then you can just use the hex or coff name.
 

Do not use path in the properties window.
Simply write this:
test_int.hex
(or test_int.cof if you have it)

Thnx, that did it.

I copied my files to the "Labcenter Electronics\Proteus 7 Professional\BIN" folder and it works.
 

I don't get how you were using a wrong path when there is a dialog to select the file!

The BIN folder is not the correct place to have your file.
Create a project folder and place both the proteus project file and the hex there, then just use the hex name without path.
This is the only way to ensure portability.
 

I don't get how you were using a wrong path when there is a dialog to select the file!

The BIN folder is not the correct place to have your file.
Create a project folder and place both the proteus project file and the hex there, then just use the hex name without path.
This is the only way to ensure portability.

I wasn't using the wrong path. My Proteus file and the hex weren't in the same folder. This was the problem.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top