Note: PicAXE and AxePad for Linux are rocking my world in a good way. I’m sharing this issue with the mac version of AxePad to help others with this issue.
I have an iomega usb-serial adapter (GUC232A). See it on iomega’s site at http://www.iogear.com/support/dm/driver/GUC232A The driver installs fine and I see it in my /dev directory as:
/dev/tty.PL2303-0000101D
However the AxePad for Mac options expect you to give a port name like:
/dev/tty.usb*
Where * can be anything AFTER the tty.usb This probably works great for the official usb programming cable for the PicAXE however since my iomega USB-serial adapter has a different device filename I’m SOL; right? Wrong, or at least sorta wrong. I couldn’t edit the port prefix so there was no way to specify my iomega’s device file. Yes, I tried entering the full path starting at the root – the AxePad field has a limit of around 8 characters. Here’s what I saw in my options > port dialog:

So I figured MAYBE I could override the default file prefix in a config file. I found it! I edited ~/Library/Preferences/axepad.ini and changed the “PortNamePrefix=/dev/tty.usb*^M”
to
“PortNamePrefix=/dev/tty.PL2303-0000101D^M”
I left the “^M” there not knowing if it is useful to axepad when reading this ini file. Wanna see how my options > port looks now?

So, that rocked my world. Now it works. Well, almost. Actually it seems like there is a bug in the driver that makes AxePad crash? It programs the chip, checks the version of chip but quits working sometimes. It gives errors after trying to program. If I pull the usb plug for the usb-serial adapter out and reinsert it, it works again for a little while. It totally fails in debug mode with the PicAXE running debug commands.
Maybe AxePad doesnt’ work well with the driver and it is no fault of the drivers? Not sure. What I do know if the driver SEEMS to work however, it is last updated around 2006 according to iomega’s website. I’m betting the driver doesn’t work so well with osx 10.5 so well.
Do you know the answer? Do the AxePad folks KNOW it only works with their own USB programmer and thats why they hard code that device filename prefix?
If it weren’t for my old linux laptop with a hardware rs-232 port I might be a lot less happy with my PicAXE experience this first week. But it has worked flawlessly with my Ubuntu 10.10 laptop Linux AxePad and my hardware rs-232 port.