[#5414] extra return character shows up in jtag console

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

[#5414] extra return character shows up in jtag console

Submitted By: Vivi Li

Open Date

2009-08-03 06:43:16     Close Date

2010-09-10 05:39:55

Priority:

Medium     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

2009R1     Status:

Closed

Board:

STAMP     Processor:

BF537

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: extra return character shows up in jtag console

Details:

 

When I use "-d" diagnostic mode in expect, I found that in jtag console "\r\n" becomes "\r\r\n".

 

--

NET: Registered protocol family 17\r\nrtc-bfin rtc-bfin: setting system clock to 2012-02-29 00:28:47 UTC (1330475327)\r\nIP-Config: Complete:\r\n     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,\r\n     host=bf537-stamp, domain=, nis-domain=(none),\r\n     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=\r\nFreeing unused kernel memory: 7456k freed\r\nPHY: 0:01 - Link is Up - 100/Full\r\n                           _____________________________________\r\r\n        a8888b.           / Welcome to the uClinux distribution \\r\r\n       d888888b.         /       _     _                         \\r\r\n       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |\r\r\n       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |\r\r\n       8'    .88       \        | |   | |  _ \| | | | \  /        |\r\r\n       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |\r\r\n      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |\r\r\n     dP   .    Y8b.       \   For embedded processors including   |\r\r\n    d8:'  "  `::88b        \    the Analog Devices Blackfin      /\r\r\n   d8"         'Y88b        \___________________________________/\r\r\n  :8P    '      :888\r\r\n   8a.   :     _a88P         For further information, check out:\r\r\n ._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/\r\r\n \    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/\r\r\n /     \.___.d|    .'           - http://www.uclinux.org/\r\r\n `--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin\r\r\n\r\r\nHave a lot of fun...\r\r\n\r\r\n\r\r\nBusyBox v1.13.4 (2009-08-03 09:34:19 CST) built-in shell (msh)\r\r\nEnter 'help' for a list of built-in commands.\r\r\n\r\r\nroot:/>

--

 

Follow-ups

 

--- Mike Frysinger                                           2010-07-23 11:32:35

the jtag console drivers are sending the right chars.  the problem is in the

jtagconsole script itself.  it was leaving opost (output processing) enabled

which means it would automatically add the extra \r when seeing those chars.

 

so updated the jtagconsole helper script to disable/enable opost when

connecting to the jtag console port.

 

nice catch btw ... i dont think i would have noticed this

 

--- Vivi Li                                                  2010-09-10 05:39:55

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.jtag_console    application/octet-stream    32741    Vivi Li

Attachments

Outcomes