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: Can not connect to target x86 pc board


HI,

Just check the cable and the port you are saying com1 is really  COM1.
Coz i did the same mistake. In my case it was com2, to which iconnected the
cable.

Thanks,
Jitendra.

> ----------
> From: 	John[SMTP:john@imining.com.tw]
> Sent: 	Monday, February 19, 2001 3:16 AM
> To: 	ecos-discuss@sources.redhat.com
> Subject: 	[ECOS] Can not connect to target x86 pc board
> 
> Hi all:
> 
> I Have used Configuration Tool to make a boot floppy
>     (hardware --> i386 pc target ; package --> stubs)
> and a eCos kernel without conflicts
>     (hardware --> i386 pc target ; package --> default).
> 
> I insert the boot floppy into my target Intel PII pc board and use a cable
> to connect my host(COM1) and target(COM1).
> After booting my target, the target monitor shows
>     ++$T0508:e03b0000;04:e00f0000;#44
> And then I use Configuration Tool
>     Tools-->Run Tests-->Run
> to test it and the following output message shows
> 
> *** 10:54:31 Run started
> GNU gdb 5.0
> Copyright 2000 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> This GDB was configured as "--host=i586-pc-cygwin --target=i386-elf"...
> (gdb) set height 0
> (gdb) set remotedebug 0
> Warning: command 'set remotedebug' is deprecated.
> Use 'set debug remote'.
> 
> (gdb) set remotebaud 38400
> (gdb) target remote com1
> Remote debugging using com1
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Couldn't establish connection to remote target
> Malformed response to offset query, timeout
> (gdb) load
> You can't do that when your target is `exec'
> (gdb) break cyg_test_exit
> Breakpoint 1 at 0x138df: file
> //d/PROGRA~1/REDHAT~1/eCos/packages/infra/v1_3_1/src/tcdiag.cxx, line 116.
> (gdb) break cyg_assert_fail
> Function "cyg_assert_fail" not defined.
> (gdb) break cyg_test_init
> Breakpoint 2 at 0x137fb: file
> //d/PROGRA~1/REDHAT~1/eCos/packages/infra/v1_3_1/src/tcdiag.cxx, line 62.
> (gdb) cont
> The program is not being run.
> 
> What's wrong?
> Thanks in advance.
> 
> ----
> 謝豪哲
> John Hsieh
> 發現者國際股份有限公司
> iMining Technology Co., Ltd.
> john@imining.com.tw
> TEL: 886-2-27235122
> FAX: 886-2-27232287
> www.imining.com.tw
> 


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