Created Wed, 01 May 2013 03:18:51 +0000 by BloodyCactus
Wed, 01 May 2013 03:18:51 +0000
just got an ubw32 from sparkfun.. great..
soo.. need to get bootloader onto it to use it with mpide.
hmm icsp has 5 pins, my chipkitpgm has 6... well connect the arrow to vpp, lights up.. open the bootloader project, select ubw32 and c32 2.02..
failed to connect to device.. "Licensed Debugger: None (VID 04D8, PID 8108)"
raaage. I've programed MX250's with the chipkitpgm so I know it worked..
does the missing 6th pin have anything to do with it? (this pgm has been rma'd an supposedly replaced with a good one with the fix).
does not matter if I have it in program mode (flashing white leds, powered by usb) or not or connected to my bench psu in ext power mode (no white led in that case).
basically... I have a useles ubw32 that I cant program :( with either mplabx/pgm or mpide...
ugh.
in mpide tools->serial port is greyed out so I cant select /dev/ttyACM0 but I know its there...
[3207141.776018] usb 4-2: new full-speed USB device number 27 using uhci_hcd
[3207142.028055] usb 4-2: New USB device found, idVendor=04d8, idProduct=8108
[3207142.028059] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[3207142.028061] usb 4-2: Product: chipKITProgrammer
[3207142.028063] usb 4-2: Manufacturer: Digilent
[3207142.028065] usb 4-2: SerialNumber: D809423
[3207142.038151] hid-generic 0003:04D8:8108.002B: hiddev0,hidraw4: USB HID v1.11 Device [Digilent chipKITProgrammer] on usb-0000:00:1a.1-2/input0
....
[3207262.184022] usb 3-2: new full-speed USB device number 30 using uhci_hcd
[3207262.434053] usb 3-2: New USB device found, idVendor=04d8, idProduct=000a
[3207262.434058] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[3207262.434061] usb 3-2: Product: CDC RS-232 Emulation Demo
[3207262.434064] usb 3-2: Manufacturer: Microchip Technology Inc.
[3207262.437144] cdc_acm 3-2:1.0: This device cannot do calls on its own. It is not a modem.
[3207262.437168] cdc_acm 3-2:1.0: ttyACM0: USB ACM device
[3207403.824043] usb 3-2: USB disconnect, device number 30
[3207404.064017] usb 3-2: new full-speed USB device number 31 using uhci_hcd
[3207404.249119] usb 3-2: New USB device found, idVendor=04d8, idProduct=003c
[3207404.249124] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[3207404.249127] usb 3-2: Product: USB HID Bootloader
[3207404.249130] usb 3-2: Manufacturer: Microchip Technology Inc.
[3207404.256210] hid-generic 0003:04D8:003C.002C: hiddev0,hidraw5: USB HID v1.11 Device [Microchip Technology Inc. USB HID Bootloader] on usb-0000:00:1a.0-2/input0
wonder if my pgm died.. it didnt used to show in mplabx "Licensed Debugger: None (VID 04D8, PID 8108)", it was not "None" before...
something is toast and its probably the pgm. shiny new ubw32 and I cant play with it...
Wed, 01 May 2013 10:29:43 +0000
You can use mphidflash to program the UBW32.
There's a test version of MPIDE that we're working on that allows you to program boards using other things than avrdude, and mphidflash is the main reason for it :)
The latest test versions of MPIDE can be downloaded from [url]http://chipkit.s3.amazonaws.com/index.html?sort=lastmod&sortdir=desc[/url]. I have a test board that uses mphidflash that can be downloaded from [url]http://scratchpad.majenko.co.uk/prfm.tgz[/url] that you can use as a basis for setting up a UBW32 with mphidflash.
Also, the github repo is good to run from if you're wanting to go this route, as it will always contain the latest fixes - this is very new code and prone to problems, so doing that will ensure that you can keep up to date with the fixes.
[url]https://github.com/chipKIT32/chipKIT32-MAX[/url]
Fri, 10 May 2013 17:39:52 +0000
update to mplabx 1.80 and huzzah, its all good again :( so who knows what was wrong.