Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Changes

PICKit 2

1,160 bytes added, 21:03, 2 February 2011
Created page with "The '''PICKit 2''' is a microprocessor programming and debugging peripheral. It is used in ECE 4534 Embedded System Design. Below are instructions on how to get it working. ..."
The '''PICKit 2''' is a microprocessor programming and debugging peripheral. It is used in [[ECE 4534 Embedded System Design]]. Below are instructions on how to get it working.

{{Template:Version|Ubuntu 10.04}}

==Group Account==
You'll need to add a group for the device and add yourself to that group.
<pre>
sudo addgroup embedded
sudo addgroup $USER embedded
</pre>

==Udev Rules==
Now you need to ask udev to give the recently created group permission to access the USB device.
<pre>
echo '#PICKit
SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="0032", MODE="0660", GROUP="embedded"
#PICKit2
SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="0033", MODE="0660", GROUP="embedded"
#ICD2
SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="8000", MODE="0660", GROUP="embedded"
#ICD21
SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="8001", MODE="0660", GROUP="embedded"' | sudo tee /etc/udev/rules.d/25-embedded.rules
</pre>

==Apply the Rules==
You can restart to make the newly added rules take effect.

==External Links==
* [http://sync-signal.com/2010/01/getting-started-with-pickit2-on-ubuntu-9-10/ Getting Started with a PICKit 2 on Ubuntu 9.10]
Anonymous user