Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

PIC24F08KA102 Datasheet(PDF) 6 Page - Microchip Technology

Part # PIC24F08KA102
Description  Flash Programming Specifications
Download  48 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC24F08KA102 Datasheet(HTML) 6 Page - Microchip Technology

Back Button PIC24F08KA102 Datasheet HTML 2Page - Microchip Technology PIC24F08KA102 Datasheet HTML 3Page - Microchip Technology PIC24F08KA102 Datasheet HTML 4Page - Microchip Technology PIC24F08KA102 Datasheet HTML 5Page - Microchip Technology PIC24F08KA102 Datasheet HTML 6Page - Microchip Technology PIC24F08KA102 Datasheet HTML 7Page - Microchip Technology PIC24F08KA102 Datasheet HTML 8Page - Microchip Technology PIC24F08KA102 Datasheet HTML 9Page - Microchip Technology PIC24F08KA102 Datasheet HTML 10Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 48 page
background image
PIC24FXXKAXXX
DS39919A-page 6
Advance Information
© 2008 Microchip Technology Inc.
3.2.1
SIX SERIAL INSTRUCTION
EXECUTION
The
SIX
control
code
allows
execution
of
PIC24FXXKAXXX family assembly instructions. When
the SIX code is received, the CPU is suspended for
24 clock cycles as the instruction is then clocked into the
internal buffer. Once the instruction is shifted in, the state
machine allows it to be executed over the next four PGC
clock cycles. While the received instruction is executed,
the state machine simultaneously shifts in the next 4-bit
command (see Figure 3-2).
Coming out of Reset, the first 4-bit control code is
always forced to SIX, and a forced NOP instruction is
executed by the CPU. Five additional PGCx clocks are
needed on start-up; thereby resulting in a 9-bit SIX
command, instead of the normal 4-bit SIX command.
After the forced SIX is clocked in, the ICSP operation
resumes to normal. That is, the next 24 clock cycles
load the first instruction word to the CPU.
3.2.1.1
Differences Between SIX Instruction
Execution and Normal Instruction
Execution
There are some differences between executing
instructions using the SIX ICSP command and normal
device instruction execution. As a result, the code
examples in this specification might not match those
required to perform the same operations during normal
device operation.
The differences are:
• Two-word instructions require 2 SIX operations to
clock in all the necessary data.
Examples of two-word instructions are GOTO and
CALL
.
• Two-cycle instructions require 2 SIX operations to
complete. The first SIX operation shifts in the
instruction and begins to execute it. A second SIX
operation, which should shift in a NOP to avoid
losing data, allows the CPU clocks required to
finish executing the instruction.
Examples of two-cycle instructions are table read
and table write instructions.
• The CPU does not automatically stall to account
for pipeline changes. A CPU stall occurs when an
instruction modifies a register, which is used by
the instruction immediately following the CPU stall
for Indirect Addressing. During normal operation,
the CPU forces a NOP while the new data is read.
To account for this, while using ICSP, any indirect
references to a recently modified register should
be proceeded with a NOP.
For example, MOV
#0x0,W0
followed by MOV
[W0]
,W1 must have a NOP inserted in between.
If a two-cycle instruction modifies a register, which
is used indirectly, it requires two following NOPs;
one to execute the second half of the instruction
and the other to stall the CPU to correct the
pipeline.
For example, TBLWTL [W0++],[W1] should be
followed by 2 NOPs.
• The device Program Counter (PC) continues to
automatically increment during the ICSP
instruction execution, even though the Flash
memory is not being used. As a result, it is
possible for the PC to be incremented so that it
points to invalid memory locations.
Examples
of
invalid
memory
spaces
are
unimplemented Flash addresses or the vector
space (location 0x0 to 0x1FF).
If the PC ever points to these locations, it causes
the device to reset, possibly interrupting the ICSP
operation. To prevent this, instructions should be
periodically executed to reset the PC to a safe
space. The optimal method of achieving this is to
perform a “GOTO 0x200”.
3.2.2
REGOUT SERIAL INSTRUCTION
EXECUTION
The REGOUT control code allows for the data to be
extracted from the device in the ICSP mode. It is used
to clock the contents of the VISI register out of the
device over the PGDx pin. After the REGOUT control
code is received, the CPU is held Idle for 8 cycles. After
this, an additional 16 cycles are required to clock the
data out (see Figure 3-3).
The REGOUT code is unique as the PGDx pin is an
input when the control code is transmitted to the
device. However, after the control code is processed,
the PGDx pin becomes an output as the VISI register is
shifted out.
Note:
To account for this forced NOP, all example
codes in this specification begin with a
NOP
to ensure that no data is lost.
Note 1: After the contents of VISI are shifted out,
the PIC24FXXKAXXX devices maintain
PGDx as an output until the first rising
edge of the next clock is received.
2: Data changes on the falling edge and
latches on the rising edge of PGCx. For
all
data
transmissions,
the
Least
Significant bit (LSb) is transmitted first.


Similar Part No. - PIC24F08KA102

ManufacturerPart #DatasheetDescription
logo
Microchip Technology
PIC24F08KA102 MICROCHIP-PIC24F08KA102 Datasheet
782Kb / 78P
   Debug Header Specification
2006-2012
PIC24F08KA102-I MICROCHIP-PIC24F08KA102-I Datasheet
2Mb / 278P
   20/28-Pin General Purpose, 16-Bit Flash Microcontrollers with nanoWatt XLP Technology
08/02/11
More results

Similar Description - PIC24F08KA102

ManufacturerPart #DatasheetDescription
logo
Microchip Technology
PIC24F04KA200 MICROCHIP-PIC24F04KA200 Datasheet
207Kb / 26P
   Flash Programming Specifications
2010
logo
STMicroelectronics
PM0018 STMICROELECTRONICS-PM0018 Datasheet
158Kb / 10P
   ST7 Flash programming
AN1496 STMICROELECTRONICS-AN1496 Datasheet
240Kb / 17P
   Flash Programming / Reprogramming
logo
Microchip Technology
DSPIC33F MICROCHIP-DSPIC33F Datasheet
988Kb / 80P
   Flash Programming Specification
2007
logo
STMicroelectronics
AN4035 STMICROELECTRONICS-AN4035 Datasheet
582Kb / 42P
   Flash programming through
logo
Microchip Technology
PIC18LF2XK22 MICROCHIP-PIC18LF2XK22 Datasheet
545Kb / 42P
   Flash Memory Programming Specification
01/05/10 2010
PIC24FJ16GA004-EPT MICROCHIP-PIC24FJ16GA004-EPT Datasheet
681Kb / 52P
   PIC24FJXXXGA0XX Flash Programming Specification
01/02/08
logo
Renesas Technology Corp
RX100 RENESAS-RX100 Datasheet
1Mb / 71P
   Flash memory programming software
logo
Microchip Technology
PIC32MX795F512L-80IPT MICROCHIP-PIC32MX795F512L-80IPT Datasheet
1Mb / 68P
   PIC32 Flash Programming Specification
2007-2013
PIC18FXXK80 MICROCHIP-PIC18FXXK80 Datasheet
376Kb / 52P
   Flash Microcontroller Programming Specification
08/04/10 2011
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com