Wanted: Firmware Hackers...

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
mrblp
Posts: 82
Joined: 02 Oct 2010, 14:33

Re: Wanted: Firmware Hackers...

Post by mrblp »

Hello,

so nobody can help me in showing the ric-files? :-(
afanofosc wrote:In my enhanced NBC/NXC code I have added ifdefs that let you build the image without a lot of stuff that is not critical. I will see about distributing both versions in the future.
Are you interested in my changes? ifdefs are not enough - I changed the icon file and the menu files.
nxtboyiii wrote:How do you change the firmware?
You can download the firmware source on the mindstorms web-page. And on the iar web-page a free compiler version.

Have Fun.

Bye - marvin
Bye Marvin

- "I think you ought to know I'm feeling very depressed." - (Android Marvin in "The Hitchhiker's Guide to the Galaxy" by Douglas Adams, 1978)
schodet
Posts: 139
Joined: 29 Sep 2010, 11:21
Contact:

Re: Wanted: Firmware Hackers...

Post by schodet »

About ric files: did you looked at cCmdWrapDrawPicture? Actually, it is supposed to be called from user code, not from firmware, so you will have problems to pass it arguments.

If you really wants to make a .ric file viewer in firmware, you should extract code from this function and put it in the display module for example.

Why not make your .ric viewer with a user program?
LEGO things http://ni.fr.eu.org/lego/ - NXT Improved Firmware (GCC) http://nxt-firmware.ni.fr.eu.org/ - Other robots http://apbteam.org
nxtboyiii
Posts: 366
Joined: 02 Oct 2010, 07:08
Location: Everywhere

Re: Wanted: Firmware Hackers...

Post by nxtboyiii »

What is the exact name for the compiler?
Can you post a link?
Thanks, and have a nice day,
nxtboy III

programnxt.com
mrblp
Posts: 82
Joined: 02 Oct 2010, 14:33

Re: Wanted: Firmware Hackers...

Post by mrblp »

Hello,
schodet wrote:If you really wants to make a .ric file viewer in firmware, you should extract code from this function and put it in the display module for example.
Yes, OK, but I do not understand how to do this...
Why not make your .ric viewer with a user program?
Mh. OK, That would be more "compatible". But wanted to integrate the send / delete functions in the firmware... Those are in now :-) Only Run (view) does not work.
nxtboyiii wrote:What is the exact name for the compiler?
Can you post a link?
Do you know google? It is the first link after entering "iar mindstorms".

Bye - marvin
Bye Marvin

- "I think you ought to know I'm feeling very depressed." - (Android Marvin in "The Hitchhiker's Guide to the Galaxy" by Douglas Adams, 1978)
nxtboyiii
Posts: 366
Joined: 02 Oct 2010, 07:08
Location: Everywhere

Re: Wanted: Firmware Hackers...

Post by nxtboyiii »

Can you please post the compiled firmware(.rfw)? Is it made from the enhanced 1.31?
How do you solder the stuff?
Thanks, and have a nice day,
nxtboy III

programnxt.com
mrblp
Posts: 82
Joined: 02 Oct 2010, 14:33

Re: Wanted: Firmware Hackers...

Post by mrblp »

Hello,
schodet wrote:Why not make your .ric viewer with a user program?
Mh, I thought about this again - and now I have an idea: I could write a user program, store it as hidden .sys-file and call this one from fw to show the graphic files.
Is there already a well done graphics file viewer? OK, I will search for it...
nxtboyiii wrote:Can you please post the compiled firmware(.rfw)? Is it made from the enhanced 1.31?
How do you solder the stuff?
I do not have the source code of 1.31 or enhanced 1.31. I used the original LEGO fw 1.29 source as base for my changes. Those changes should easy be integrated in enhanced fw.
I do not solder anything - you only need to solder if you want to in circuit debug. But I only compile things to a binary and load this to the brick - thats it.

Bye - marvin
Bye Marvin

- "I think you ought to know I'm feeling very depressed." - (Android Marvin in "The Hitchhiker's Guide to the Galaxy" by Douglas Adams, 1978)
nxtboyiii
Posts: 366
Joined: 02 Oct 2010, 07:08
Location: Everywhere

Re: Wanted: Firmware Hackers...

Post by nxtboyiii »

On the registration page I don't know what to fill in for some of the fields. Can you tell me what to fill in exactly or post the IAR installer or program in a zip?
Thanks, and have a nice day,
nxtboy III

programnxt.com
nxtboyiii
Posts: 366
Joined: 02 Oct 2010, 07:08
Location: Everywhere

Re: Wanted: Firmware Hackers...

Post by nxtboyiii »

Can you tell me step by step instructions on how to do this?
Thanks, and have a nice day,
nxtboy III

programnxt.com
schodet
Posts: 139
Joined: 29 Sep 2010, 11:21
Contact:

Re: Wanted: Firmware Hackers...

Post by schodet »

mrblp wrote:
schodet wrote:Why not make your .ric viewer with a user program?
Mh, I thought about this again - and now I have an idea: I could write a user program, store it as hidden .sys-file and call this one from fw to show the graphic files.
Is there already a well done graphics file viewer? OK, I will search for it...
Do you have an idea on how to communicate the file name to view to this user program?

I have some ideas to call the function from firmware... but it will be dirty, I have to try it.
LEGO things http://ni.fr.eu.org/lego/ - NXT Improved Firmware (GCC) http://nxt-firmware.ni.fr.eu.org/ - Other robots http://apbteam.org
schodet
Posts: 139
Joined: 29 Sep 2010, 11:21
Contact:

Re: Wanted: Firmware Hackers...

Post by schodet »

It works! Look at:

move RIC drawing code out of syscall wrapper
dirty hack to test RIC file drawing from firmware

The first commit split cCmdWrapDrawPicture in two parts, the second one is a really dirty hack to display .ric files in the "Sound files" menu ;-).

It is up to you to improve it!

Binary here: use at your own risk: nxt_firmware-1.29i-6aebfe0-wip_dirty_ric.rfw
LEGO things http://ni.fr.eu.org/lego/ - NXT Improved Firmware (GCC) http://nxt-firmware.ni.fr.eu.org/ - Other robots http://apbteam.org
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests