To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *815 (-20)
  Re: fast firmware downloader - and compilers
 
(...) Not at all ;-) fast.srec works like this: - load new image, storing it immediately behind fast.srec - fix stack pointer, you'll start new firmware anyways - relocate a small routine immediately below SP - call that routine - relocate the (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.legos)
 
  RE: fast firmware downloader - and compilers
 
I'll have to try fastdl at some point. My pbFORTH image is assembled to live at 0x8000 and be loaded just like "real" firmware. If I use fastdl, how do I have to change my firmware assembly output to accomodate it? On the subject of configurable (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: fast firmware downloader
 
(...) Erm, hrm, well... the reason I didn't ship it yet is that it won't compile with any released version of legOS. In order to gain full configurability, I had to set up a seperate directory structure, with its own include tree and stripped down (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.legos)
 
  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: fast firmware downloader
 
Looks real nice on the PC side, Markus, but- where is the source for fast.srec? Was that a deliberate omission? Or just a mistake? I'd really like to look at what is in there, especially considering the small size of the .srec. Let us know... -Luis (...) (25 years ago, 2-Oct-99, to lugnet.robotics.rcx.legos)
 
  fast firmware downloader
 
Hi, I'm currently implementing LNP. As a first demo application, I just finished a quad-speed firmware downloader. If you're using replacement firmware, maybe this will be of use to you. (URL) you at MindFest, Markus. -- Markus L. Noga (...) (25 years ago, 2-Oct-99, to lugnet.robotics.rcx)
 
  fast firmware downloader
 
Hi, I'm currently implementing LNP. As a first demo application, I just finished a quad-speed firmware downloader. If you're using replacement firmware, maybe this will be of use to you. (URL) you at MindFest, Markus. (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx)
 
  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: NQC 2.0 and some math questions
 
(...) You're right - I forgot the delay (that's what I get for typing code from memory). Yeah, 'test and set' is the best solution, but unfortunately the RCX doesn't have one. The bitflag stuff is a little ugly for my tastes, which is why NQC does (...) (25 years ago, 2-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.0 and some math questions
 
(...) Yes, |= is atomic. At the bytecode level you always OR from some source into a destination variable. Dave (25 years ago, 2-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: Rotary electrical coupling
 
Jeffrey Hazen <jeffrey.hazen@northmill.net> wrote in message news:01BF0C69.13794F...thmill1... (...) wires (...) I'd be interested in seeing this one. When I created my version of Grey Walters robot turtle I had to use a windshield wiper motion in (...) (25 years ago, 2-Oct-99, to lugnet.robotics, lugnet.robotics.rcx)
 
  Re: NQC 2.0 and some math questions
 
(...) This only works if |= is atomic, though. Is it? Cheers, Ben. -- (URL) grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to try to be in the first group; there was less (...) (25 years ago, 2-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.0 and some math questions
 
Your proposed solution is susceptible to the "lockstep starvation" problem. Lockstep starvation happens when two tasks try to get the lock at the same time and execute the same code in lock step, like so: task 1: lock |= 2; task 2: lock |= 4; task (...) (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)
 
  Rotary electrical coupling
 
I have been working (when I should have been Working) on two things which may be of general interest. The first is a rotary electrical coupling, which allows you to pass 4 wires through a rotary joint. I built the prototype tonight, and I think it (...) (25 years ago, 2-Oct-99, to lugnet.robotics, lugnet.robotics.rcx)
 
  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: NQC 2.0 and some math questions
 
(...) I'm going from memory here, so I may miss a detail... int lock; #define TASK_BIT(task_num) (1 << task_num) void acquire_lock(int task_num) { while(1) { // wait for lock to be clear while(lock); // try to own it lock |= TASK_BIT(task_num); // (...) (25 years ago, 2-Oct-99, to lugnet.robotics.rcx.nqc)
 
  Re: RCX Controlled Air Compressor Tester
 
(...) Well, people, I think we'd better get down to some serious business... (...) Agreed. Building instructions on the way soon as I can see whether improvements are required as as been variously suggested:a. use an angle sensor b. use a pressure (...) (25 years ago, 2-Oct-99, to lugnet.robotics, lugnet.build, lugnet.robotics.rcx)
 
  Re: RCX Controlled Air Compressor Tester
 
(...) Just kidding! Well, you my weakness. How could I possibly pass off the opportuntiy to build and test what might turn out to be the ultimate Lego air compressor? Fact is I've already started on it but there may be some delay coz I'm truly out (...) (25 years ago, 2-Oct-99, to lugnet.robotics, lugnet.build, lugnet.robotics.rcx)
 
  Re: RCX Controlled Air Compressor Tester
 
(...) Well, didn't really expect you would let me off so easily. (...) Oh dear, my site's a mess. Just hope you know what you're doing. (...) A better idea - if I could contort myself to fit into the DHL box .... Cheers -- C S Soh (URL) where air is (...) (25 years ago, 2-Oct-99, to lugnet.robotics, lugnet.build, lugnet.robotics.rcx)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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