This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
diag_printf
- From: "Andrew Lunn" <andrewlunn at fastmail dot fm>
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 4 Jul 2002 05:25:04 +0000
- Subject: [ECOS] diag_printf
- Reply-to: "Andrew Lunn" <andrewlunn at fastmail dot fm>
There serial port does work properly. I use a ebsa285 based board.
You problem is probably to do with diag_printf not using the proper gdb
escape sequences. gdb requires that output be formatted rather than
just plane ascii. There is an HAL option to turn this on/off.
Unfortunatly i forget what its called.
Andrew
------------------------------------------------------
Hi,
I am using Redboot with ebsa285 HAL for my board which has SA110/21285
on it. I am finding it difficult to debug the problem as there is no
emulator support. I am using Linux as Host. I tested the UART just by
configuring the registers directly. It works fine. Now through
diag_printf I am not seeing any output through the serial port.
I ran gdb on the Linux host but there also I am getting "Ignoring
packet
error, continuing......"
In function
hal_if_diag_init() [ hal/common/current/src/hal_if.c ]
CYGDBG_HAL_DIAG_TO_DEBUG_CHAN is enabled.
Is this means the GDB is enabled. How can I disable the GDB ?
thank you
prashant
--
http://fastmail.fm: send your email first class
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss