...but when I change the content file of eeprom ,Proteus always reading values of the first file I choose
Ex : I have in my schematic eeprom 24c32 , I choose file "abcd.bin" then I read values from eeprom OK ,then I choose file "1234.bin" and I read value from eeprom 24c32 again ,but this time I read the same values (file "abcd.bin" , but the two files have different content
I have a proposition for you: play with the "Reset Persistent Model Data" command on the Debug menu in ISIS...
An extract from the PIC16.HLP:
Dialogue Form Field : Initial contents of data EEPROM
....
3. At the end of a simulation the contents of the PIC data EEPROM (including any changes made to it by the executed PIC code) are preserved by ISIS and saved with the design if the design is saved.
4. For all subsequent simulations the PIC data EEPROM is re-initialised with the data saved at the end of the previous simulation.
It is important to note that the PIC data EEPROM is only initialised (first to all 1’s and then from any specified data file) for the first simulation run; thereafter the memory is always re-initialised from the previous simulation run’s data. You can use Reset Persistent Model Data command on the Debug menu in ISIS to reset the persistent model data
for all models (not just the PIC model).Hope this helps
zuisti