Subject:
|
Re: Can't download
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Wed, 23 Feb 2000 06:19:25 GMT
|
Viewed:
|
2142 times
|
| |
| |
In article <FqCI3E.8xE@lugnet.com>, "Ole Kaas" <admin@tet.dk> wrote:
> Hello
>
> I've downloaded 2.1r1 src and rpm and 2.0.2 src. No matter which version
> I use,
> the results are the same:
>
> # nqc -d melody.ncq
> Downloading Program:
>
> Nothing else happens. I've tried specifying the port, but the result is
> the
> same. I've also tried the tcl program posted elsewhere in this newsgroup
> - but
> it failed too. Using minicom, the led in the ir-tower lights up and I get
> echo
> back on all baud rates equal or below 4800.
>
> Regards,
>
> Ole Kaas
What operating system are you using? Another user mentioned a problem
using NQC under IRIX, and the fix was to change the open() call in
PSerial_unix::Open() (file platform/PSerial_unix.cpp):
from
if ((fTerm = open(name, O_RDWR)) < 0) {
to
if ((fTerm = open(name, O_RDWR | O_NDELAY)) < 0) {
Personally, I don't understand why open() would block unless some sort
of handshaking was being enforced. I'm not an expert on Unix serial
port control, so if anyone has a definitive answer please let me know.
Dave Baum
--
reply to: dbaum at enteract dot com
|
|
Message is in Reply To:
| | Can't download
|
| Hello I've downloaded 2.1r1 src and rpm and 2.0.2 src. No matter which version I use, the results are the same: # nqc -d melody.ncq Downloading Program: Nothing else happens. I've tried specifying the port, but the result is the same. I've also (...) (25 years ago, 22-Feb-00, to lugnet.robotics.rcx.nqc)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|