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

FEATURE REQUEST: Command line firmware downloader

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
5 postsPage 1 of 1
5 postsPage 1 of 1

FEATURE REQUEST: Command line firmware downloader

Post by billyzelsnack » Tue Jan 16, 2007 8:48 am

Post by billyzelsnack
Tue Jan 16, 2007 8:48 am

Talk about not a fun process.

make
switch to robot terminal
connect
############ + reset on CM5
load
transmit hex files
reset on CM5 again
disconnect
switch to app

or...

make
switch to app

haha. Basically I want a command line tool that'll download a given hex file to the cm5 firmware and optionally reset it.

usage:
cm5_download_firmware <firmware.hex> [reset]

I could add it to the makefile and it would be all automagical when I run make.

I know you Robotis guys read these forums.. You gotta have this tool. Where is it!! You would go crazy otherwise! haha.
Talk about not a fun process.

make
switch to robot terminal
connect
############ + reset on CM5
load
transmit hex files
reset on CM5 again
disconnect
switch to app

or...

make
switch to app

haha. Basically I want a command line tool that'll download a given hex file to the cm5 firmware and optionally reset it.

usage:
cm5_download_firmware <firmware.hex> [reset]

I could add it to the makefile and it would be all automagical when I run make.

I know you Robotis guys read these forums.. You gotta have this tool. Where is it!! You would go crazy otherwise! haha.
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by inaki » Wed Jan 17, 2007 9:07 am

Post by inaki
Wed Jan 17, 2007 9:07 am

Why don't you write a simple terminal program to do that ?
Why don't you write a simple terminal program to do that ?
inaki
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 233
Joined: Sun Mar 06, 2005 1:00 am
Location: EH

Post by billyzelsnack » Wed Jan 17, 2007 3:53 pm

Post by billyzelsnack
Wed Jan 17, 2007 3:53 pm

From a post in the avrdude thread it seems it might be more complicated than that. Raw text until you get to the 'load' bit and then you need to send via xmodem or zmodem or something.

Still.. Robotis must have a tool or use something like avrdude for this. Releasing tools to the community to lower the barriers to create cool stuff is in the best interest for them.
From a post in the avrdude thread it seems it might be more complicated than that. Raw text until you get to the 'load' bit and then you need to send via xmodem or zmodem or something.

Still.. Robotis must have a tool or use something like avrdude for this. Releasing tools to the community to lower the barriers to create cool stuff is in the best interest for them.
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by inaki » Fri Jan 19, 2007 9:54 am

Post by inaki
Fri Jan 19, 2007 9:54 am

When I say 'terminal program' I don't mean ASCII. You can write easily a program that transfer binary data. You don't need Xmodem nor any protocol like that.
When I say 'terminal program' I don't mean ASCII. You can write easily a program that transfer binary data. You don't need Xmodem nor any protocol like that.
inaki
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 233
Joined: Sun Mar 06, 2005 1:00 am
Location: EH

Post by billyzelsnack » Fri Jan 19, 2007 3:15 pm

Post by billyzelsnack
Fri Jan 19, 2007 3:15 pm

I mentioned this in the avrdude thread, but I've now written a little program that lets me do this. I'll be cleaning it up and posting an exe as well as the source soon.
I mentioned this in the avrdude thread, but I've now written a little program that lets me do this. I'll be cleaning it up and posting an exe as well as the source soon.
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am


5 postsPage 1 of 1
5 postsPage 1 of 1