To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 8622
8621  |  8623
Subject: 
Re: Echoing printf to terminal
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Mon, 25 Feb 2002 17:52:54 GMT
Viewed: 
9339 times
  
i don't know this offhand.  you'd have to assemble the pcode source
and look and see where it ends up.

it's a ring buffer tho' so it might be a little tricky.  you'd be
better off patching the lcd print interrupt routine (it unspools
one char per ms to the lcd).

fred

On Monday, February 25, 2002, at 12:44  PM, Viktor Dvorak wrote:

> Dear Fred Martin,
> 
>     please can you tell us the hex address from where is the (printf)
> composed string printed to LCD.
> I suppose it is near 0xC100. I use my own assembler routines to
> send data to
> PC using another COM port.
> The routines using PA7 are simple, the baud rate till 38400 Baud 8N1
> protocol is possible.
> 
>     Many thanks
> 
>     Viktor Dvorak
>     dvorakvik@seznam.cz
> 
> ----- Original Message -----
> From: "Fred G. Martin" <fredm@alum.mit.edu>
> To: <lugnet.robotics.handyboard@lugnet.com>
> Sent: Monday, February 25, 2002 6:17 PM
> Subject: Re: Echoing printf to terminal
> 
> 
> > this is non-trivial.  The -loopback option isn't what you think it
> > is; it's a flag telling the downloader that the low-level serial
> > ckt has a hardware echo.  it's relevant to an earlier 6811 design
> > (the mini board), not the HB design.
> > 
> > this would require code changes to both the runtime pcode and the
> > desktop side.  when randy and i were design the IC system we
> > thought about this feature -- there may be the beginnings of some
> > hooks in the code -- but it was never implemented.
> > 
> > fred
> > 
> > 
> > On Monday, February 25, 2002, at 11:58  AM, Levent Besik wrote:
> > 
> > > Hi folks,
> > > 
> > > We have been looking for a way to echo the printf()s on LCD to the IC
> > > terminal on host computer (using 2.86 - freeware). IC has a -loopback
> > > option, but apparently that only works for HB rev 1.5 and earlier. Is
> > > there a way to do this with the new rev 2.21 HB? From what we
> > > understand, the HB error messages are echoed back to the terminal, so
> > > we're thinking that there must be a way.
> > > 
> > > If this involves a code change in IC, we are also ready to tackle
> > > that.
> > > Any help/hack/suggestion is appreciated.
> > > 
> > > Thanks and have a great day!
> > > -Levent
> > 
> > 
> 
> 
> 



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR