Marcoose
Joined: 09 Dec 2006 Posts: 5 Location: Ontario, Canada
|
Mach X Force Erase |
Posted: Sat Jan 10, 2015 6:42 pm |
|
|
Hi,
I am using a Mach X rev 4 with the latest (I think) CCSLoad 5.007 and firmware v1.26.
I am programming a PIC12F675 (8-pin device) and making use of all the pins. I am able to program a chip successfully one time (verification fails, but the program is loaded), and thereafter I can't erase/program/verify because the device ID cannot be verified. (I am using a DIP in the ZIF socket where Mach X supplies power)
The firmware I have loaded is using MCLR (set for I/O) as well as PGD and PGC pins, and this seems to prevent the Mach X from being able to read the device ID.
If I supply an external 12v to the MCLR pin whilst clicking 'erase' in CCSLoad, then I am able to erase the chip and continue on my merry way.
Is there some way to force the Mach X to apply Vpp to MCLR and erase the chip without attempting to verify the device ID first? It is kind of annoying to have to do my 'manual override' each time. Or is there something wrong with my fuses/program that I could change so as to make full use of the chip but still allow Mach X to read the device ID?
I searched the forums and it sounds like there was an "advanced" menu and "force erase" options at one point, but I don't see them anywhere in the GUI or CLI documentation for the current version of CCSLoad.
Any thoughts?
Thanks!
Marcus |
|