StuartL wrote:Can you work on the quoting? Use the preview if you have to but it's really hard to spot which parts are questions and which parts are quotes...
ok sure, sorry it was my mistake I press "submit" until a preview...
StuartL wrote:It sounds like the file transfer isn't working properly. Try using the '-t' without the filename first and prove that you get a robot console up.
If you now press and hold '#' and press reset/mode on the CM-5 you should get to the bootloader. Try typing 'help' for example.
Yeap, I was doing all wrong, now I get the CM-5 console, to start with I was trying to use my second CM-5 with a servo with a bad ID..fix that I thing start to get better..the example.bit also begin to work on my primary CM-5 witch it have the 1 and 2 servos...
StuartL wrote:If this works then all you need to do is restart the programmer with '-t' and a .bin filename. It'll sit there waiting for the CM-5 to respond, if it doesn't seem to then press 'reset' on the CM-5 and the programmer should detect that you're now in the bootloader.
RandomMatt: Have I missed anything?
Now I have more specific questions:
when I run something like this:
./programm -t /dev/ttyUSB0 example.bin
As you say the program is transfered to the CM-5 and then keep interactive, when I end the console the "exmple.bin" it seems to not let me do nothing more in the CM-5 like change to manage or program modes and manage and play led's stay still as when the example.bin was runnit..How to reset thing?
My second one is about the "lastchar();" instruction in example.c, that instruction running on the CM-5 reads from the UART1 right?, without making any UART1 connection command at the CM-5?, if that is the case, is much more easy to programm than windows...
My last question is more like a sugestion from you:
I want to make some basic programms to be at the CM-5 like: move forward, left, right, etc..(like a cerebellum) and put more advanced analisys programs in a more powerfull brain (like my laptop). 1 option is to set the CM-5 in toss mode, in witch I can control the dynamixel bus directly from my C# program in mono/linux...but that option force me to put all the control logic in the laptop right?, I mean I can't mix toss mode instructions and a running program at the CM-5?
Second option is to put the basic movements program at the CM-5 and make a simple serial connection from C or C# to send the control data, to do that I can use something like the programmer.c?
Any other sugestions?
Thanks and I apreciate your patience..
Mauricio
StuartL wrote:Can you work on the quoting? Use the preview if you have to but it's really hard to spot which parts are questions and which parts are quotes...
ok sure, sorry it was my mistake I press "submit" until a preview...
StuartL wrote:It sounds like the file transfer isn't working properly. Try using the '-t' without the filename first and prove that you get a robot console up.
If you now press and hold '#' and press reset/mode on the CM-5 you should get to the bootloader. Try typing 'help' for example.
Yeap, I was doing all wrong, now I get the CM-5 console, to start with I was trying to use my second CM-5 with a servo with a bad ID..fix that I thing start to get better..the example.bit also begin to work on my primary CM-5 witch it have the 1 and 2 servos...
StuartL wrote:If this works then all you need to do is restart the programmer with '-t' and a .bin filename. It'll sit there waiting for the CM-5 to respond, if it doesn't seem to then press 'reset' on the CM-5 and the programmer should detect that you're now in the bootloader.
RandomMatt: Have I missed anything?
Now I have more specific questions:
when I run something like this:
./programm -t /dev/ttyUSB0 example.bin
As you say the program is transfered to the CM-5 and then keep interactive, when I end the console the "exmple.bin" it seems to not let me do nothing more in the CM-5 like change to manage or program modes and manage and play led's stay still as when the example.bin was runnit..How to reset thing?
My second one is about the "lastchar();" instruction in example.c, that instruction running on the CM-5 reads from the UART1 right?, without making any UART1 connection command at the CM-5?, if that is the case, is much more easy to programm than windows...
My last question is more like a sugestion from you:
I want to make some basic programms to be at the CM-5 like: move forward, left, right, etc..(like a cerebellum) and put more advanced analisys programs in a more powerfull brain (like my laptop). 1 option is to set the CM-5 in toss mode, in witch I can control the dynamixel bus directly from my C# program in mono/linux...but that option force me to put all the control logic in the laptop right?, I mean I can't mix toss mode instructions and a running program at the CM-5?
Second option is to put the basic movements program at the CM-5 and make a simple serial connection from C or C# to send the control data, to do that I can use something like the programmer.c?
Any other sugestions?
Thanks and I apreciate your patience..
Mauricio