helpSimulavr: an AVR simulator - Support: sr #106378, memory.c::175 ERROR: Use of...


sr #106378: memory.c::175 ERROR: Use of deprecated interface

Submitted by:  None
Submitted on:  Thu 22 May 2008 08:15:30 PM UTC  
Category: bugsPriority: 5 - Normal
Severity: 3 - NormalStatus: Wont Do
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Closed
Component Version: simulavrOperating System: Microsoft Windows

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 25 Oct 2014 05:37:45 PM UTC, comment #1:

simulavr 0.1.x.y and to old, closed w/o action

Thomas K. <tomk>
Project Administrator
Thu 22 May 2008 08:15:30 PM UTC, original submission:

I am using WinAVR-20080512 (simulavr with Ethernut-4.4.1, configured for the ATmega128. In order to compile Enut I had to add a #define line to avr\include\avr\sleep.h, because the new version had no __SLEEP_MODE_MASK defined. I added it in the section which
applies to the atmega128 and many others.

#define _SLEEP_MODE_MASK (_BV(SM0) | _BV(SM1) | _BV(SM2))

I can successfully build examples, but when I try to run the hex file under simulavr I get the above error message. One specific example is "caltime".

The simulavr command I used is:

simulavr -d atmega128 -E hex -e caltime.hex

I have gotten the same error when compiling under two previous versions of WinAVR, using simulavr 1.2.2.

Am I doing something wrong or is there some bug?



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #15700:  sleep.h added by None (14KiB - application/octet-stream)
file #15701:  caltime.hex added by None (66KiB - application/octet-stream)
file #15702:  caltime.c added by None (11KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by tomk (Posted a comment)
  • -unavailable- added by joerg_wunsch (Updated the item)
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 25 Oct 2014 05:37:45 PM UTCtomkStatusNone=>Wont Do
    Sun 22 Mar 2009 09:35:57 PM UTCjoerg_wunschComponent VersionNone=>simulavr
    Thu 22 May 2008 08:15:30 PM UTCNoneAttached File-=>Added sleep.h, #15700
      Attached File-=>Added caltime.hex, #15701
      Attached File-=>Added caltime.c, #15702

    Back to the top

    Powered by Savane 3.1-cleanup1