Information
© 2007 Microchip Technology Inc. DS80190G-page 1
PIC12F508/509
The PIC12F508/509 parts you have received conform
functionally to the Device Data Sheet (DS41236C),
except for the anomalies described below.
All problems listed here will be addressed in future
revisions of the PIC12F508/509 silicon. Where noted,
problems apply to listed revision only.
1. Module: MPLAB
®
IDE, Revision 6.61 and
Earlier
MPLAB IDE 6.61 does not look for or set the
Configuration Word in the hex file at the conven-
tional logical location of 0xFFF.
Work around
:
The CONFIG data must be assigned in two
locations within the assembly code to ensure
proper Configuration Word placement in the hex
file. This is only required for MPLAB IDE version
6.61 and earlier.
Fixed Code
org 0xYYYY
data _CP_OFF & _WDT_ON & etc.
__CONFIG _CP_OFF & _WDT_ON & etc.
Re-locatable Code
.config code 0xYYYY
data data _CP_OFF & _WDT_ON &
etc.
__CONFIG data _CP_OFF & _WDT_ON &
etc.
Configuration Word Address
2. Module: PIC12F509 debugging with ICD2
(PIC16F505-ICD silicon) – Invalid
FSR Power-Up Initialization
The FSR on the PIC16F505-ICD debugger silicon
initializes to an invalid state. When using the ICD to
debug software with the PIC16F505-ICD, bit 5 in the
FSR register must be manually cleared to ‘0’ prior to
saving data in user RAM space. The power-up default
is ‘1’, which causes the device to Access Bank 1. The
power-up defaults are correct on the non-ICD version
of the PIC12F509 devices.
Work around:
Add the following line of code to the top of your
program;
BCF FSR,5 ;set bank pointers to bank 0
This will have no effect on non-ICD devices, but will
correct for the initialization errata on -ICD devices.
3. Module: I
PD
, Power-Down Base current
On the PIC12F508/509 silicon, revisions earlier
than A3, the power-down base current may remain
higher than the specification for a short time when
entering Sleep.
The following graph illustrates the device current
upon entering Sleep:
FIGURE 1:
The length of time between the device entering
Sleep mode and the device current reaching I
PD
increases as both temperature and voltage
decrease.
Work around
This issue is fixed in Revisions A3 and later.
Device YYYY
PIC12F508 03FF
PIC12F509 07FF
Note: YYYY is the address of the Configuration
Word for the part.
I
PD
Device enters
Sleep
Device current
reaches I
PD
I
DD
Time
PIC12F508/509 Rev. A Silicon/Data Sheet Errata