by limor » Thu Dec 14, 2006 1:18 am
by limor
Thu Dec 14, 2006 1:18 am
DanAlbert wrote:my idea is to reset the controller firmware version # to a lower value. this should cause a firmware reload.
If the objective is to restore the original Hitec firmware, there are at least 2 ways of doing it.
1) patch the RoboBasic code so that the statement
- Code: Select all
if(controler_version <= 2.3) send_new_firmware()
is changed from 2.3 to say 2.2. this can be done with a de-compiler (haven't used this in a long time but i suppose they still exist on the web)
2) upload Dan's recorded firware to the controler.
i have also written a loader program in C++ called freeloader.
it is about 85% done..of course it may not work just to emulate the robobasic program.
why wont it work to emulate the firmware upgrade sequence?
Do you think there are any legal issues with the RoboBasic company or Hitec?
no, there are none. my RN1 is my property and i can modify it as i wish (just like my zone-free DVD player, my overclocked PC, my mod'ed PS2). Ofcourse, we should validate that there's always a way of restoring the original firmware.
Keeping the code open-source is the best way to ensure that several pairs of eyes go through the code.
i also need to change my atmega code to try and dump the bootloader.
You mentioned this before, but i don't quite follow what you mean by dump the bootloader.
DanAlbert wrote:my idea is to reset the controller firmware version # to a lower value. this should cause a firmware reload.
If the objective is to restore the original Hitec firmware, there are at least 2 ways of doing it.
1) patch the RoboBasic code so that the statement
- Code: Select all
if(controler_version <= 2.3) send_new_firmware()
is changed from 2.3 to say 2.2. this can be done with a de-compiler (haven't used this in a long time but i suppose they still exist on the web)
2) upload Dan's recorded firware to the controler.
i have also written a loader program in C++ called freeloader.
it is about 85% done..of course it may not work just to emulate the robobasic program.
why wont it work to emulate the firmware upgrade sequence?
Do you think there are any legal issues with the RoboBasic company or Hitec?
no, there are none. my RN1 is my property and i can modify it as i wish (just like my zone-free DVD player, my overclocked PC, my mod'ed PS2). Ofcourse, we should validate that there's always a way of restoring the original firmware.
Keeping the code open-source is the best way to ensure that several pairs of eyes go through the code.
i also need to change my atmega code to try and dump the bootloader.
You mentioned this before, but i don't quite follow what you mean by dump the bootloader.