|
Vic Mulyk <mulykv@cadvision.com> wrote:
> After successfully downloading and running tm-and-ir.srec (Linux host),
> I cannot download to it any longer. Upon power up, the LCD displays LEGO!5
> and I can select any other program slots.
>
> I could just re-load firmware in '95 but I don't want to have to reboot
> everytime I want to load new software.
I belive LegOS breaks firmware deletion, in the sense that the "delete
firmware" opcode is not supported by the IR routines, but I could be wrong
about that.
If you are using an AC adapter and no batteries, the easiest thing to do is
to turn the RCX on, then yank the AC adapter. This resets the RCX.
If you are not using an AC adapter, you can turn the RCX on, then remove a
battery. This will also reset the RCX.
If you want a software solution, you might consider coding up something
which resets the RCX when you do something like press all four buttons at
once. I don't know the proper LegOS way to reset the RCX, but the code to
force a reset looks like this:
*(char *)0xffcc = 1;
(*(void (**)(void))0)();
In my coding environment, a return from main triggers this code.
-Kekoa
|
|
Message has 2 Replies: | | Re: loading s/w
|
| (...) I skipped something here. The assumption I made is that you want to load new custom firmware. If you want to load the Lego firmware, find the Firm0309.lgo file in your Mindstorms directory, and load that into the RCX exactly as you would (...) (26 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | loading s/w
|
| After successfully downloading and running tm-and-ir.srec (Linux host), I cannot download to it any longer. Upon power up, the LCD displays LEGO!5 and I can select any other program slots. I could just re-load firmware in '95 but I don't want to (...) (26 years ago, 8-Apr-99, 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
|
|
|
|