Hello.I have started to learn proteus and i designed a avr based schematic .But the simulation speed is very very low(0.000001 second/step).How can i increment simulation speed?
i had same problem with PICs , cek tat the sample files run in normal speed, i cudnt fix the problem completely, try removing the crystal and putting mcu speed at 1Mhz in its properties
Hello.I have started to learn proteus and i designed a avr based schematic .But the simulation speed is very very low(0.000001 second/step).How can i increment simulation speed?
If you can post your source and dsn file we'll have a look.
Typically this happens when you externally wire a crystal etc. - this introduces an extremely high speed oscillator which bottlenecks the simulation and is completely superfluous anyway. Clock frequency is specified as a property of the microcontroller device.
no i have the same design now in a new computer which runs much faster...
but not yet too fast...
i think it depends from crystal propterties but also fuse settings ...
and have a look at ur source if you have anything like polling which may cause delays....
i had same problem with f877. i am using CCS pic c. when i started ending code with infinite loop [while(1)] the problem never occured again. Most of my codes never reach that infinite loop, it stays there but never used. I hope it works for you.