URL: <http://savannah.nongnu.org/bugs/?35726>
Summary: Programs compiled with -mmcu=atmega32hvb cannot be simulated as expected Project: Simulavr: an AVR simulator Submitted by: keith_rothman Submitted on: Tue 06 Mar 2012 03:30:07 AM GMT Category: Simulation Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Email: ke...@skyboximaging.com Open/Closed: Open Discussion Lock: Any Component Version: simulavr _______________________________________________________ Details: Compiling attached file test.c with: avr-gcc -mmcu=atmega32hvb test.c And run the output with simulavr: simulavr -d atmega32 -W 0x20,- -f a.out -T exit Results in: WARNING: file rwmem.cpp: line 124: Invalid write access to IO[0x8fb]=0x0, PC=0xd0 WARNING: file rwmem.cpp: line 124: Invalid write access to IO[0x8fa]=0x1, PC=0xd2 WARNING: file rwmem.cpp: line 115: Invalid read access from IO[0x8fa], PC=0xd4 WARNING: file rwmem.cpp: line 115: Invalid read access from IO[0x8fb], PC=0xd6 aWARNING: file rwmem.cpp: line 115: Invalid read access from IO[0x8fa], PC=0xca WARNING: file rwmem.cpp: line 115: Invalid read access from IO[0x8fb], PC=0xcc Repeating forever. My understanding was that atmega32* parts should be equivalent from a CPU standpoint and it would be reasonable to expect this to work. What am I missing? _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?35726> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel