simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Simulavr-devel] Simulavr error


From: Dhruvesh Patel
Subject: [Simulavr-devel] Simulavr error
Date: Thu, 10 Apr 2008 15:54:24 +0530

Hi,

I am using winavr tools on Linux for AVR development. I have following
versions:

avrdude-5.5.tar.gz  
avr-libc-1.6.2.tar.bz2  
binutils-2.18.tar.bz2  
gcc-4.2.2.tar.bz2  
gdb-6.8.tar.bz2  
simulavr-0.1.2.5.tar.gz

I am able to compile the demo example given with the avr-libc. When I try to
run simulavr with the bin file generated from the demo, it gives following
log:

~~~~~~~~~~~~~~~~~~~~~
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TWBR' at 0x0020
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TWSR' at 0x0021
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TWAR' at 0x0022
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TWDR' at 0x0023
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'ADCL' at 0x0024
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'ADCH' at 0x0025
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'ADCSRA' at 0x0026
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'ADMUX' at 0x0027
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'ACSR' at 0x0028
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'UBRRL' at 0x0029
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'UCSRB' at 0x002a
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'UCSRA' at 0x002b
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'UDR' at 0x002c
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'SPCR' at 0x002d
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'SPSR' at 0x002e
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'SPDR' at 0x002f
devsupp.c:342: MESSAGE: attach: IO Reg 'PIND' at 0x0030: created
devsupp.c:326: MESSAGE: attach: IO Reg 'DDRD' at 0x0031: ref = 0x0030
devsupp.c:326: MESSAGE: attach: IO Reg 'PORTD' at 0x0032: ref = 0x0030
devsupp.c:342: MESSAGE: attach: IO Reg 'PINC' at 0x0033: created
devsupp.c:326: MESSAGE: attach: IO Reg 'DDRC' at 0x0034: ref = 0x0033
devsupp.c:326: MESSAGE: attach: IO Reg 'PORTC' at 0x0035: ref = 0x0033
devsupp.c:342: MESSAGE: attach: IO Reg 'PINB' at 0x0036: created
devsupp.c:326: MESSAGE: attach: IO Reg 'DDRB' at 0x0037: ref = 0x0036
devsupp.c:326: MESSAGE: attach: IO Reg 'PORTB' at 0x0038: ref = 0x0036
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'UBRRH' at 0x0040
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'WDTCR' at 0x0041
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'ASSR' at 0x0042
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'OCR2' at 0x0043
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TCNT2' at 0x0044
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TCCR2' at 0x0045
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'ICR1L' at 0x0046
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'ICR1H' at 0x0047
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'OCR1BL' at 0x0048
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'OCR1BH' at 0x0049
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'OCR1AL' at 0x004a
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'OCR1AH' at 0x004b
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TCNT1L' at 0x004c
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TCNT1H' at 0x004d
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TCCR1B' at 0x004e
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TCCR1A' at 0x004f
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'SFIOR' at 0x0050
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'OSCCAL' at 0x0051
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TCNT0' at 0x0052
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TCCR0' at 0x0053
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'MCUCSR' at 0x0054
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TWCR' at 0x0056
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'SPMCR' at 0x0057
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TIFR' at 0x0058
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'TIMSK' at 0x0059
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'GIFR' at 0x005a
devsupp.c:348: MESSAGE: TODO: attach IO Reg 'GICR' at 0x005b
devsupp.c:342: MESSAGE: attach: IO Reg 'SPL' at 0x005d: created
devsupp.c:326: MESSAGE: attach: IO Reg 'SPH' at 0x005e: ref = 0x005d
devsupp.c:342: MESSAGE: attach: IO Reg 'SREG' at 0x005f: created
avrcore.c:485: MESSAGE: attach: Internal SRAM from 0x0060 to 0x045f
decoder.c:3875: MESSAGE: generating opcode lookup_table
main.c:415: MESSAGE: Simulating clock frequency of 8000000 Hz
memory.c:259: WARNING: **** Attempt to write invalid io reg: TCCR1A at
0x004f
memory.c:224: WARNING: **** Attempt to read invalid io reg: TCCR1B at 0x004e
memory.c:259: WARNING: **** Attempt to write invalid io reg: TCCR1B at
0x004e
memory.c:259: WARNING: **** Attempt to write invalid io reg: OCR1AH at
0x004b
memory.c:259: WARNING: **** Attempt to write invalid io reg: OCR1AL at
0x004a
memory.c:259: WARNING: **** Attempt to write invalid io reg: TIMSK at 0x0059
memory.c:224: WARNING: **** Attempt to read invalid io reg: MCUCR at 0x0055
memory.c:259: WARNING: **** Attempt to write invalid io reg: MCUCR at 0x0055

memory.c:175: ERROR: use of deprecated interface
~~~~~~~~~~~~~~~~~~~~~

Can anyone point to what is wrong here? Any help is highly appreciated.

Regards,
Dhruvesh




reply via email to

[Prev in Thread] Current Thread [Next in Thread]