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.

External mem and Proteus simulation?

Status
Not open for further replies.

Analyzer

Full Member level 6
Joined
Nov 18, 2001
Messages
374
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
3,518
proteus initial contents of eeprom

Hi there,

I'm simulating a 16F877 and 24LC128 in proteus 6.I would like to put a binary file into 24LC128 and read it back with 877 .I choose "initial contents of memory" and point a file then i want to read it back, every byte is -1.I'm putting a file that contains "ABCDEFGHIJKL" and its length is 12 bytes long.So why cant i get these 12 chars? What am i doing wrong?

Analyzer
 

TEHb

Member level 1
Joined
Mar 26, 2002
Messages
35
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,288
Location
United Kingdom
Activity points
235
proteus simulation for external ram

Try to erase .pwi file. It contains the EEPROM image during simulation.
 

Analyzer

Full Member level 6
Joined
Nov 18, 2001
Messages
374
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
3,518
initial contents of memory proteus eeprom

Hmm,

Pal, am i doing something wrong? It still does not work??

Analyzer.
 

Iain

Advanced Member level 4
Joined
Jan 9, 2004
Messages
113
Helped
17
Reputation
34
Reaction score
10
Trophy points
1,298
Activity points
1,136
external eeprom simulation in proteus

Are you sure you are loading a binary file (and not a hex file for example) ?

V6.3 allows loading of Intel & Motorola HEX into ROM/RAM models which saves a lot of grief.

Also, the I2C mems have loads of debugging options - try turning them all on and see what you get on the simulation log.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top