SW500007 Microchip Technology, SW500007 Datasheet - Page 30

PICC-18 PRO

SW500007

Manufacturer Part Number
SW500007
Description
PICC-18 PRO
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500007

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015P
778-1002
778-1002
PICC18 Compiler Options
2.4.29 --EMI=type: Select operating mode of the external memory inter-
Those PIC18 devices which can interface with an external memory are capable of operating in sev-
eral modes. The mode selected is determined by the type of memory available and the connection
method used. The interface can operate in 16-bit modes; word write and byte select mode or in
an 8-bit mode: byte write mode. Valid types that can be specified to this option are: wordwrite,
byteselect or bytewrite. Which mode is selected will affect the code generated when writing
to the external data. In word write mode, dummy reads and writes may be added to ensure that an
even number of bytes are always written. In byte select or byte write modes dummy reads and writes
are not generated and can result in more efficient code. Note that this option does not in any way
pre-configure the device for operation in the selected mode.
2.4.30 --ERRATA=type: Specify to add or remove specific errata workarounds
This option allows specification of the types of software workarounds to apply in order to overcome
documented silicon errata issues. The chip configuration file nominates a default set of errata issues
that apply to each device. To compile for an ideal chip, that is, apply no additional workarounds use
--ERRATA=none.
16
Errata name
4000
LFSR
DAW
MINUS40
face (EMI)
Errata description
Execution of some flow control opera-
tions may yeild unexpected results when
certain instructions vector code execu-
tion across the 4000h address boundary.
Using the LFSR instruction to load a
value into a specified FSR register may
also corrupt a RAM location.
The DAW instruction may improperly
clear the CARRY bit (STATUS<0>) when
executed.
Table read operations above the user
program space (>1FFFFFh) may yield
erroneous results at the extreme low end
of the device’s rated temperature range
(-40
o
C).
Workaround details
A continuous block of program code
is not allowed to grow over the 4000h
address boundary. Additional NOP in-
structions are inserted at prescribed lo-
cations.
The compiler will load FSR registers
without using the LFSR instruction.
The compiler is not affected by this is-
sue.
Affected
idloc.c and devread.c employ additional
NOP instructions at prescribed locations.
PICC-18 Command-line Driver
library
sources
config.c,

Related parts for SW500007