simulavr-devel
[Top][All Lists]
Advanced

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

[Simulavr-devel] [sr #108815] added support for attiny4313


From: rjp
Subject: [Simulavr-devel] [sr #108815] added support for attiny4313
Date: Tue, 12 May 2015 12:28:12 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36

URL:
  <http://savannah.nongnu.org/support/?108815>

                 Summary: added support for attiny4313
                 Project: Simulavr: an AVR simulator
            Submitted by: james123
            Submitted on: Tue 12 May 2015 12:28:10 PM GMT
                Category: features
                Priority: 5 - Normal
                Severity: 1 - Wish
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: simulavr
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hi,

First I want to thank all of those who have contributed to make this
simulator.  It is a great tool!

I am not sure if this makes sense to you or not, but I have tinkered with
Simulavr 1.1dev and added files to support the ATTINY4313.  I believe it is
functioning OK as I basically took the ATTINY2313 files and augmented them for
the increased memory.  I know there are some other slight differences in terms
of the registers (for example PCINT now has PCINT0, PCINT1 and PCINT2 on
ATTINY2313a and ATTINY4313) but I am not sure how to augment them.  Also for
the stack I increased the 8 to 16 as I was not able to flash my program
properly.  I am not sure if 16 is the right value but 8 was too small :-)
(stack = new HWStackSram(this, 16);).

As you can tell by this point, I am a novice and probably know just enough to
get myself into trouble. 

My variant of attiny4313 seems to simulate my program well enough, but I
certainly know that it would be great to have someone knowledgeable look at my
attempt and correct it for the register changes, etc.

Thanks,
James



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 12 May 2015 12:28:10 PM GMT  Name: attiny4313.cpp  Size: 7kB   By:
james123
here are my files...
<http://savannah.nongnu.org/support/download.php?file_id=33985>
-------------------------------------------------------
Date: Tue 12 May 2015 12:28:10 PM GMT  Name: attiny4313.h  Size: 3kB   By:
james123
here are my files...
<http://savannah.nongnu.org/support/download.php?file_id=33986>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/support/?108815>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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