When programming a 12F675 device which has been configured with an internal clock and an internal MCLR the default PPP settings will not work to correctly program the device.
To get around this problem go into PPP and click options.
From Flowcode --- Chip -> Configure -> Options
From PPP itself --- Options -> Options
Under the Vdd switching options tick the manual override option and then select the option Raise Vdd after Vpp.
Then click Ok.
This change may also help when programming other devices with internal MCLR and internal clock such as the 16F883.
Remember to disable the manual override functionality when using another device to allow PPP to function correctly.
In some cases it is also nessisary to disable the retain OSCCAL setting. You may want to store the OSCCAL setting into EEPROM etc before disabling this setting and then you can read it back at any time.
Programming a 12F675 with internal MCLR and internal clock
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Programming a 12F675 with internal MCLR and internal clock
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Programming a 12F675 with internal MCLR and internal clo
Thanks Ben. That is interesting, it is the same problem I was facing. See microchips response.
http://www.matrixmultimedia.com/mmforum ... =29&t=7590
Interestingly, after placing a 50ms delay prior to OSCCON command actually worked as well
So now two solution’s which is better then none!
http://www.matrixmultimedia.com/mmforum ... =29&t=7590
Interestingly, after placing a 50ms delay prior to OSCCON command actually worked as well
So now two solution’s which is better then none!
Martin