--- In [email protected], "electronia83" <[EMAIL PROTECTED]> wrote:
>
> I try to make a code in C Linux for the servo Controller
> (http://www.pololu.com/products/pololu/0727/
> <http://www.pololu.com/products/pololu/0727/> ).
> 
> 
> But controller don't work
> <removed>
> Can you help please ?

Olivier,

Exactly how does it fail?  I don't have this servo controller, so here are some 
common 
serial debugging tricks.  Get a serial breakout box or use a scope and see if 
your serial 
data is flowing properly.  Check that the cable is correct -- pins 2 and 3 (rx 
and tx) 
probably need to be reversed.  Some other lines may have to be strapped 
together, 
although this is not common.

This code should run on a PC running Linux but you will have to change the 
serial port 
name.  If you only have a PC running Windose, boot Linux from a live CD.

Use gdb on the PC or in the Foxboard.

Make sure you are not using a serial port that is being used by something else, 
such as 
the console.

Steve

Reply via email to