chipKIT® Development Platform

Inspired by Arduino™

mpide + microstickii

Created Wed, 27 Jun 2012 14:35:02 +0000 by BloodyCactus


Wed, 27 Jun 2012 14:35:02 +0000

I see my microstickii listed in the board selection, so thats cool. compiles blink example. sweeet.

cant upload.

My Serial port menu option is greyed out, and the microstick is not listed as /dev/ttyUSB0...

I added a rule to always mount it at the same place as /dev/microstick, thats fine.

I dug deeper and it seems the microstickii is not a tty serial interface, its a plain hid input device.

How do I upload to the microstick if its not a serial interface?

I can program it fine with mplabx... but how do I upload from mpide?

Jacob Christ

Sat, 30 Jun 2012 17:45:48 +0000

It might show up as /dev/ACM0



Sun, 01 Jul 2012 14:34:17 +0000

nah, its not ACM0. I have created a udev rule to map it to /dev/microstick and using that in the mpide config still fails. Basically its not showing up as a serial device.

when I connect this is what I see;

[ 4446.040017] usb 4-2: new full-speed USB device number 3 using uhci_hcd
[ 4446.309158] generic-usb 0003:04D8:8107.0006: hiddev0,hidraw4: USB HID v1.11 Device [Microchip Technology Incorporated Microstick II SK] on usb-0000:00:1a.1-2/input0

when I plug my open logic sniffer in, I see that as /dev/ACM0 and other things I have show up as usb serial devices.

Jacob Christ

Sun, 01 Jul 2012 16:58:08 +0000

You've exhausted my knowledge. I spend most of my time using MPIDE in windows.



Sun, 01 Jul 2012 17:09:06 +0000

no worries mate, got it figured AFAIK.

the board as it comes provides no serial interface, but there are header pins on the end of the board for adding 6 male pins, which hook to the tx/rx pins. so my understanding is I add some right angle pins, and use a ftdi cable.

it just has to be 3.3v rather than the more common 5v


Sun, 01 Jul 2012 17:43:15 +0000

looking at the pic32 28pin dip chip schematics the rx/tx pins are 5v tolerant so a 5v ftdi ttl cable should be fine.

hmm only the 150 has 5v tolerante tx/rx pins the 250 does not :(

so pic32mx150f128b = 5v tolerant pic32mx250f128b = not!

and all my chips are 250's.