simavr not producing gtkwave files

1

I just installed simavr from the following:

https://github.com/buserror/simavr

I did a quick

make all
sudo make install

No problem, but when running

$ ./simavr/run_avr tests/atmega88_example.axf

I get

AVR_MMCU_TAG_VCD_TRACE 00c6:00 - UDR0
Loaded 1708 .text at address 0x0
Loaded 114 .data
Loaded 4 .eeprom

But, what I'm expecting is

AVR_MMCU_TAG_VCD_TRACE 00c6:00 - UDR0
AVR_MMCU_TAG_VCD_TRACE 00c0:20 - UDRE0
Loaded 1780 .text
Loaded 114 .data
Loaded 4 .eeprom
Starting atmega88 - flashend 1fff ramend 04ff e2end 01ff
atmega88 init
avr_eeprom_ioctl: AVR_IOCTL_EEPROM_SET Loaded 4 at offset 0
Creating VCD trace file 'gtkwave_trace.vcd'
Read from eeprom 0xdeadbeef -- should be 0xdeadbeef..
Read from eeprom 0xcafef00d -- should be 0xcafef00d..
simavr: sleeping with interrupts off, quitting gracefully

I've got GTKWave installed and all dependencies (otherwise, it wouldn't build, right?)...Not sure where the VCD trace is failing to execute.

Thanks

gcc
simulation
avr
avr-gcc
simavr
asked on Stack Overflow Jun 30, 2016 by testname123 • edited Feb 15, 2017 by Cactus

1 Answer

0

Use this:

$ ./simavr/run_avr -v -v tests/atmega88_example.axf
answered on Stack Overflow Jun 16, 2017 by zaniar

User contributions licensed under CC BY-SA 3.0