RadioLocman.com Electronics ru
Advanced Search +
  

10-18-2010

Atmel AVR Infrared Downloader. Part 2. Target-Side

In the first part we have considered a circuit design and software of Host-part.

The target-side consist of device minimum system based on ATmega162 and infrared hardware unit. Device minimum system consist of ATmega162, external SRAM 8 kbyte and ISP interface. Device firmware was compiled using CodevisionAVR.

Atmel AVR Infrared Downloader: Target Device

Target-Side Features are:

  • Atmel AVR uC memory operations: read, write and erase.
  • Memory supported: flash, eeprom and fusebits (extended also).
  • SCK Frequency max. 1,3824 MHz or min. 172,8 kHz. Manually configured.
  • Error detection during transmission through infrared implements CRC16.
  • Data packet size 128 byte length, can be increased in future development.
  • Can handle data transmission at about 15 meters max.
  • Developed for all Atmel AVR series but still partially tested (different SCK frequency of specific AVR series aren’t examined).
  • Maximum target memory operation can handle is 8192 byte (8 kbyte). It depend on the external SRAM size now but it can be changed in firmware algorithm.

Target Device Schematic Diagram

 Atmel AVR Infrared Downloader: Target device Shematic
Click to enlarge

 Demo-Video

Downloads

Target-side: schematic diagrams, software for microcontroller: 20081217_target_side.zip.zip

Shematic Diagrams: IR transmitter circuit, IR receiver circuit 20080726.ir.circuit.zip

External SRAM 8 kbytes, datasheet

74HC373N, datasheet

avrirdownloader.wordpress.com

Slices ↓
Radiolocman facebook Radiolocman twitter Radiolocman google plus