bugSimulavr: an AVR simulator - Bugs: bug #8457, simulavr-disp displays garbage...

 
 

bug #8457: simulavr-disp displays garbage characters after "Reserverd"

Submitted by:  Eric Weddington <arcanum>
Submitted on:  Mon 05 Apr 2004 05:21:13 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: ClosedComponent Version: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 10 Feb 2005 11:54:22 AM UTC, comment #3:

I actually clean up the project bug tracking. As there is
no new info in the thread I will close this entry.

If the problem still exist please create new entry.

Best regards,

Klaus

Klaus Rudolph <zfrdh>
Project Administrator
Fri 09 Apr 2004 05:54:20 PM UTC, comment #2:

More info:

1. If I run simulavr-disp (with args) it does not display any garbage characters after "Reserved".

2. If I redirect stderr to /dev/null (when running inside Cygwin), I still get the garbage characters after "Reserved".

3. It's always the same exact 3 characters displayed after "Reserved", the ASCII codes: 0x28 0x89 0x22.

Could it be something to do with the piping from simulavr and Cygwin?

I was thinking, could it help to use libiberty (from GCC) to do all the piping? As a side benefit, using libiberty should in theory help to make SimulAVR cross-platform and able to build with host=mingw32, i.e. a fully native Win32 app.

Eric Weddington <arcanum>
Project Administrator
Wed 07 Apr 2004 06:13:56 PM UTC, comment #1:

The problem is you are mixing terminal output with stdout/stderr. The -X option was really added to allow a display program to be run without an xterm under the assumption that it wouldn't need to output to a terminal (e.g. it used a GUI).

One possible solution would be to add a --logfile option to send all of stdout/stderr to a file instead of to the screen.

Theodore A. Roth <troth>
Mon 05 Apr 2004 05:21:13 PM UTC, original submission:

Version: 0.1.2.1
Using: simulavr -X -P simulavr-disp.exe -d atmega128 -g, from a Cygwin build of simulavr.

The "IO Registers" portion of simulavr-disp will show some trailing garbage characters after the word "Reserved". This is seen in both Cygwin's bash shell, and the Windows command-line shell.

Eric Weddington <arcanum>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Thu 10 Feb 2005 11:54:22 AM UTCzfrdhOpen/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1