Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

RoboBuilder Serial Code and Motion file download problems

Korean company maker of Robot kits and servos designed for of articulated robots. Re-incarnation of Megarobotics.
5 postsPage 1 of 1
5 postsPage 1 of 1

RoboBuilder Serial Code and Motion file download problems

Post by NovaOne » Wed Jun 24, 2009 7:52 pm

Post by NovaOne
Wed Jun 24, 2009 7:52 pm

All RBC Serial Codes are 13 digits long.

However when I use l3v3rz 's program:
http://robosavvy.com/Builders/l3v3rz/PCControlMode0.21.zip

....... I am missing the first and last digits of my serial code.

l3v3rz....I am not saying there is any thing wrong with you program....I think the fault is with my RBC, because Motion Builder and Download Tool are both refusing to accept files downloaded under my correct Serial Code from RoboBuilder..NB I have also tried a similar program from Trossen that reports even more weird negative numbers???


Please help, I am trying to prepare for the UK Saturday Event..... :cry:
All RBC Serial Codes are 13 digits long.

However when I use l3v3rz 's program:
http://robosavvy.com/Builders/l3v3rz/PCControlMode0.21.zip

....... I am missing the first and last digits of my serial code.

l3v3rz....I am not saying there is any thing wrong with you program....I think the fault is with my RBC, because Motion Builder and Download Tool are both refusing to accept files downloaded under my correct Serial Code from RoboBuilder..NB I have also tried a similar program from Trossen that reports even more weird negative numbers???


Please help, I am trying to prepare for the UK Saturday Event..... :cry:
NovaOne
Savvy Roboteer
Savvy Roboteer
Posts: 405
Joined: Thu Jul 05, 2007 7:30 am

Post by i-Bot » Wed Jun 24, 2009 10:27 pm

Post by i-Bot
Wed Jun 24, 2009 10:27 pm

I had not tried the l3v3rz code. When I do, I get a 12 digit code which is missing my 13th digit. The first 12 are correct.

The Trossen utilility shows my serial OK

All the .rbm files I have have 13 zeros in the serial number.

What error do you get if the files are not accepted ?


I do not know if the serial is in chip EEPROM or external. l3v3rz may help. I wonder if the EEPROM is corrupted.

Don't worry, we will get you fixed for Saturday
I had not tried the l3v3rz code. When I do, I get a 12 digit code which is missing my 13th digit. The first 12 are correct.

The Trossen utilility shows my serial OK

All the .rbm files I have have 13 zeros in the serial number.

What error do you get if the files are not accepted ?


I do not know if the serial is in chip EEPROM or external. l3v3rz may help. I wonder if the EEPROM is corrupted.

Don't worry, we will get you fixed for Saturday
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by l3v3rz » Wed Jun 24, 2009 11:46 pm

Post by l3v3rz
Wed Jun 24, 2009 11:46 pm

OK - Sorry there's a bug in the serial number print routine

the lines
Code: Select all
                    textBox1.AppendText("S/N=");
                    for (int n0 = 0; n0 < 13; n0++)
                        textBox1.AppendText(Convert.ToString((char)respnse[13 + n0]));
                    textBox1.AppendText("\r\n");


should read

Code: Select all
                    textBox1.AppendText("S/N=");
                    for (int n0 = 0; n0 < 13; n0++)
                        textBox1.AppendText(Convert.ToString((char)respnse[14 + n0]));
                    textBox1.AppendText("\r\n");


I'll upload an update very shortly. [Here: http://robosavvy.com/Builders/l3v3rz/PCControlMode0.2.1.1.zip] As i-bot says the only impact is to miss the last digit. Since their ascii codes I'm not sure how you could get negative numbers.

I have written a small piece of code to reset my S/N as it was corrupted (by me). The code is quite simple, but has to be loaded into the bootloader - and run (i added it temporarily to the homebrew OS.)

Code: Select all

uint8_t EEMEM FIRMWARE[64];     


void fix()
{
   uint8_t fixb[] = {0, ...... <put>49 etc  ..........>,  0,0,0,0 };
      
   for (int i=0; i<16; i++)
   {
      eeprom_write_byte(FIRMWARE+i, fixb[i]);
   }
   rprintf ("fixed\r\n");
}




good luck
OK - Sorry there's a bug in the serial number print routine

the lines
Code: Select all
                    textBox1.AppendText("S/N=");
                    for (int n0 = 0; n0 < 13; n0++)
                        textBox1.AppendText(Convert.ToString((char)respnse[13 + n0]));
                    textBox1.AppendText("\r\n");


should read

Code: Select all
                    textBox1.AppendText("S/N=");
                    for (int n0 = 0; n0 < 13; n0++)
                        textBox1.AppendText(Convert.ToString((char)respnse[14 + n0]));
                    textBox1.AppendText("\r\n");


I'll upload an update very shortly. [Here: http://robosavvy.com/Builders/l3v3rz/PCControlMode0.2.1.1.zip] As i-bot says the only impact is to miss the last digit. Since their ascii codes I'm not sure how you could get negative numbers.

I have written a small piece of code to reset my S/N as it was corrupted (by me). The code is quite simple, but has to be loaded into the bootloader - and run (i added it temporarily to the homebrew OS.)

Code: Select all

uint8_t EEMEM FIRMWARE[64];     


void fix()
{
   uint8_t fixb[] = {0, ...... <put>49 etc  ..........>,  0,0,0,0 };
      
   for (int i=0; i<16; i++)
   {
      eeprom_write_byte(FIRMWARE+i, fixb[i]);
   }
   rprintf ("fixed\r\n");
}




good luck
l3v3rz
Savvy Roboteer
Savvy Roboteer
Posts: 473
Joined: Fri Jul 18, 2008 2:34 pm

Post by NovaOne » Fri Jun 26, 2009 3:04 pm

Post by NovaOne
Fri Jun 26, 2009 3:04 pm

l3v3rz: Thanks for the updated program :)

i-Bot: Thanks for sending me the fix for my corrupted eeprom. :D

You were both right!


NB: for anyone else who might have a similar problem:

Motion Builder reported: "No SerialCode" and Download Tool reported "Serial Code Not Match"......this was due to a single byte in my RBC serial number being corrupted which is stored on the RBC eeprom.
l3v3rz: Thanks for the updated program :)

i-Bot: Thanks for sending me the fix for my corrupted eeprom. :D

You were both right!


NB: for anyone else who might have a similar problem:

Motion Builder reported: "No SerialCode" and Download Tool reported "Serial Code Not Match"......this was due to a single byte in my RBC serial number being corrupted which is stored on the RBC eeprom.
NovaOne
Savvy Roboteer
Savvy Roboteer
Posts: 405
Joined: Thu Jul 05, 2007 7:30 am

Post by PedroR » Mon Jun 29, 2009 4:34 pm

Post by PedroR
Mon Jun 29, 2009 4:34 pm

Hey guys

Nice work on reverse engineering!! :)

I was aware of this issue NovaOne had but I was unable to help as I've been really busy with a new product we're receiving - an arduino based wheeled robot. (quite cool btw I don't know if you're into Arduino but what I like about this kit is that it does pose a nice offer in terms of a kit: it's not just one more arduino prototyping board; it's a kit with DC motors, some sensors and the nice arduino board so you can play a lot more with it.)

Have you also got more information on the memory mappings of the EEPROM?
Have you managed to figure what what is exactly at each address?
Hey guys

Nice work on reverse engineering!! :)

I was aware of this issue NovaOne had but I was unable to help as I've been really busy with a new product we're receiving - an arduino based wheeled robot. (quite cool btw I don't know if you're into Arduino but what I like about this kit is that it does pose a nice offer in terms of a kit: it's not just one more arduino prototyping board; it's a kit with DC motors, some sensors and the nice arduino board so you can play a lot more with it.)

Have you also got more information on the memory mappings of the EEPROM?
Have you managed to figure what what is exactly at each address?
PedroR
Savvy Roboteer
Savvy Roboteer
Posts: 1199
Joined: Mon Jun 16, 2008 11:07 pm


5 postsPage 1 of 1
5 postsPage 1 of 1