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

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
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon AVR 8-Bit”
After Adding New Message Handlers
That’s it! Save the file as cham_default2_drv_112_modified.spin and we are done with this portion. In fact, you can
flash it down to the Propeller and every single program will still work the same. We have added messages and features,
but we have NOT made anything incompatible or re-used message ids for something else. This is very important to keep
in mind, so you do not damage a driver and make it incompatible with other software.
31.1.2 Adding AVR Support at the Client/Master Side
At this point, we have new messages added to the Propeller driver along with the message handler code. If you haven’t
done so, compile and download the new driver to the Propeller chip on the Chameleon, whatever application you have
running on the Chameleon should work exactly the same.
Now, what we need is to add support on the client/master side or write a program that sends the messages to the
Propeller. Rather than go into the SPI driver code header, I decided to just write a stand alone program that blinks the
LED. I started with the port blinking demo and then modified it to directly send the new messages. Here’s the entire
program (AVRStudio straight C version):
252

Related parts for Chameleon-AVR