<<O>>  Difference Topic BuildingAStripboardCommsController (r1.15 - 14 Apr 2007 - VikOlliver)

META TOPICPARENT RepStrap

HOWTO: Building A Stripboard Comms Controller

Line: 149 to 149

Using your comms software and the same settings as you previously used (no flow control), type or send some characters. The exact same characters should echo back to you. If you remove the power from the module, the echo should stop. Turn it on again and check that echo returns. Similarly, if you remove the comms cable echo should stop, put it back it and check that echo returns.

Changed:
<
<
For Linux you can also use the 'poke' utility form the firmware toolkit to test the interface. I used device /dev/ttyUSB0 - a serial USB adaptor - as my serial port on a Linux box, Windows users probably have COM1 or something similar. Here is the command line; change your device to match:
>
>
For Linux you can also use the 'poke' utility form the firmware toolkit to test the interface. I used device /dev/ttyUSB0 - a serial USB adaptor - as my serial port on a Linux box, Windows users probably have COM1 or something similar. Here is the command line; change your serial device to match and make sure you have access rights to that device (in Ubuntu you must be a member of the system dialout group):

echo 0|./poke -d 2 -t /dev/ttyUSB0 -v -w

Line: 161 to 161

<54><51><31><02><00><00>[54][51][31][02][00][00][d0]Read fail 2
Added:
>
>
If this does not happen, type:

stty -F $serialport -echo -cooked

and try again.


For Windows the poke utility is not currently available. You can use the Java stepper exerciser application instead. If you launch it and drag one of the position sliders, you should see the following error: Update exception: java.io.IOException: Received data packet when expecting ACK

Now you are ready to connect your stepper controller.

Revision r1.14 - 09 Dec 2006 - 22:53 - SimonMcAuliffe
Revision r1.15 - 14 Apr 2007 - 22:45 - VikOlliver