Saturday, March 6, 2010

picusb Google code page updated

http://code.google.com/p/picusb/

I have created this page quite some time ago. But I did not put anything inside. Now I will start to put some contents inside, mainly related to some open source codes related to USB PIC MCUs.

Some files for download:
http://code.google.com/p/picusb/downloads/list

3 comments:

Udit said...

Hey,

I don't wanna take up much of your precious time, so I'll make this email terse and to the point!

I have a PIC 18F4550 - connected via Pickit 2. Everything works beautifully on Windows. So I thought let's try it on Linux. Hence I installed Piklab.

I also installed libusb (already had that), fixed some USB hotplug issue mentioned on your wiki, and installed all the software perfectly. Now everything works, except the PIC detection part!

I get the following error everytime I try to program my PIC:

"Connecting PICkit2 Firmware 1.x on USB Port with device 18F4550...
Firmware version is 2.32.0
The firmware version (2.32.0) is higher than the version tested with piklab (1.20.0). You may experience problems.
set Vdd = 5 V and Vpp = 12 V
USB Port: Error receiving data (ep=0x81 res=-110) (err=could not get bound driver: No data available). "

Now why is this happening? I've been trouble-shooting this for days with no solution anywhere!!!. It is not a permissions issue, nor is it a connectivity issue, it just can't read and send data...it recognizes the Pickit like magic!!e Next off, I can't find the old .hex file associated with Pickit 2 - PK012000.hex or something like that. If you have that file, I'll gladly burn it onto the Pickit 2.

Thanks for all the help.

Udit

Udit said...

Hey,

I don't wanna take up much of your precious time, so I'll make this email terse and to the point!

I have a PIC 18F4550 - connected via Pickit 2. Everything works beautifully on Windows. So I thought let's try it on Linux. Hence I installed Piklab.

I also installed libusb (already had that), fixed some USB hotplug issue mentioned on your wiki, and installed all the software perfectly. Now everything works, except the PIC detection part!

I get the following error everytime I try to program my PIC:

"Connecting PICkit2 Firmware 1.x on USB Port with device 18F4550...
Firmware version is 2.32.0
The firmware version (2.32.0) is higher than the version tested with piklab (1.20.0). You may experience problems.
set Vdd = 5 V and Vpp = 12 V
USB Port: Error receiving data (ep=0x81 res=-110) (err=could not get bound driver: No data available). "

Now why is this happening? I've been trouble-shooting this for days with no solution anywhere!!!. It is not a permissions issue, nor is it a connectivity issue, it just can't read and send data...it recognizes the Pickit like magic!!e Next off, I can't find the old .hex file associated with Pickit 2 - PK012000.hex or something like that. If you have that file, I'll gladly burn it onto the Pickit 2.

Thanks for all the help.

Udit

Xiaofan said...

You can use pk2cmd. Piklad does not support PICkit 2 v2 firmware.

pk2cmd works under Linux, Windows and Mac OS X.
http://www.microchip.com/pickit2