Chameleon-AVR Nurve Networks, Chameleon-AVR Datasheet - Page 262

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

Chameleon-AVR

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

Specifications of Chameleon-AVR

Processor To Be Evaluated
AVR 328P
Data Bus Width
8 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
Appendix F – Porting HYDRA and Parallax Development Board
Applications to the Chameleon
There really isn’t much to say here other that porting from the HYDRA or Propeller Development board is usually a few
lines of code that needs to be changed. The things to watch out for are:
Other than those 3 areas, I find that it takes a few mins to port anything from the HYDRA or a Propeller Development
board to the Chameleon and use it in Stand-Alone mode, so pretty cool!
Appendix G - Running on the Mac and Linux.
AVRStudio is currently only available for the Windows operating system. Although, many people love their Macs and
Linux, 90% of engineering development is still on Windows machines and will likely stay there for a time to come.
However, that said there are 3
Green Hills, and others have complete tool chains that run on Mac and Linux.
That said, the funny thing is that the AVR compiler used by AVRStudio is a Linux based GNU GCC compiler! But, Atmel
hasn’t had a reason to port it to Mac and Linux. However, you can develop 100% on a Mac or Linux machine and then
use programs like AVRDude to download to the AVR using ISP.
But, the Arduino tool does all this for you, thus for Mac and Linux enthusiasts I suggest simply using the Chameleon in
Arduino mode, installing the Mac/Linux version of the tool on your PC and then copying the Chameleon Libraries and
Sketches just as you did (would have) for the Windows version. On the DVD in this location:
Are all the files you need to get started; there is a directory for the Library files that you need to add to the Mac\Linux
installation of the Arduino tool as well as the Sketches for all the demos. Additionally, I have downloaded the Linux and
Mac versions of the Arduino tool and put them in the respective directories \Mac and \Linux to save you downloading
time.
The cool thing about using the Arduino tool is that the exact same Chameleon software for Arduino mode works on all
three operating systems without change. You simple install the Arduino tool, make sure you have the bootloader on the
AVR chip, and then use the tool, from your perspective the experience on Windows, Linux, and Mac should be identical.
Make sure that you are using the same clocking and XTAL – If the HYDRA/Dev Board application you are
trying to port uses a 10MHz XTAL and the 8x mode, then make sure you change it to 5MHz and 16X mode in the
source code.
I/O port assignments – The Chameleon’s Propeller interfaces are almost the same as the HYDRA and Propeller
Development boards, but there are differences for example in what pin bank is used for the NTSC video or what
pin for audio, etc. so when porting something, make sure you look at the pinouts of the source, and change them
to match the Chameleon’s.
Peripheral devices – The Chameleon does not have a NES game port for example, so any game or program on
the HYDRA that you want to port, you will need to delete that peripheral code, or swap it for something else. Of
course, you can always hack a connector to the Propeller Local port and connect the controller there and switch
the pins in the source code. Also, the Chameleon’s uses a 2 line version of the keyboard and mouse drivers, the
HYDRA and other Propeller development boards might use a 4 signal version, so watch out for that. And lastly,
the Chameleon has a single sound PWM sound pin that routes to the RCA header, some Propeller dev boards
use stereo sound, so in those cases you will want to route one of those pins to the Chameleon pin and leave the
other dead or maybe out to the local 8-bit port.
DVD-ROM :\ CHAM_AVR \ TOOLS \ ARDUINO \
rd
party tools that run on Mac and Linux for the AVR processor. Companies such as IAR,
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon AVR 8-Bit”
262

Related parts for Chameleon-AVR