background image

11

revolution

(c) Revolution Education Ltd.    Email: [email protected]   Web: www.picaxe.co.uk  V2.2 02/09

AXE027.PMD

PICAXE USB CABLE

4.1) Linux Patch Option 1

Temporarily update the kernel drivers product id every time the computer is restarted (this must be carried out before

the cable is inserted into the USB port).  This method can also be used when running Linux from a live CD.

To do this open a Terminal console and then type

sudo modprobe ftdi_sio vendor=0x0403 product=0xbd90

4.2) Linux Patch Option 2 (recommended)

Create a new udev rule, so that the modprobe rule is automatically applied every time the computer boots.

Create a new file (e.g. using KWrite, gedit or similar text editor) named

/etc/udev/rules.d/99-axe027.rules

To do this press open a Terminal console and then type

sudo kwrite /etc/udev/rules.d/99-axe027.rules

Then enter the following text 

(note the last 2 lines below should be entered as one long line)

 and then save the file.

# /etc/udev/rules.d/99-axe027.rules

# contains axe027 udev rule to patch default

# FTDI product id to AXE027 product id (0xbd90)

SYSFS{idProduct}=="bd90", SYSFS{idVendor}=="0403",

                  RUN+="/sbin/modprobe -q ftdi_sio product=0xbd90 vendor=0x0403"

The new rule will then always be applied when the system boots. To immediately try out the new rule without

rebooting open a Terminal console and then type

sudo udevcontrol reload_rules

4.3) Patch Option 3

The technically correct method, but for experienced users only!

Patch the original kernel source files orig/drivers/usb/serial/ftdi_sio.c (3 extra lines required as overleaf) and orig/

drivers/usb/serial/ftdi_sio.h (1 extra line required) and recompile.

After patching these two files also make sure in addition to normal USB support you have

CONFIG_USB_SERIAL_GENERIC and CONFIG_USB_SERIAL_FTDI_SIO enabled in kernel .config.

Then recompile and install the kernel (or at least this module).

Содержание AXE027

Страница 1: ...connects via the computer s USB port However the cable contains a tiny circuit board moulded into the compact USB connector This circuit contains a USB to serial convertor chip and so the actual data...

Страница 2: ...number if necessary 3 01 Installing the AXE027 PICAXE USB Cable Driver The first time you connect the AXE027 PICAXE USB cable you will be automatically prompted to install the software driver files T...

Страница 3: ...a Windows logo testing warning is displayed click Continue Anyway Note that the generic FTDI software drivers to be installed during this process have already passed Windows logo testing However due t...

Страница 4: ...then click the Advanced button Step 4 The COM Port number currently allocated is shown on screen COM20 in this example From the COM port number list select the desired new COM port number and then cli...

Страница 5: ...visible Beside the AXE027 PICAXE USB entry will be the currently allocated COM port number 3 11 Installing the AXE027 PICAXE USB Cable Driver Due to the new way Windows 7 handles driver installation...

Страница 6: ...B CABLE Step 3 Manually Install AXE027 Driver Click Start Control Panel Click View Devices and Printers in the Hardware and Sound section Right Click over AXE027 PICAXE USB and select Properties Click...

Страница 7: ...wse button and select the downloaded drivers folder Click Next Select Install this driver software anyway on the Security warning When installation completes close all open windows This process MUST n...

Страница 8: ...2 02 09 AXE027 PMD PICAXE USB CABLE Right Click over AXE027 PICAXE USB and select Properties Click Hardware Tab Highlight click on USB Serial Port in the list instead of AXE027 PICAXE USB which was u...

Страница 9: ...ton and select the downloaded drivers folder Click Next Select Install this driver anyway on the Security warning When installation completes note the new COM port number in the title bar of the succe...

Страница 10: ...uter is restarted before the AXE027 cable is inserted This method also works when running Linux from a Live CD without installation Option 2 recommended is also fairly straight forward and permanent a...

Страница 11: ...hen enter the following text note the last 2 lines below should be entered as one long line and then save the file etc udev rules d 99 axe027 rules contains axe027 udev rule to patch default FTDI prod...

Страница 12: ...ROTEGO_SPECIAL_4 0x400 0xffff USB_DEVICE_VER FTDI_VID FTDI_ELV_UO100_PID 0x400 0xffff USB_DEVICE_VER FTDI_VID FTDI_AXE027_PID 0x400 0xffff USB_DEVICE FTDI_VID FTDI_CCSICDU20_0_PID USB_DEVICE FTDI_VID...

Страница 13: ...Driver dmg icon Click Continue to proceed with the installation and follow the instructions on screen When the installation is complete reboot the computer When the computer has rebooted plug in the A...

Страница 14: ...this point it is possible to exit Network and use the AXE027 cable referenced by the system unique dev tty usbserial xxxxxxxx name 5 1 Trouble shooting If the AXE027 cable cannot be accessed an owners...

Страница 15: ...vers for the required PDA processor model from the software pages at www picaxe co uk and unzip them The two files in the driver package are ftdi_ser dll FTDIPORT inf Step 2 If the PDA requires a host...

Страница 16: ...cally permissible to reduce the value of the 22k resistor e g to 1k but only if a AXE026 serial cable is never to be used However for maximum versatility it is recommended to leave the circuit unchang...

Отзывы: