[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] [bug #35726] Programs compiled with -mmcu=atmega32hvb c
From: |
Keith Rothman |
Subject: |
[Simulavr-devel] [bug #35726] Programs compiled with -mmcu=atmega32hvb cannot be simulated as expected |
Date: |
Tue, 06 Mar 2012 03:30:09 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 |
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: address@hidden
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] [bug #35726] Programs compiled with -mmcu=atmega32hvb cannot be simulated as expected,
Keith Rothman <=