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: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Component Version: simulavrOperating System: Microsoft Windows

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Thu 22 May 2008 08:15:30 PM UTC, original submission:

I am using WinAVR-20080512 (simulavr 0.1.2.5) 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?

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    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-cleanup