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 / 919
918  |  920
Subject: 
using firmdl under win95
Newsgroups: 
lugnet.robotics
Date: 
Tue, 1 Dec 1998 11:02:03 GMT
Original-From: 
Sven Horstmann <horstman@dbag.bln^SayNoToSpam^.daimlerbenz.com>
Viewed: 
2534 times
  
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



Message has 1 Reply:
  Re: using firmdl under win95
 
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 (...) (26 years ago, 2-Dec-98, to lugnet.robotics)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
13 hours ago
Custom Search

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