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

PIC and Proteus 5.2.02 simulation problem.

Status
Not open for further replies.

PlatinumT

Member level 3
Joined
Sep 15, 2002
Messages
58
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Arkansas
Activity points
407
error - ctloader spanish

I get this error measage when I try and run the the simulation. I am using the generic "blink.bas" code.

Thanks for helpinf

SIMULATION LOG
==============
Design: UNTITLED.DSN
Doc. no.: <NONE>
Revision: <NONE>
Author: <NONE>
Created: 03/03/03
Modified: 03/03/03

Compiling source files...
Build completed OK.
Compiling netlist...
Linking netlist...
Partition analysis...

Simulating partition 1 [CBD5E1C9]...
Animation started sucessfully...
PROSPICE Release 5.20.01 (C) Labcenter Electronics 1993-2001.
SPICE Kernel Version 3f5. (C) Berkeley University ERL.

Reading netlist...
Net VDD taken as alias for VCC
Net VSS taken as alias for GND
Reading SPICE models...
Building circuit...
Instantiating SPICE models...
ERROR: [U1] Error reading file [blink2.HEX] at line 3: Program location 0x2007 is out of range for operand 0x3FF5.
[DSIM] BOOT Error.
Real Time Simulation failed to start

Real Time Simulation FAILED.
 

Fragrance

Advanced Member level 4
Joined
Jul 26, 2002
Messages
1,191
Helped
247
Reputation
494
Reaction score
198
Trophy points
1,343
Location
East Of Earth
Activity points
8,916
FIND SOLUTION

HI,

What type of basic compiler you are using pic basic pro from melab or
pic basic plus from crown hill in first case you have no chanse to counter
this problem , because proteus has no support for melab one thing more
version six have support for basic,
But it will support only pic basic plus any way you a one chanse to simulate basic code of melab with proteus see the links and down load both file ,in one file i describe how to use the melab with proteus
the other one is loader for pic basic plus copy this loader in your proteus folder if you are using pic basic plus
http://www.elektroda.pl/eboard/viewtopic.php?t=41314

i think you will counter the problem with this help

regards
Fragrance
 

S

sick_man

Guest
i notice your using sp2 version

this has no support in the api for the instructions used too interface too picbasic in ctloader
these instructions and associations were only added too sp6 and 7



other than this
use sp7 with picbasic
placing all the parts of ctloader in the correct place

you have a memory overflow becouse the loader of dll isnt being addressed properly

Error reading file [blink2.HEX] at line 3: Program location 0x2007 is out of range for operand 0x3FF5

this error can also be caused by not setting a value for the fuse settings etc in your code as a header
line 3 shows 2007 the operand is supposed to intersect at 3ff5

so... perhaps you foget too add an oragin of zero

ORG = 0

2007???? is the middle of the eeprom
so this could be a cause

the remidy for it just install sp7
 

PlatinumT

Member level 3
Joined
Sep 15, 2002
Messages
58
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Arkansas
Activity points
407
I got it to work. I just downloaded sp7 and it works great.

Thanks for the help guys.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top