simavr
simavr copied to clipboard
simavr is a lean, mean and hackable AVR simulator for linux & OSX
When writing data to UART0 the a line of text gets written to output when a \n character is encountered https://github.com/buserror/simavr/blob/b3a8e8f99b634062f6f07f6d24040282129c11b0/simavr/sim/avr_uart.c#L288 When a console register is used a \r character...
This does not work as expected: on the AVR: ``` char buf[10]; DDRD=0x00; PORTD=0; prints(env->out, "SET\n"); while(1){ prints(env->out, itoa(PIND, buf, 10)); prints(env->out,"\n"); } ``` The sets the DDRD to all...
hi, all,  as you can see, i had connected succeed to the simavr, but when I use command "bt" ,it shows this issue, i do not know why,...
Added steps necessary to get it building on debian to README
I'm using a technique like this to generate pulses with controllable widths: ```c #define F_CPU 16000000UL #include "avr_mcu_section.h" AVR_MCU(F_CPU, "atmega32u4"); AVR_MCU_VCD_FILE("trace.vcd", 1); #include const struct avr_mmcu_vcd_trace_t _mytrace[] _MMCU_ = {...
I want to use simavr for simulating atmega328p which runs at 16MHz. When specifying 16000000 for AVR_MCU, I get an overflow error for AVR_MCU_LONG. ` AVR_MCU( 16000000UL, "atmega328p");` Compile message:...
I ran the following commands (copied from the `README`): ~~~ brew tap osx-cross/avr brew install --HEAD simavr ~~~ The install failed on [this error](https://gist.github.com/lynndylanhurley/9a71ee68232088b983e414a7c6106834). Here are the last few lines...
This is relatively insignificant and not a commit that affects functionality, but this typo annoys me during usage so it might as well be fixed!