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: About i386 pc serial device problem


John wrote:
> 
> Hi all,
> 
> I have built eCos to directly boot from floppy without gdb stub.
> I can let printf() to show on screen now. (thanks for your helps)
> But I also want to use the serial port.
> I build eCos with i386 pc target default template.
> Change CYG_HAL_STARTUP to FLOPPY
> Uncheck CYGSEM_HAL_I386_PC_DIAG_SERIAL1
> Check CYGSEM_HAL_I386_PC_DIAG_SCREEN
> Check CYGPKG_IO_SERIAL_I386_PC
> Check CYGPKG_IO_SERIAL_I386_PC_SERIAL0
> 
> I connect COM1 to Windows hyper terminal.
> But it does not work.
> Nothing show on the screen and hyper terminal.

Don't boot off a floppy. Instead program a GDB stub image to the floppy,
load your app over the serial line and try to debug it interactively to
determine the problem. If you find the problem let us know.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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