hi,
when I disable the Master clear so as to use GPIO port 3 as an input, when I try to reprogram, the 12F675 micro will not program any more.
Is their any way to program the micro when the master reset has been disabled.
Andrew
GPIO.3 RESET
I am using the EasyPIC2 board and it all programs OK, it is just when I turn off the master reset in the edit project (MCLRE_OFF is ticked), then once I program the 12F675 micro, It can not be reprogramed.
I am currently leaving out GPIO.3 untill the last moment when I will need to start debugging my program with this pin.
Code Protect is NONE,
Data EE Protect is disable,
BOD enabled,
Master Clear Disable,
Power up timer Disabled,
Watchdog timer Disabled OCS INTRC I/O
Andrew
I am currently leaving out GPIO.3 untill the last moment when I will need to start debugging my program with this pin.
Code Protect is NONE,
Data EE Protect is disable,
BOD enabled,
Master Clear Disable,
Power up timer Disabled,
Watchdog timer Disabled OCS INTRC I/O
Andrew
Hi Andrew,
HI Know exactly you are talking about.In the past I have had problems with the 675 pics,and on ocasion I still do.I have found that if I go to the USB/config in the tool bar of PICFlash and slow down the transfer rate then I no longer have problems. Let me know how it goes.
HI Know exactly you are talking about.In the past I have had problems with the 675 pics,and on ocasion I still do.I have found that if I go to the USB/config in the tool bar of PICFlash and slow down the transfer rate then I no longer have problems. Let me know how it goes.
Regards Charlie M.
Hi Andrew,
I get the same thing when I program the pic and I don't have any problems.I know its sure can be frustration.How slow did you configure the transfer speed? I have mine set in the middle. I tried to mike mine cause the error ,but I can't. This has come quite a few times.You could do a search for 12675 errors and see if you can get any info from that.Im the mean time I will try to simulate the problem.When I get the problem Sad
Bandgap Cal. Voltage = 0-lowest
OSCCAL Location 0000
When the 675 programs OK Smile
Bandgap Cal. Voltage = 1-
OSCCAL Location 34A0
Regards Charlie M.
I had slowed down all the way to its lowest level, Increased by step up to the mid and still no good, ????
I had even tried an earlier version (the older type from Pascal 2.16) still the same. I will look deeper, It could even be my PC causing this problem????
I will get back to it within a couple of days, I find I get closer to a solution when I have a break from the problem.
Andrew
I had even tried an earlier version (the older type from Pascal 2.16) still the same. I will look deeper, It could even be my PC causing this problem????
I will get back to it within a couple of days, I find I get closer to a solution when I have a break from the problem.
Andrew
Yes,
I have the newest version of PICFLASH 5.0.0.07 5005
It has been noted that with the 12F675 that program OK, I done see any LED blink on the EASYPIC2 board, the one that done program after the master clear has been disabled, leds blink on the easypic2 board.
Out of 5 675 chips that have been the master clear disabled, that do not program anymore, I manage to recover one of them. ( I did nothing different with that one than with the others).
It may be that I have a batch of poor 12F675 micros???
As this is under the 2 k limit, I will try on another 2 x PC (Notebook and desktop).
Andrew
I have the newest version of PICFLASH 5.0.0.07 5005
It has been noted that with the 12F675 that program OK, I done see any LED blink on the EASYPIC2 board, the one that done program after the master clear has been disabled, leds blink on the easypic2 board.
Out of 5 675 chips that have been the master clear disabled, that do not program anymore, I manage to recover one of them. ( I did nothing different with that one than with the others).
It may be that I have a batch of poor 12F675 micros???
As this is under the 2 k limit, I will try on another 2 x PC (Notebook and desktop).
Andrew
I have tried on another 2 x PC and I still have the problem, I even tried a different 12F675 from another batch and problem is still their,
That is I can program the 675 with the master clear enabled all the time,
I can program the 675 with the master clear disabled only once.
I ask, is this a normal thing or an I just unlucky.
Do I need to use MPlab???
Andrew
That is I can program the 675 with the master clear enabled all the time,
I can program the 675 with the master clear disabled only once.
I ask, is this a normal thing or an I just unlucky.
Do I need to use MPlab???
Andrew
Please note:
Their seems to be a problem within the Programmer???
A say thei due to the following test.
I had reinstalled MPLAB V7.2 and enabled my old PICSTART Plus. I was then able to erase the program and reuse the 675 micro.
I disable the master clear within mC and tried again using the onboard programmer, Can only write once if the master clear has been disabled.
MPLAB I can load any different HEX files with the master clear disabled and program over the top of a program that has the master clear disabled.
I am using COM PORT 1 on the MPLAB PICKSTART Plus and USB on the mC.
Andrew
Their seems to be a problem within the Programmer???
A say thei due to the following test.
I had reinstalled MPLAB V7.2 and enabled my old PICSTART Plus. I was then able to erase the program and reuse the 675 micro.
I disable the master clear within mC and tried again using the onboard programmer, Can only write once if the master clear has been disabled.
MPLAB I can load any different HEX files with the master clear disabled and program over the top of a program that has the master clear disabled.
I am using COM PORT 1 on the MPLAB PICKSTART Plus and USB on the mC.
Andrew
I remember hearing somethink about the reset volgage level, If this is incorrect then you will not be able to program the micro, could this be the case with the master clear disabled. Is the programmer required to have a higher reset voltage?
As an added note: with my meter on the reset pin on the PICKSTART Plus, I dont get any voltage varience. not like the onboard programmer of the Easypic2 board where I get 12V?
This was the only difference I could find when comparing the two.
Andrew
As an added note: with my meter on the reset pin on the PICKSTART Plus, I dont get any voltage varience. not like the onboard programmer of the Easypic2 board where I get 12V?
This was the only difference I could find when comparing the two.
Andrew