buserror / simavr

simavr is a lean, mean and hackable AVR simulator for linux & OSX
GNU General Public License v3.0
1.56k stars 365 forks source link

Attiny10 support #313

Open girst opened 5 years ago

girst commented 5 years ago

Hi, I'd like to be able to simulate an Attiny4/5/9/10 for a project, but this core is not currently supported by simavr (or any other FOSS simulator). A datasheet is available.

I haven't fully grokked the core definitions, otherwise I'd done it myself ;-) (and of course, no grudges if you don't implement it)

leg0 commented 5 years ago

I am working on attiny9 support (https://github.com/leg0/simavr/tree/add_tiny9). Work is in progress, but maybe it helps.

girst commented 5 years ago

attiny4/9 support is more than enough for my use case1. I'll have a look, thanks!

On Wed, Jan 16, 2019 at 12:11:14PM -0800, Ahti Legonkov wrote:

I am working on attiny9 support (https://github.com/leg0/simavr/tree/add_tiny9). Work is in progress, but maybe it helps.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/buserror/simavr/issues/313#issuecomment-454922404

0x5c commented 5 years ago

As-there been any progress since? I would be interested in it, since it seems to be the only way to simulate an ATTiny10.

leg0 commented 5 years ago

As-there been any progress since? I would be interested in it, since it seems to be the only way to simulate an ATTiny10.

Not much progress. It kind of works at the moment. Depends on what you do. CCP register is definitely broken at the moment. Some modes of timer also work.

If you're ok with running Windows, then this is not the only way to simulate an ATtiny10 - Atmel Studio simulates it.