PIC24FJ512GA606PIC24FJ512GA610 PIC24FJ512GB606 PIC24FJ512GB610 PIC24FJ64GA002 PIC24FJ64GA004 PIC24FJ64GA006 PIC24FJ64GA008 PIC24FJ64GA010 PIC24FJ64GA102 PIC24FJ64GA104 PIC24FJ64GA106 PIC24FJ64GA108 PIC24FJ64GA110 PIC24FJ64GA202 PIC24FJ64GA204 PIC24FJ64GA306 PIC24FJ64GA308 PIC24FJ64GA310 PIC24FJ64GA406 PIC24FJ64GA410 PIC24FJ64GA412 PIC24FJ64GA702 PIC24FJ64GA704 PIC24FJ64GA705 PIC24FJ64GB002 PIC24FJ64GB004 PIC24FJ64GB106 PIC24FJ64GB108 PIC24FJ64GB110 PIC24FJ64GB202 PIC24FJ64GB204 PIC24FJ64GB406 PIC24FJ64GB410 PIC24FJ64GB412 PIC24FJ64GC006 PIC24FJ64GC010 PIC24FJ96GA006 PIC24FJ96GA008 PIC24FJ96GA010
PIC24FJ512GA606 has more than one pair of PGECx and PGEDx pins. You can use any pair, but you must use them as a pair. For example, if PGEC2 is used for ICSPCLK, then ICSPDAT must be connected to PGED2.
All VSS and VDD pins must be connected. Even if one of these pins is not connected, programming may fail.
Dual partition architecture
PIC24FJ512GA606 may be used as a regular unpartitioned chip, or it may be divided into two partitions, each of which can be used to boot the device. In the unpartitioned mode, the program memory is used as a single block (0x000000-0x056000). However, in the dual-partition mode, it is divided into two equal parts - active partition (0x000000-0x02b000) and inactive partition (0x400000-0x42b000). Active and inactive partitions may be swapped - see datasheet for details.
Before programming, NSDSP searches the HEX file for the FBOOT configuration register. If it is absent or indicates unpartitioned mode, NSDSP does not partition the chip. If it is found and indicates dual-partition mode, NSDSP partitions the chip and expects that the data to program individual partitions will be in range 0x000000-0x02b000 for the first partition or in range 0x400000-0x42b000 for the second partition. NSDSP will not accept program memory addresses outside these two ranges. After programming, depending on the configuration bits, the partitions may get swapped.
When NSDSP is used to read memory it first determines if the chip is partitioned or not. If the chip is not partitioned, NSDSP reads the memory as a single block. If the chip is partitioned, the first partition is always reported as active (0x000000-0x02b000) and the second partition is always reported as inactive (0x400000-0x42b000) regardless of which partition was actually active at the time of reading.
Such arrangement guarantees consistency - if you read a HEX file from the device, then re-program it onto other device, both devices will have identical programming.
NSDSP firmware contains all the necessary provisions for debugging PIC24FJ512GA606 and may be debugged when debugging software becomes available.
© 2007-2018 Northern Software Inc. All Rights Reserved.