These cables/adapters are STK200/300 or Kanda compatible cables. They are not supported by AVR Studio, you will need something like PonyProg or UISP.
Option 1 Simple!(from http://www.linuxfocus.org/English/March2002/article231.shtml)The wiring for the programmer cable must be as follows:
The cable should not be longer than 70cm. The resistors on the connector for the programmer are actually not needed in our case. You need them only if you plan to use the port-B input/output lines for other purposes. Here is another diagram of a similar cable Option 2AVR In-System Programming (ISP)(from http://www.mysunrise.ch/users/pfleury/avr-starterkit.html)The AVR device can be programmed directly in the target circuit. This is called In-System Programming (ISP). A adapter cable connects the PC parallel port with the ISP pins of the AVR chip. A special Programmer Software is used to download the program into the AVR flash memory. There is no standard for such a cable, but the cable shown in the circuit below is compatible with the Atmel AVRISP Programmer, Pony Programmer and UISP. All are available for download, see Development Tools for AVR. The 74HC125 tristate-buffers are used here to buffer the signals received from /send to the PC and to disconnect the AVR from the PC after programming. A standard cable with DB25 connectors is used between PC and the ISP-adapter. Another cable, which should not be longer than 30 cm, connects the ISP-adapter with the target circuit. I placed the 74HC125 and the two passive components inside a standard DB25 connector shell. Circuit of AVR Starter Kit with LED's and switches The following circuits are based on the AVR chip AT90S8515, but can be easily adapted to other AVR devices. Since the AVR has built-in SRAM, EEPROM and Flash memory, the minimum external components are a crystal, two capacitors and a reset-circuit. This first example circuit explains how LED's and switches can be connected to an AVR. Parts List
The eight active-low LED's are connected to port B and up to eight active-low input switches to port D as on STK200. The ISP connector is used to connect the ISP adapter. The reset-button can be used to manually reset the AVR. The voltage detector resets the AVR when the power supply voltage is to low, see below for a detailed description of these Brown-Out Detectors. A fixed-voltage regulator (78L05) is used to generate the 5V supply voltage; therefore a standard 9V DC power-adapter can be used as power supply. For easy testing of my AVR starter kit, I have created a test program which repeatedly turns on/off all LED's and reads the switches. This program is already pre-compiled/linked for direct downloading with the programmer software. (test_starterkit.zip) Brown-Out Protection When the power supply voltage is insufficient, the AVR CPU may start to execute some instructions incorrectly. To avoid these problems, the CPU should be prevented from executing code during periods of insufficient supply voltage. This is best ensured by the use of an external Power Supply Low Voltage Detector, also known as Brown-Out Detector. Below a fixed threshold voltage, the detector forces the RESET pin low (active) and therefore stops the CPU. These voltage detectors are available as integrated circuits from various semiconductor suppliers. I selected here a cheap 3-pin fixed voltage detector, TL7757 from Texas Instruments. Seiko Instruments also offers a range of cheap voltage detectors with very low current consumption (S80845ANY). Any other voltage detector with an active-low open-collector output can be used. The open-collector or open-drain output is required by the ISP-circuit. |
Cables STK200
by Unknown , at 04.18 , has 0
komentar
About
Cables STK200 - written by Unknown , published at 04.18 . And has 0
komentar
0
komentar Add a comment
Bck