by Doms » Wed Oct 15, 2008 3:03 pm
by Doms
Wed Oct 15, 2008 3:03 pm
Hi Stuart!
Thanks for sharing your experiences with us!
I am interested in flashing some of the RX series servos (RX-28 and RX-64) using your method.
So I first tried to reproduce your results using an AX-12+, but without success.
I don't have a CM5 so I use a PC with a USB2TTL converter and a simple Python script to do the communication with the servos. This usually works very well to setup the servo parameters before using them in a robot.
I was hoping you could give me some more detailed information about the steps:
StuartL wrote:When ready to flash the CM5 sends a digital reset packet to the desired servo and switches the bus into 57600.
I assume the 'digital reset packet' is a packet with instruction code 6 and no data.
StuartL wrote:It then sends several '#' characters which is enough to put the servo into a MUCH reduced CM5-a-like bootloader over the half duplex bus.
How much are several? And how do I know when to stop?
I tried sending 10, 100 or 1000 '#'-characters...
StuartL wrote:As soon as the CM5 gets a response from the servo bootloader at 57600 it sends the load command and transmits the servo ROM from its own flash to the servo.
What does the response look like? Is it the 'System O.K...' plain text message that is shown in the CM5 documentation and that can also be seen in the bootloader bin file you posted in some other thread?
Thanks for your time!
Dorian
Hi Stuart!
Thanks for sharing your experiences with us!
I am interested in flashing some of the RX series servos (RX-28 and RX-64) using your method.
So I first tried to reproduce your results using an AX-12+, but without success.
I don't have a CM5 so I use a PC with a USB2TTL converter and a simple Python script to do the communication with the servos. This usually works very well to setup the servo parameters before using them in a robot.
I was hoping you could give me some more detailed information about the steps:
StuartL wrote:When ready to flash the CM5 sends a digital reset packet to the desired servo and switches the bus into 57600.
I assume the 'digital reset packet' is a packet with instruction code 6 and no data.
StuartL wrote:It then sends several '#' characters which is enough to put the servo into a MUCH reduced CM5-a-like bootloader over the half duplex bus.
How much are several? And how do I know when to stop?
I tried sending 10, 100 or 1000 '#'-characters...
StuartL wrote:As soon as the CM5 gets a response from the servo bootloader at 57600 it sends the load command and transmits the servo ROM from its own flash to the servo.
What does the response look like? Is it the 'System O.K...' plain text message that is shown in the CM5 documentation and that can also be seen in the bootloader bin file you posted in some other thread?
Thanks for your time!
Dorian