This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Cannot connect to remote target via serial port


> When I try to connect to my remote target (sh-elf) with the 
> serial port
> (COM1) I get the following error message:
> "com1: Inappropriate ioctl for device."
> 
> This happens with Insight 5.2, 6.0 and 6.1. It also has 
> something to do with the version of Cygwin I am using. With 
> the latest or a recent version of Cygwin I get this error, 
> with an older one (1.3.22) it still works.
> 

Can you connect with GDB in command line mode? i.e.

sh-elf-gdb prog.x
set remotebaud 115200
target remote /dev/ttyS0

Cheers,
Jon



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