PIC12F508/509
PIC12F508/509 Rev. B0 Silicon/Data Sheet Errata
The PIC12F508/509 parts you have received conform
functionally to the Device Data Sheet (DS41236E),
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.
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.
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
data
__CONFIG
.config
data
__CONFIG
0xYYYY
_CP_OFF & _WDT_ON & etc.
_CP_OFF & _WDT_ON & etc.
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:
Re-locatable Code
code 0xYYYY
data _CP_OFF & _WDT_ON &
etc.
data _CP_OFF & _WDT_ON &
etc.
FIGURE 1:
I
DD
Configuration Word Address
Device
PIC12F508
PIC12F509
Note:
YYYY
03FF
07FF
YYYY
is the address of the Configuration
Word for the part.
I
PD
Time
Device enters
Sleep
Device current
reaches I
PD
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.
2007-2016 Microchip Technology Inc.
DS80000190H-page 1
Note the following details of the code protection feature on Microchip devices:
•
•
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
•
•
•
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights unless otherwise stated.
Trademarks
The Microchip name and logo, the Microchip logo, AnyRate,
dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, KeeLoq,
KeeLoq logo, Kleer, LANCheck, LINK MD, MediaLB, MOST,
MOST logo, MPLAB, OptoLyzer, PIC, PICSTART, PIC32 logo,
RightTouch, SpyNIC, SST, SST Logo, SuperFlash and UNI/O
are registered trademarks of Microchip Technology
Incorporated in the U.S.A. and other countries.
ClockWorks, The Embedded Control Solutions Company,
ETHERSYNCH, Hyper Speed Control, HyperLight Load,
IntelliMOS, mTouch, Precision Edge, and QUIET-WIRE are
registered trademarks of Microchip Technology Incorporated
in the U.S.A.
Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut,
BodyCom, chipKIT, chipKIT logo, CodeGuard, dsPICDEM,
dsPICDEM.net, Dynamic Average Matching, DAM, ECAN,
EtherGREEN, In-Circuit Serial Programming, ICSP, Inter-Chip
Connectivity, JitterBlocker, KleerNet, KleerNet logo, MiWi,
motorBench, MPASM, MPF, MPLAB Certified logo, MPLIB,
MPLINK, MultiTRAK, NetDetach, Omniscient Code
Generation, PICDEM, PICDEM.net, PICkit, PICtail,
PureSilicon, RightTouch logo, REAL ICE, Ripple Blocker,
Serial Quad I/O, SQI, SuperSwitcher, SuperSwitcher II, Total
Endurance, TSHARC, USBCheck, VariSense, ViewSpan,
WiperLock, Wireless DNA, and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC
®
MCUs and dsPIC
®
DSCs, K
EE
L
OQ
®
code hopping
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
Silicon Storage Technology is a registered trademark of
Microchip Technology Inc. in other countries.
GestIC is a registered trademarks of Microchip Technology
Germany II GmbH & Co. KG, a subsidiary of Microchip
Technology Inc., in other countries.
All other trademarks mentioned herein are property of their
respective companies.
© 2007-2016, Microchip Technology Incorporated, Printed in
the U.S.A., All Rights Reserved.
ISBN: 978-1-5224-0544-3
QUALITY MANAGEMENT SYSTEM
CERTIFIED BY DNV
==
ISO/TS 16949
==
2007-2016 Microchip Technology Inc.
DS80000190H-page 3