On Fri, Mar 28, 2008 at 11:52 PM, Mark Rages wrote: > Replying to myself. It's been done: > http://search.cpan.org/src/MSCHILLI/Device-MAS345-0.02/MAS345.pm > > Is there anything CPAN doesn't have? > A perl based host program for PICkit 2 similar to your python based pyk. ;-) There was a Device::USB libusb wrapper for perl though. So in theory this can be done. There was a perl based bootloader host program for PICDEM FS USB demo board. Device::USB (but personally I think pyusb is better): http://search.cpan.org/~gwadej/Device-USB-0.21/lib/Device/USB.pm Perl script for PICDEM FS USB bootloader http://www.nabble.com/HID-keyboard-code-for-gpasm-and-the-fs-picdem-board-td860144.html http://www.nabble.com/attachment/878980/0/picdem.pl.bz2 Another thing missing for both Python and Perl is the native HID API wrapper under Windows (you can perhaps add Linux and Mac OS X here as well). Xiaofan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist