simulavr-devel
[Top][All Lists]
Advanced

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

[Simulavr-devel] memory.c::175 ERROR: Use of deprecated interface


From: JERRY RAPIER
Subject: [Simulavr-devel] memory.c::175 ERROR: Use of deprecated interface
Date: Tue, 27 May 2008 13:37:21 -0700

This error occurs when I try to use simulavr on various example programs.  I'm 
running simulavr-0.1.2.5 under
Windows XP SP3.  I modified WinAVR's sleep.h to provide a definition for the 
missing __SLEEP_MODE_MASK so the OS
would compile.  I compiled the OS using ethernut21b.conf.  Then I made 
caltime.hex and attempted to use simulavr:

simulavr -d atmega128 -E hex -e caltime.hex and got the error in the subject 
line.

I retried with the .bin file:

simulavr -d atmega128 -E bin -e caltime.bin -- same error.

I looked at memory.c and it appears that it rejects any attempt to find the
memory structure by device name.
 
Memory.c appears to want the device specified by some address.  How do I find
out this value and specify it to the program??  Shouldn't
simulavr have some means built in to get same from the name?

I'd appreciate some advice as to a workaround if any.  Thanks.

-- Jerry Rapier


Attachment: caltime.c
Description: Binary data

Attachment: caltime.hex
Description: Binary data

Attachment: caltime.bin
Description: Binary data

Attachment: sleep.h
Description: Binary data


reply via email to

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