Created Fri, 20 May 2016 02:05:29 +0000 by Frank1
Fri, 20 May 2016 02:05:29 +0000
Just acquired an uC32.
With the Arduino IDE and chipKIT core (arduino-1.6.9-macosx) I've attempted to check the unit, connections, and interactions with the blink sketch.
As far as I can tell, the communications is at least partly working. The blinking low-order LED pauses, then resumes after the upload attempt.
I repeatedly see Erase: Cannot erase chip. Changes made in the blink sketch do not show up as changes in the blink rate.
Resetting the unit via the reset button does not help.
What's going on here?
I've searched the web for solutions, but have not found anything simple. Does the board contain a too-old bootloader?
Fri, 20 May 2016 10:27:04 +0000
Yes, the board will most likely have the wrong bootloader on it. A batch of about 1600 of them came out of the factory with the wrong bootloader on. It works most of the time, but with PIC32PROG under Windows it fails.
There is a bootloader update sketch available on the Digilent website: https://reference.digilentinc.com/chipkit_uc32/chipkit_uc32
You will need an older version of MPIDE that uses AVRDUDE for uploading to install it.