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 / 630
629  |  631
Subject: 
Re: RCX "locking up" when trying to use dll
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 11 Jan 2000 04:21:54 GMT
Viewed: 
1323 times
  
In lugnet.robotics.rcx.legos, Martin Cornelius writes:
Benjamin Montgomery wrote:
Has anyone experienced the RCX "locking up" when trying to use dll? When I
try to download a .lx file with dll, the brick freezes. It won't respond to
any buttons and I have to take the batteries out and re-load the firmware.

I am seeing exactly the same thing when I built my own legOS.srec from
scratch.  The kernel seems to run fine (view, on/off, prgm, run buttons) until
dll crashes it.

i experienced exactly the same behaviour when i tried to use gcc-2.95.2
as cross-compiler. If that's the compiler you're using: switch to
egcs-1.1.2

Auugh, I too am using gcc-2.95.2.  If I use legOS.srec/.lds from the 0.2.3
distribution I can rebuild the stuff in demo with the gcc-2.95.2 toolchain and
it works fine.  I just can't make a working kernel.

Is there a better explanation for this than 'install egcs-1.1.2'?  egcs 1.1.2
is older than 2.95.2.  Was a regression introduced?

This file contains symbol-address mappings of the kernel that are
used for building dynamic executables. If the legOS.lds used for linking
your application is not exactly the same than what was produced when you
built the kernel you're running, your program will crash legOS.

This is definitely a different symptom.  If you run dll -v you can see that the
RCX hangs immediately after "delete program" and never responds.

--Ben



Message has 2 Replies:
  Re: RCX "locking up" when trying to use dll
 
(...) unfortunately not. AFAIK, nobody has ever managed to compile a dll-capable legOS with gcc-2.95.x, neither with the rcx-compiler patch nor without. (...) Sure, this is exactly the gcc-2.95.2 symptom many people already experienced. There has (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
  Re: RCX "locking up" when trying to use dll
 
Ben Jackson schrieb: (...) Some parts of legOS, especially the interrupt handlers, are less portable than they should be - they use some assembly, or my attribute((rcx_interrupt)) which I haven't verified with 2.95.2. (...) Sounds like a problem (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: RCX "locking up" when trying to use dll
 
(...) i experienced exactly the same behaviour when i tried to use gcc-2.95.2 as cross-compiler. If that's the compiler you're using: switch to egcs-1.1.2 Another circumstance under which this will happen: You compiled the binary against another (...) (25 years ago, 3-Jan-00, to lugnet.robotics.rcx.legos)

11 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