simulation error

Status
Not open for further replies.

4electros

New Member
This error message appeared when i try to simulate this circuit by proteus software (file attached)

what could it be?and what should i do for making it correctly?!
 

Attachments

  • untitled.PNG
    17.7 KB · Views: 1,159
There is no model for the IC labelled DS1. I don't know anything about proteus software so I'll have to leave it for someone else to help you.
 
I'd say the spice model for the IC is missing, I uploaded the file so you can fix it, download it here

**broken link removed**

copy the file to the folder called "MODELS" in your Proteus 6 install directory
 
error occured after simulating:
-------------------------------------------------------------------------
SIMULATION LOG
==============
Design: E:\Graduation project\project-07.dsn
Doc. no.: <NONE>
Revision: <NONE>
Author: <NONE>
Created: 10/09/03
Modified: 24/08/04

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

Simulating partition 1 [046C809A]...
Animation started with warnings...
PROSPICE Release 6.9 SP2 (C) Labcenter Electronics 1993-2006.
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...
Warning: Net #00034 has no DC path to ground.
Check pins: RL1-NO, RL1_S1-+
Warning: Net #00035 has no DC path to ground.
Check pins: RL1-COM, RL1_S1--, RL1_S2--
Warning: Net #00037 has no DC path to ground.
Check pins: RL1-NC, RL1_S2-+
Instantiating SPICE models...
[U1] PIC16 model release 6.9 SP0 simulating PIC16628 device.
[U1] Loaded 128 bytes of persistent EEPROM data.
[U1] Loading HEX file 'project-07_hex.hex'.
FATAL: [U1] Program or EEPROM data has invalid address [2000] for this device

Real Time Simulation failed to start
Totaliters=0, Totalsteps=0, Goodsteps=0, Badsteps=0


Real Time Simulation FAILED.

-------------------------------------------------------------------------
 
any help please!

especially for: FATAL: [U1] Program or EEPROM data has invalid address [2000] for this device
 
By the look at what is happening you are either not correctly defining the device (PIC micro) your using, or not defining it at all.
 
i KNOW NOTHING, but it appears that the program for the PIC is part of the simulation and it has an error.
 
I'm getting the following error when trying to compile the program

Error[113] D:\TEMP.ASM 643 : Symbol not previously defined (TMRIL)

Could this be the issue?
 
Honestly , i didn't understand what you made exactly and which compiler for what purpose have you used.what about TMRIL?
and also how can i modify my program as i have asm and hex file?

sorry but i'm getting lost.
thanks a lot
 
4electros said:
Honestly , i didn't understand what you made exactly and which compiler for what purpose have you used.what about TMRIL?

Perhaps you should try reading the replies?.

It's NOT TMRIL it's TMR1L - a ONE not an EYE.
 
I replaced all TMRIL in that file with TMR1L so could you compile it to hex file cause i don't have the compiler?
can you also try to simulate the circuit and give the results to me?

or at least some comments which will be very appreciated!

regards
 

Attachments

  • temp11.zip
    4.4 KB · Views: 199
I got a compiler called PIC simulator IDE and after I replaced every TMRIL with TMR1L,the following error messages have appeared:

0003 0000 LIST P=16F628, F=INHX8M
0003 Error: Unrecognized instruction.
0004 0000 include "P16F628.inc"
0004 Error: Unrecognized instruction.
0005 0000 __CONFIG 0x3D41
0005 Error: Unrecognized instruction.


1925 Error: Unrecognized instruction.
1926 2100 DATA 0x00
1926 Error: Unrecognized instruction.
1927 2100 DATA 0x05
1927 Error: Unrecognized instruction.
1928 2100 DATA 0x0F
1928 Error: Unrecognized instruction.

any help?
 
Last edited:
Looks like your simulator is crap!.

Presumably it comes with instructions or a help file?, try reading them - the errors you show don't look like errors in the code? - why not use MPLAB?, the official MicroChip simulator (assuming you want to use a simulator at all?)
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…