simulavr
simulavr copied to clipboard
A fork of SimulAVR (http://www.nongnu.org/simulavr/) for handling contributions. The practical SIMINFO mechanism implemented here wasn't accepted upstream, but is crucial for Teacup Firmware simulatio...
The support for ATmega1284p does not work with Timer/Counter3. I tested in CTC mode but the interrupt routine for vector "TIMER3_COMPA_vect" (No.33) is never entered. The vector "TIMER1_COMPA_vect" (No.14) works...
System Ubuntu 15.04 , swig 2.0.12-1ubuntu1 - installed ``` git clone https://github.com/Traumflug/simulavr.git ./bootstrap ./configure LDFLAGS="-L/usr/lib/python2.7" --enable-python make sudo checkinstall cd src/python sudo python setup.py install python -c 'import pysimulavr' Traceback...
Will add here more: ``` $ ./bootstrap libtoolize: error: Files libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4'...
With [this upstream patch](https://github.com/Traumflug/simulavr/commit/ba6f5ec10c91c9586b70b3d4dcc0424ca44bbcad) applied I experience lots of interrupt losses (time 1A going full round instead of interrupting in time) with code which is known to work fine on...
When connecting with gdb, it changes Connection opened by host 127.0.0.1, port -31795. to something like Connection opened by host 127.0.0.1, port 35990.
after problems with #1 and #2 I use this patch to try simulavr with arduino elf and use the "classic" serial monitor on stdin/stdout
in example/simple_serial rename .c in .c++ modify Maefile.am to compile with avr-g++ with avr-g++ I have to add -fpermissive options Make do avr-g++ -fpermissive -g -O2 -mmcu=atmega644 -DF_CPU=20000000 -Wl,--section-start=.siminfo=0x900000 -c...
When I'm trying use of simulavr in Eclipse it does not work. Below debug information from simulavr: Waiting on port 1234 for gdb client to connect... Connection opened by host...
simulavr terminates prematurely on linux/amd64 with message: "FATAL: file traceval.cpp: line 212: add TraceValue denied: wrong name: 'PC', scope is 'CORE.'". This behavior is caused by if(n.find('.') != (unsigned int)-1)...
cd simple_ex1 make do ../simulavr.tcl -d at90s8515 -f fred.elf \ -W 0x20,- -R 0x22,- -T exit make: **\* [do] Segmentation fault (core dumped) compiling with -g and using core file...