bugSimulavr: an AVR simulator - Bugs: bug #49928, example simple_serial doesn't work


bug #49928: example simple_serial doesn't work

Submitted by:  Andreas Weber <andy1978>
Submitted on:  Sun 25 Dec 2016 05:07:10 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Component Version:  simulavr

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 09 Nov 2019 09:41:31 AM UTC, comment #2: 

Okay, which cset removed that "special feature"? So simulating the UART part of an AVR is not possible in current releases?

Andreas Weber <andy1978>
Sat 09 Nov 2019 07:55:05 AM UTC, comment #1: 


(ok, a late answer :-) this can't work in original simulavr. It needs a special feature, which isn't built in anymore here. Example simple serial will be removed soon.

If you need this feature, ask Markus Hitter on reprap.org.

cu, Thomas

Thomas K. <tomk>
Project Administrator
Sun 25 Dec 2016 05:07:10 PM UTC, original submission:  

Dear developers,
I've build simulavr (master branch, e53413b230637b75e1cfa5c316e988480f5cea14) on Debian Jessie without problems, "make check" passes all tests but the example "simple_serial" doesn't work.

$ cd examples/simple_serial
$ make
avr-gcc -g -O2 -mmcu=atmega644 -DF_CPU=20000000 -c -o main.o main.c
avr-gcc -g -O2 -mmcu=atmega644 -DF_CPU=20000000 -c -o serial.o serial.c
avr-gcc -g -O2 -mmcu=atmega644 -DF_CPU=20000000 -o simple_serial.elf main.o serial.o
avr-objcopy -j .text -j .data -O ihex -R .eeprom -R .fuse -R .lock simple_serial.elf simple_serial.hex

$ make do
../../src/simulavr -d atmega644 -f simple_serial.elf
^CSystemClock::Endless stopped
number of cpu cycles simulated: 55638625

is there anything I can do to help debug this?

Andreas Weber <andy1978>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by tomk (Posted a comment)
  • -email is unavailable- added by andy1978 (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-11-09 tomk StatusNone => Wont Fix
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.5