To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 972
971  |  973
Subject: 
Re: using firmdl under win95
Newsgroups: 
lugnet.robotics
Date: 
Wed, 2 Dec 1998 01:16:57 GMT
Viewed: 
2631 times
  
I don't know about firmdl, but there's a firmware download utility as part
of the rcxutil package for nqcc.  Just grab the windows version of rcxutil
for the executable, or grab the main source distribution if you want to
build it yourself.  Here's the URL:

http://www.enteract.com/~dbaum/lego/nqc/index.html

Dave


In article <199812011102.MAA19177@dbag.bln.daimlerbenz.com>,
lego-robotics@crynwr.com (Sven Horstmann) wrote:

Hi Folks,
does anybody know how to use firmdl.c under Windows95 ?
I compiled it using cygwin32-b19, and it allways hangs in the rcx_send • function
in the first read-statement, when trying to get the echo back from the RCX.

Looks like read is blocking, until some data arrives/the buffer is totally
filled !

I changed the read-call to get the data byte by byte, by reducing the • number of
bytes to be read to a maximum of one, and doing the select before each byte.
After having received differing amounts of Data (18-24 byte), even though
select does not deliver a timeout, read hangs again, so select must have lied
about data being present at the serial port !
Don't know what to do about that !


Deleting the old firmware (which is done by the previous write) works, at • least
my RCX-display looks like it worked.

Any ideas ???

Sven

--
reply to: dbaum at enteract dot com



Message is in Reply To:
  using firmdl under win95
 
Hi Folks, does anybody know how to use firmdl.c under Windows95 ? I compiled it using cygwin32-b19, and it allways hangs in the rcx_send function in the first read-statement, when trying to get the echo back from the RCX. Looks like read is (...) (26 years ago, 1-Dec-98, to lugnet.robotics)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR