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

USB2dynamixel communication problems

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

USB2dynamixel communication problems

Post by hazard » Thu Nov 17, 2011 4:27 pm

Post by hazard
Thu Nov 17, 2011 4:27 pm

Hello,

I'm having problems with sending commands in my computer do dynamixel servos.
I have Windows 7, 32bits in my laptop, I use the USB2dynamixel to interface with AX-12+ and MX-28 servos.

I tried the example in 1.02 SDK "Read_Write", but I always get some kind of communication error:

Code: Select all
 Succeed to open USB2Dynamixel!
Press any key to continue!(press ESC to quit)
0   0
Success: 0   0
0   0
Success: 0   0
0   0
Success: 0   0
0   64001
COMM_RXTIMEOUT: There is no status packet!
Press any key to continue!(press ESC to quit)
0   64000
COMM_RXCORRUPT: Incorrect status packet!
Press any key to continue!(press ESC to quit)
0   64000
COMM_TXFAIL: Failed transmit instruction packet!
Press any key to continue!(press ESC to quit)
0   64000
COMM_TXFAIL: Failed transmit instruction packet!
Press any key to continue!(press ESC to quit)
0   64000
COMM_TXFAIL: Failed transmit instruction packet!
Press any key to continue!(press ESC to quit)


Dynamixel wizard also crashes most of the time.
Image

I tried to run the same example in my friend's computer, also Windows 7, 32bit, the same setup, and it works fine.


So I assume something is wrong with my computer.

I tried 1.01 and 1.02 SDKs and tried several driver versions for the FTDI. There are no changes, I still obtain the same errors.

Does anyone have any suggestion?
Hello,

I'm having problems with sending commands in my computer do dynamixel servos.
I have Windows 7, 32bits in my laptop, I use the USB2dynamixel to interface with AX-12+ and MX-28 servos.

I tried the example in 1.02 SDK "Read_Write", but I always get some kind of communication error:

Code: Select all
 Succeed to open USB2Dynamixel!
Press any key to continue!(press ESC to quit)
0   0
Success: 0   0
0   0
Success: 0   0
0   0
Success: 0   0
0   64001
COMM_RXTIMEOUT: There is no status packet!
Press any key to continue!(press ESC to quit)
0   64000
COMM_RXCORRUPT: Incorrect status packet!
Press any key to continue!(press ESC to quit)
0   64000
COMM_TXFAIL: Failed transmit instruction packet!
Press any key to continue!(press ESC to quit)
0   64000
COMM_TXFAIL: Failed transmit instruction packet!
Press any key to continue!(press ESC to quit)
0   64000
COMM_TXFAIL: Failed transmit instruction packet!
Press any key to continue!(press ESC to quit)


Dynamixel wizard also crashes most of the time.
Image

I tried to run the same example in my friend's computer, also Windows 7, 32bit, the same setup, and it works fine.


So I assume something is wrong with my computer.

I tried 1.01 and 1.02 SDKs and tried several driver versions for the FTDI. There are no changes, I still obtain the same errors.

Does anyone have any suggestion?
hazard
Newbie
Newbie
Posts: 4
Joined: Thu Nov 17, 2011 4:22 pm

Post by i-Bot » Thu Nov 17, 2011 4:41 pm

Post by i-Bot
Thu Nov 17, 2011 4:41 pm

Dynamixel wizard is reliable, so if it works on another PC, then the FTDI drivers are first to check. You may need to check in the registry what drivers are present for the device. Then do some cleaning up.
Dynamixel wizard is reliable, so if it works on another PC, then the FTDI drivers are first to check. You may need to check in the registry what drivers are present for the device. Then do some cleaning up.
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by hazard » Thu Nov 17, 2011 4:46 pm

Post by hazard
Thu Nov 17, 2011 4:46 pm

i-Bot wrote:Dynamixel wizard is reliable, so if it works on another PC, then the FTDI drivers are first to check. You may need to check in the registry what drivers are present for the device. Then do some cleaning up.


Yes, that was my first guess after checking in another computer.
Because I always used FTDI devices without problems. Even yesterday Makerbot worked fine.
Over the years, several versions of drivers have been through my computer, so I tried:
- Using the clean-up utility provided by FTDI
- Installing 3 versions of ftdi drivers, the version that cames with dxl sdk 1.01, the current drivers, and the beta drivers.
And obtain the same results.

Now I am trying to figure out if is there any conflicts in my PC.
i-Bot wrote:Dynamixel wizard is reliable, so if it works on another PC, then the FTDI drivers are first to check. You may need to check in the registry what drivers are present for the device. Then do some cleaning up.


Yes, that was my first guess after checking in another computer.
Because I always used FTDI devices without problems. Even yesterday Makerbot worked fine.
Over the years, several versions of drivers have been through my computer, so I tried:
- Using the clean-up utility provided by FTDI
- Installing 3 versions of ftdi drivers, the version that cames with dxl sdk 1.01, the current drivers, and the beta drivers.
And obtain the same results.

Now I am trying to figure out if is there any conflicts in my PC.
hazard
Newbie
Newbie
Posts: 4
Joined: Thu Nov 17, 2011 4:22 pm

Post by sharpyuk » Thu Nov 17, 2011 5:34 pm

Post by sharpyuk
Thu Nov 17, 2011 5:34 pm

Probably a silly question, but what are you using to power the servos?

They need an external power source as the USB port is unable to provide enough power..

Cheers
Probably a silly question, but what are you using to power the servos?

They need an external power source as the USB port is unable to provide enough power..

Cheers
sharpyuk
Robot Builder
Robot Builder
Posts: 10
Joined: Tue Nov 01, 2011 8:16 pm

Post by hazard » Thu Nov 17, 2011 6:06 pm

Post by hazard
Thu Nov 17, 2011 6:06 pm

sharpyuk wrote:Probably a silly question, but what are you using to power the servos?

They need an external power source as the USB port is unable to provide enough power..

Cheers

There's no silly questions in troubleshooting.

I power the servos through a bench psu at ~9V.

I am able to access, read and change the configuration in Dynamixel Wizard. I am able to run the SyncWrite example in the SDK. But most of the times the status packet is analyzed, it returns an error.
sharpyuk wrote:Probably a silly question, but what are you using to power the servos?

They need an external power source as the USB port is unable to provide enough power..

Cheers

There's no silly questions in troubleshooting.

I power the servos through a bench psu at ~9V.

I am able to access, read and change the configuration in Dynamixel Wizard. I am able to run the SyncWrite example in the SDK. But most of the times the status packet is analyzed, it returns an error.
hazard
Newbie
Newbie
Posts: 4
Joined: Thu Nov 17, 2011 4:22 pm

Post by hazard » Fri Nov 18, 2011 12:01 pm

Post by hazard
Fri Nov 18, 2011 12:01 pm

Ok, I've found the problem.

My laptop's adaptor is not grounded, and my friend's is.

This causes the communications problems.

Problem solved, I have to disconect the laptop adaptor when using a bench psu to power the servos. Or use a battery to power the servos when using the laptop's adaptor.

There you go sharpyuk, there are no silly questions.
Ok, I've found the problem.

My laptop's adaptor is not grounded, and my friend's is.

This causes the communications problems.

Problem solved, I have to disconect the laptop adaptor when using a bench psu to power the servos. Or use a battery to power the servos when using the laptop's adaptor.

There you go sharpyuk, there are no silly questions.
hazard
Newbie
Newbie
Posts: 4
Joined: Thu Nov 17, 2011 4:22 pm


6 postsPage 1 of 1
6 postsPage 1 of 1