Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC24FJ128GL302 Datasheet(PDF) 74 Page - Microchip Technology

Part # PIC24FJ128GL302
Description  16-Bit eXtreme Low-Power Microcontrollers with LCD Controller in Low Pin Count Packages
PDF  424 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC24FJ128GL302 Datasheet(HTML) 74 Page - Microchip Technology

Back Button PIC24FJ128GL302 Datasheet HTML 70Page - Microchip Technology PIC24FJ128GL302 Datasheet HTML 71Page - Microchip Technology PIC24FJ128GL302 Datasheet HTML 72Page - Microchip Technology PIC24FJ128GL302 Datasheet HTML 73Page - Microchip Technology PIC24FJ128GL302 Datasheet HTML 74Page - Microchip Technology PIC24FJ128GL302 Datasheet HTML 75Page - Microchip Technology PIC24FJ128GL302 Datasheet HTML 76Page - Microchip Technology PIC24FJ128GL302 Datasheet HTML 77Page - Microchip Technology PIC24FJ128GL302 Datasheet HTML 78Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 74 / 424 page
background image
PIC24FJ128GL306 FAMILY
DS30010198B-page 74
 2019-2020 Microchip Technology Inc.
6.5
Flash OTP by ICSP™ Write Inhibit
ICSP Write Inhibit is an access restriction feature, that
when activated, restricts all of Flash memory. Once acti-
vated, ICSP Write Inhibit permanently prevents ICSP
Flash programming and erase operations, and cannot
be deactivated. This feature is intended to prevent alter-
ation of Flash memory contents, with behavior similar to
One-Time-Programmable (OTP) devices.
RTSP, including erase and programming operations, is
not restricted when ICSP Write Inhibit is activated;
however, code to perform these actions must be pro-
grammed into the device before ICSP Write Inhibit is
activated. This allows for a bootloader-type application
to alter Flash contents with ICSP Write Inhibit activated.
Entry into ICSP and Enhanced ICSP modes is not
affected by ICSP Write Inhibit. In these modes, it will con-
tinue to be possible to read configuration memory space
and any user memory space regions which are not code
protected. With ICSP writes inhibited, an attempt to set
WR (NVMCON[15]) = 1 will maintain WR = 0, and
instead, set WRERR (NVMCON[13]) = 1. All Enhanced
ICSP erase and programming commands will have no
effect with self-checked programming commands return-
ing a FAIL response opcode (PASS if the destination
already exactly matched the requested programming
data).
Once ICSP Write Inhibit is activated, it is not possible for
a device executing in Debug mode to erase/write Flash,
nor can a debug tool switch the device to Production
mode. ICSP Write Inhibit should therefore, only be
activated on devices programmed for production.
6.5.1
ACTIVATING FLASH OTP BY ICSP
WRITE INHIBIT
ICSP Write Inhibit is activated by executing a pair of
NVMCON double-word programming commands to
save two 16-bit activation values in the configuration
memory space. The target NVM addresses and values
required for activation are shown in Table 6-4. Once
both addresses contain their activation values, ICSP
Write Inhibit will take permanent effect on the next
device Reset.
Only the lower 16 data bits stored at the activation
addresses are evaluated; the upper eight bits and
second 24-bit word, written by the double-word pro-
gramming (NVMOP[3:0]), should be written as ‘0’s. The
addresses can be programmed in any order and also
during separate ICSP/Enhanced ICSP/RTSP sessions,
but any attempt to program an incorrect 16-bit value or
use a row programming operation to program the values
will be aborted without altering the existing data.
TABLE 6-4:
ICSP™ WRITE INHIBIT
ACTIVATION ADDRESSES
AND DATA
6.6
JTAG Operation
The PIC24F family supports JTAG boundary scan.
Boundary scan can improve the manufacturing
process by verifying pin to PCB connectivity.
6.7
Enhanced In-Circuit Serial
Programming
Enhanced In-Circuit Serial Programming uses an on-
board bootloader, known as the Program Executive (PE),
to manage the programming process. Using an SPI data
frame format, the Program Executive can erase, program
and verify program memory. For more information on
Enhanced ICSP, refer to the “PIC24FJ128GL306 Family
Flash Programming Specification” (www.microchip.com/
DS30010189).
Note:
It is not possible to deactivate ICSP Write
Inhibit.
Configuration
Memory Address
ICSP Write
Inhibit
Activation Value
Write Lock 1
0x801024
0x006D63
Write Lock 2
0x801028
0x006870



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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   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