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

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
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
Figure 15.55 - PuTTY Setup for serial communications with Chameleon PIC, 115200 baud, N81, continued.
To launch the terminal program, you would press <Open> which opens a new terminal window. This is where you would
type on the PC keyboard to communicate with the Chameleon PIC and run the demos or do serial terminal experiments.
15.2.3.1 Running the Bootloader Tool
We are all ready to go, let’s do a final checklist before we attempt to use the serial bootloader the tool in TextPad:
1. You have the USB cable plugged into the PC and you have installed the FTDI serial drivers if needed.
2. You have a 9V DC power supply plugged into the Chameleon (optional).
3. You have moved the serial select switch into the DOWN position, so the USB serial port is connected to the PIC chip
(not the Propeller).
4. You have the VGA and NTSC cables connected to the Chameleon as well as a mouse (optional).
5. You have configured TextPad properly using the correct COM port found in section 15.2.3.
Finally, we are ready to try an example “Hello World” project. Navigate to the location where you copied the bootloader
files onto you harddrive and open up the following file in TextPad:
CHAM_PIC_HELLO_WORLD_01.C
Go ahead and look over the file. Notice that it is quite small and should be relatively easy to understand. For those of you
who followed the steps in the MPLAB toolchain you will notice that this is the exact same file and simply prints the Text
“Hello World! “ to both the NTSC and VGA monitors. With this file select in TextPad either choose the menu item
<ToolsExternal ToolsCompileDownload.bat> or press the keyboard shortcut Ctrl+1. Doing so will compile all the
driver files and the hello world file, link them together and convert them into a hex file. Once the hex file is ready it will use
the FlashProg.exe to reset the Chameleon and initial the serial flash download. If everything is configured correctly your
output should look similar to the following:
C:\ALL_DEV_STUFF\RealChameleon\PIC\Code\PIC\BootLoaderBin\HelloWorld>pic30-gcc.exe -mcpu=24HJ128GP502 -x c -c
"CHAM_PIC_I2C_SPI_DRV_V010.c" -o"CHAM_PIC_I2C_SPI_DRV_V010.o" -D__DEBUG -g -Wall
Microchip MPLAB C30 License Manager Version v3.12 (Build Date Jan 30 2009).
Copyright (c) 2008 Microchip Technology Inc. All rights reserved.
The MPLAB C30 license has expired.
pic30-coff-cc1.exe: warning: Options have been disabled due to expired license
Visit http://www.microchip.com/ to purchase a new key.
C:\ALL_DEV_STUFF\RealChameleon\PIC\Code\PIC\BootLoaderBin\HelloWorld>pic30-gcc.exe -mcpu=24HJ128GP502 -x c -c
"CHAM_PIC_SYSTEM_V010.c" -o"CHAM_PIC_SYSTEM_V010.o" -D__DEBUG -g -Wall
117

Related parts for Chameleon-PIC