This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fast serial debugging


>>>>> "Fabrice" == Fabrice Gautier <Fabrice_Gautier@sdesigns.com> writes:

Fabrice> Hi, It is said in the docs that the eCos gdb stubs works at
Fabrice> 38400 bps.

Fabrice> And I'm trying to go faster. At 115200.I'm using an ARM PID
Fabrice> board that support that speed with the ARM tools.

Fabrice> So I tried to recompile the gdb stub setting serial speed at
Fabrice> 115200 in the configuration tool.( defines
Fabrice> CYGHWR_HAL_ARM_PID_GDB_BAUD and CYGHWR_HAL_ARM_PID_DIAG_BAUD)

Fabrice> But not i'm sure this setting impact on the stub speed. For
Fabrice> when i try to connect at 115200 it fails.

Have you tried connecting using a terminal emulator? It could just be
that the board cannot keep up at 115200 - I don't think it's using the
FIFO.

Fabrice> I'm not sure too if eCos library, or the flash tool, have to
Fabrice> be compiled with the same serial speed.

It doesn't.

Fabrice> Another (minor) problem that i saw is that the legal values
Fabrice> for the serial speed in the conf tool are 9600, 19200, 38400
Fabrice> or 115200 while insight GUI only offer 9600, 19200, 38400,
Fabrice> 57600 (but I set 115200 with the console). So why eCos
Fabrice> doesn't offer 57600 and Insoght doesn't offer 115200?

eCos should be able to handle 57600. It may be that it has failed to
do so in tests - and so has been disabled in the config. That would be
a mistake. Try adding it to the CDL and see if it behaves correctly.

Jesper

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]