It is not possible to simulate programs in the atmega8 microcontroller. I did the program in Atmel Studio and tried to simulate it in the ATmega8, nothing works. The same program compiled for ATmega328 and simulated on the ATmega328 microcontroller works correctly. I am a professor of automation engineering and would like to use the simulator in my classes, but we use the ATmega8.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2019-03-26
I have made the changes you suggested and still do not working. The same circuit and the same program work with the ATmega328 but do not work with the ATmega8. I am using version 0.3.10 with the files you sent in the attachment.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's working for me...
to be sure it is the device not working in simulide: did you try a simple blink led?
Wich operating system are you using?
If Linux: can you run in a terminal and copy/paste here the output?
Attached a blink led in PB4 for atmega8 at 16 MHz that works for me, can you try it?
It is not possible to simulate programs in the atmega8 microcontroller. I did the program in Atmel Studio and tried to simulate it in the ATmega8, nothing works. The same program compiled for ATmega328 and simulated on the ATmega328 microcontroller works correctly. I am a professor of automation engineering and would like to use the simulator in my classes, but we use the ATmega8.
Hi.
Yes, you are right. There is an error in some files.
The good thing is that it is possible to solve without recompiling it.
Use files attached to this post this way:
- Replace this file with "avrs.xml" attached to this post:
SimulIDE_0.x.x/share/simulide/data/avrs.xml
SimulIDE_0.x.x/share/simulide/data/avr/atmega8.data
Last edit: Santiago 2019-03-24
I have made the changes you suggested and still do not working. The same circuit and the same program work with the ATmega328 but do not work with the ATmega8. I am using version 0.3.10 with the files you sent in the attachment.
It's working for me...
to be sure it is the device not working in simulide: did you try a simple blink led?
Wich operating system are you using?
If Linux: can you run in a terminal and copy/paste here the output?
Attached a blink led in PB4 for atmega8 at 16 MHz that works for me, can you try it?
Your program worked on my system. I must be having problems with my program.
I'm using Simulide on windows 10.
Thank you for your help.
Solved in SimulIDE_0.3.10-SR2