To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 174
  Download problem
 
Hi Dave and everybody, I have a strange problem with an NQC program. It's something Marco Beri and I are preparing for the Mindfest. The program is rather large if compared to the average NQC programs: about 240 lines of code with large inline (...) (25 years ago, 1-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: Download problem
 
Hi Mario, I've encountered some weird problems like this too. I think I was able to fix things up by erasing the memory. In RcxCC, use the Tools -> Clear Memory option. Please let us know if that works. Jonathan (...) (25 years ago, 1-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: Download problem
 
(...) you don't want to send source, you can always compile it and send the binary... nqc -Ofoo.rcx foo.nqc Another alternative would be to download it in verbose mode and send me the log... nqc -v -d foo.nqc >log My email is dbaum@enteract.com Dave (...) (25 years ago, 2-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: Download problem
 
(...) I forgot to say I cleared the memory before my attempts, and checked it was actually cleared using the Tools -> Memory Map option. The problem is still there. In lugnet.robotics.rcx.nqc, Dave Baum writes: (...) No problem with the source. Just (...) (25 years ago, 2-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: Download problem
 
(...) programs with the Spirit.OCX. I coded a huge program, with lots of tasks and subroutines, and long stretches of code. When I try to download it, I get the dots and then AsyncronBrickError returns Error 2048 (not 100% certain about the number) (...) (25 years ago, 2-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: Download problem
 
(...) Thanks for your help. Hope you're wrong, otherwise I have to dramatically downsize my program and make it a lot more stupid :-) Some more info on the problem: - The memory has been cleared before any attempt. - I tried both NQC 1.3 and NQC 2.0 (...) (25 years ago, 2-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: Download problem
 
(...) Mario, I just loaded it 6 times in a row without a single error... How? I'm scared but I have to say it... I tried to load the program in Windows 95. There must be something in NT that is preventing to load big programs. I tried to check the (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: Download problem
 
(...) Mario, I just loaded it 6 times in a row without a single error... How? I'm scared but I have to say it... I tried to load the program in Windows 95. There must be something in NT that is preventing to load big programs. I tried to check the (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: Download problem
 
(...) Great! I found a Win95 machine and just performed some downloads. All of them completed with no problems. I compiled with NQC 2.0 and 1.x compatibility option. I'm not sure I understand the problems under NT, but at least now I can go on with (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: Download problem
 
(...) I received an e-mail from "Mike Kory" <kory@advancenet.net> that says: ---...--- Howdy, I downloaded Mario's big program successfully 3 times in a row on my Win98 machine using the command line interface. So it seems like a problem with NT or (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: Download problem
 
"Mario Ferrari" <mario.ferrari@edis.it> wrote in message news:FJ0Jpv.Mvp@lugnet.com... (...) Mario, I can try to download your long program with my Windows 2000 RC2 machine. Send me a copy if you want.... Ciao Carlo (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: Download problem
 
(...) Can someone send me a trace of the verbose output for the failure case on an NT machine? nqc -v -d program.nqc >output Perhaps I can figure out what's going wrong with the serial port. As an aside, does anyone have a snippet of boiler-plate (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: Download problem
 
I've looked at a couple of traces and it looks like the serial driver just stops receiving data after a certain point. One theory is that something happens (framing error or overflow), which then keeps the driver from relaying more information. I've (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: Download problem
 
(...) I've already got some feedback that this fix doesn't quite work, so don't bother downloading it if you haven't already. I'll post again when I think I've got something that actually works. Dave (25 years ago, 4-Oct-99, to lugnet.robotics.rcx.nqc)

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