Hi all,
I have been doing some work on learning to develop in GCC for the Atmel MCU's I have as I have only ever used ASM for these MCU's.
I noticed that there is no simulator available when developing a GCC project for the ATMega8515 in Atmel Studio 7, so I did a bit of research here and found that it only worked on the older simulator 1 as it was called, and not simulator 2, and therefore Atmel Studio 6 and 7 cannot simulate that MCU. I found this post from John Samperi about this.
https://www.avrfreaks.net/comment/1561051#comment-1561051
I fiddled some more and found there is a simulator option for the ATMega8515 but only when using ASM but not C.
My question is, when a C project is compiled and then simulated, does Atmel Studio not compile it to a hex file then use that code for the simulation or does it simulate the C code? If it compiles to a hex file, it doesn't make much sense that you cannot simulate in C projects but you can in ASM projects.
EDIT: Incorrectly stated compiling to assembler instead of a hex file. Corrected