bugSimulavr: an AVR simulator - Bugs: bug #25665, ATmega8 simulation is broken...

 
 

bug #25665: ATmega8 simulation is broken (PORTA)

Submitted by:  Dmitry Xmelkov <dmix>
Submitted on:  Sun 22 Feb 2009 12:17:30 AM UTC  
 
Category: SimulationSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Joerg Wunsch <joerg_wunsch>
Open/Closed: ClosedComponent Version: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 24 Feb 2009 08:29:26 PM UTC, comment #1:

The entries for PINA and DDRA have been missing. As PINA is
the port's base address, and DDRA and PORTA are referring
to its vdev, this caused the symptom you've seen.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Sun 22 Feb 2009 12:17:30 AM UTC, original submission:

The CVS simulavr is failed with ATmega8. The error message is:

devsupp.c:321: ERROR: reference vdev hasn't been created yet

Seems, the reason is the next record in src/defn/mega8.h:
{
.addr = 0x3b,
.name = "PORTA",
.ref_addr = 0x39,
.reset_value = 0x00,
.rd_mask = 0xff,
.wr_mask = 0xff,
},
After excluding this record, the simulation is OK.

Dmitry Xmelkov <dmix>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by zfrdh (Updated the item)
  • -unavailable- added by dmix (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 24 Feb 2009 08:29:26 PM UTCjoerg_wunschStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 24 Feb 2009 02:17:30 PM UTCzfrdhAssigned toNone=>joerg_wunsch

    Back to the top


    Powered by Savane 3.1-cleanup1