simavr
simavr copied to clipboard
simavr is a lean, mean and hackable AVR simulator for linux & OSX
Adding support for the the ATmega328PB ([more peripheral features compared to ATmega328[P]](https://www.microchip.com/wwwAppNotes/AppNotes.aspx?appnote=en591418) like additional timers, SPI, TWI). Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/40001906A.pdf
This triggers a GitHub Action that gets the dependencies for avr-gcc (and also freeglut) in order to run the `make` on Linux. After the make is complete, it runs the...
Hi, I'm trying to use simavr in an external gui. My problem with the external connections. For example: pin change interrupts. How simavr should be notified when an input changes?...
Arduino analogWrite() is not supported on Arduino Uno because it uses Phase Correct PWM.
Passing the input elf file on the command line after `--add-trace` parameters causes the added traces to be silently dropped. This is pretty surprising, and caused me much headache. It...
Hi, playing with my firmware I noticed that [ADC definition of tiny24](https://github.com/buserror/simavr/blob/master/simavr/cores/sim_tinyx4.h#L150) is in contradiction with [at-tiny-24a datasheet](http://ww1.microchip.com/downloads/en/DeviceDoc/doc8183.pdf) (pp.145-146) Currently [only 4 pins of ```ADMUX``` are used](https://github.com/buserror/simavr/blob/master/simavr/cores/sim_tinyx4.h#L116), while datasheet uses...
I had simavr segfault on me by running `sts 0x01ff, r0` on a simulated ATmega2560. This turned out to be `_avr_set_r()` calling an invalid function pointer found past the end...
Hi, I noticed ATmega2561 is not supported but ATmega2560 is. Only difference is 2561 is a 64-pin package. https://www.microchip.com/wwwproducts/en/ATmega2561
Hello, as the IRC seems dead i try it here: What's the correct way to set an external pin state for an input, like if the AVR-pin is connected to...
I recently was able to get the usb example to work again and I will be sharing details in my fork of the repository soon. Essentially it came down to...