To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 2433
2432  |  2434
Subject: 
Re: The PRGM key
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 8 Apr 2002 01:52:28 GMT
Viewed: 
1845 times
  
After making the change, do you still get "Error deleting program"? or other
errors while downloading the program?

Your assumption is correct, it will only switch to a program slot if there
is a valid program there.

I had problems sending programs using dll and using firmdl3 for a short
period...  I don't know why.  However, using firmdl3 -s (for slow) once
fixed it.  I think it was a port issue on the PC side.  It has worked fine
since.

Joe

"Ralph Clark" <clarkrjk@yahoo.com> wrote in message
news:Gu7IID.EpJ@lugnet.com...
I just tried this and it has no effect. By the way, I'm using Cygwin B20
under Windows 98 with a com port IR thing, and LegOS 0.2.5. The same thing
happened using WinLegOS and 0.2.3.
Pressing the PRGM key has no effect in any situation - I assume it doesn't
select different programs if there are no programs in the slots to select?



In lugnet.robotics.rcx.legos, Joseph Woolley writes:
I had similar problems when using legOS with CONF_TM defined in
boot/config.h   What I found was that the lnp handler was not getting • enough
processing time and was missing some data at times.

Try the following fix and let me know if it helps.  If so, it will likely • be
in the next release.

In kernel/program.c, look for the following two lines (search for execi)

execi(&packet_consumer,0,0,PRIO_HIGHEST,DEFAULT_STACK_SIZE);
execi(&key_handler,0,0,PRIO_HIGHEST,DEFAULT_STACK_SIZE);

Change the first one to:

execi(&packet_consumer,0,0,  (PRIO_HIGHEST+1)  ,DEFAULT_STACK_SIZE);

Then look for:

     case KEY_ONOFF:
       killall(PRIO_HIGHEST);

Change the second line to:

       killall(  PRIO_HIGHEST+1  );

Then make, (reload the kernel with firmdl3) and test 8-)

NOTE: This is just a hack to fix the problem temporarily.  A more • complete
solution will be implemented in a future release (0.2.6 maybe?)

Joe Woolley




Message has 1 Reply:
  Re: The PRGM key
 
Sorry, no. That's the one difference; it no longer says error deleting program and I don't get any errors when downloading to the RCX. I always use firmdl3 -s because using just firmdl3 on its own never works for me. I still have the problem that (...) (23 years ago, 8-Apr-02, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: The PRGM key
 
I just tried this and it has no effect. By the way, I'm using Cygwin B20 under Windows 98 with a com port IR thing, and LegOS 0.2.5. The same thing happened using WinLegOS and 0.2.3. Pressing the PRGM key has no effect in any situation - I assume it (...) (23 years ago, 7-Apr-02, to lugnet.robotics.rcx.legos)

13 Messages in This Thread:




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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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