Chameleon-PIC Nurve Networks, Chameleon-PIC Datasheet - Page 119

MCU, MPU & DSP Development Tools PIC24 & PROPELLER DEV SYSTEM (SBC)

Chameleon-PIC

Manufacturer Part Number
Chameleon-PIC
Description
MCU, MPU & DSP Development Tools PIC24 & PROPELLER DEV SYSTEM (SBC)
Manufacturer
Nurve Networks
Datasheet

Specifications of Chameleon-PIC

Processor To Be Evaluated
PIC24
Data Bus Width
16 bit
Interface Type
USB, VGA, PS/2, I2C, ISP, SPI
Operating Supply Voltage
3.3 V, 5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
.nbss
.ndata
.data
.dconst
.data
.dconst
.data
.dconst
.data
Dynamic Memory Usage
region
------
heap
stack
C:\ALL_DEV_STUFF\RealChameleon\PIC\Code\PIC\BootLoaderBin\HelloWorld>pic30-bin2hex.exe program.cof
C:\ALL_DEV_STUFF\RealChameleon\PIC\Code\PIC\BootLoaderBin\HelloWorld>FlashProg.exe -i COM20 program.hex
Reading Target Device ID...
Reading HexFile.
Reading Target
Programming Device ....................................... Done.
Tool completed successfully
The key thing to look for is the Programming Device status and the Tool completed successfully. The output also contains
some statistics about the memory usage. Notice that for the program (FLASH) memory we are using 20253 bytes or
about 15% of the total memory. The data memory usage (SRAM) we are using only 542 bytes or about 6% of the
available 8K memory.
15.2.3.3 A Couple Notes About using the Bootloader
You might be wondering what are the differences between using MPLAB vs. using the serial bootloader for development.
Here are a couple of the differences listed below.
1. MPLAB will require the use of a real device program. This could be as simple as the PICkit 2 (less than $50) or the
ICD3 or even an expensive MPLAB PM3 Universal Device Programmer ($895). Using the serial bootloader simply
requires a USB cable and that your PIC has a bootloader flashed into the first sector of memory.
2. MPLAB provides a software simulator and debugging capabilities (single step, breakpoints, variable watches) while
TextPad provides nothing. Typically when debugging with TextPad you will blink lights or send data to a monitor for
memory inspection.
3. Loading the flash memory contents typically seem to run faster when using TextPad and when using the tip mentioned
previously on conditionally compiling only files that have changes can have a really positive effect on code updating times.
So the question is which mode to use – MPLAB or Bootloader? Well, depends on what you are doing and what you have.
If you do not own a PICkit 2 programmer then the decision is made for you – you probably have to use the bootloader
mode. But, if you do have the programmer or something else supported by MPLAB then you probably should work in the
more robust MPALB since it allows debugging, simulation, etc.
But, it’s up to you – just have fun!
Total data memory used (bytes):
Maximum dynamic memory (bytes):
address
-------
0x958
0x95e
0x962
0x9aa
0x9dc
0xa10
0xa18
0xa1a
0xa1c
0xa1e
Found PIC24HJ128GP502 (ID: 0x067d)
0
0
0
0
0
0
0
0
0
0
maximum length
---------------------
0x1de2
0x1de2
0x21e
0x48
0x32
0x34
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
0x6
0x4
0x8
0x2
0x2
0x2
0
(6)
(4)
(72)
(50)
(52)
(8)
(2)
(2)
(2)
(542) 6%
(dec)
(0)
(7650)
(7650)
119

Related parts for Chameleon-PIC