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:  bugs Priority:  5 - Normal
Severity:  3 - Normal Status:  Wont Do
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Closed
Component Version:  simulavr Operating 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 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 Files:
   
   
Comment:
   

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
  • -email is unavailable- added by tomk (Posted a comment)
  • -email is unavailable- added by joerg_wunsch (Updated the item)
  • -email is unavailable- added by None (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-10-25 tomk StatusNone => Wont Do
        Open/ClosedOpen => Closed
    2009-03-22 joerg_wunsch Component VersionNone => simulavr
    2008-05-22 None Attached 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.3