Page 2 of 4
Re: Wanted: Firmware Hackers...
Posted: 23 Jan 2011, 20:28
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
Re: Wanted: Firmware Hackers...
Posted: 24 Jan 2011, 00:33
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?
Re: Wanted: Firmware Hackers...
Posted: 24 Jan 2011, 16:34
by nxtboyiii
What is the exact name for the compiler?
Can you post a link?
Re: Wanted: Firmware Hackers...
Posted: 24 Jan 2011, 18:48
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
Re: Wanted: Firmware Hackers...
Posted: 24 Jan 2011, 19:54
by nxtboyiii
Can you please post the compiled firmware(.rfw)? Is it made from the enhanced 1.31?
How do you solder the stuff?
Re: Wanted: Firmware Hackers...
Posted: 25 Jan 2011, 07:30
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
Re: Wanted: Firmware Hackers...
Posted: 25 Jan 2011, 17:49
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?
Re: Wanted: Firmware Hackers...
Posted: 25 Jan 2011, 17:51
by nxtboyiii
Can you tell me step by step instructions on how to do this?
Re: Wanted: Firmware Hackers...
Posted: 25 Jan 2011, 18:04
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.
Re: Wanted: Firmware Hackers...
Posted: 25 Jan 2011, 19:46
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