STK User Guide
|
|
|
- Easter Wilkinson
- 10 years ago
- Views:
Transcription
1 STK User Guide
2
3 Table of Contents Section 1 Introduction Starter Kit Features Device Support Section 2 Getting Started Unpacking the System System Requirements Quick Start Connecting the Hardware Programming the Target AVR Device Section 3 Hardware Description Description of User LEDs Description of User Switches Connection of LEDs and Switches Port Connectors Description of User RS-232 Interface Description of DataFlash Pins Target Socket Section ISP Programming High-voltage Programming Jumper Settings Target V CC Settings, VTARGET Analog Reference Voltage, AREF Reset Settings, RESET Clock Settings, XTAL1 and OSCSEL BSEL2 Jumper PJUMP Jumpers Expansion Connectors Signal Descriptions Prog Ctrl and Prog Data Headers Miscellaneous RESET Push Button PROGRAM Push Button AVR STK500 User Guide i
4 Table of Contents Main Power LED Target Power LED Status LED Section 4 Installing AVR Studio Section 5 Using AVR Studio Windows Software Starting the Windows Software Starting STK STK500 User Interface Program Settings Fuses Settings LockBits Settings Advanced Settings Board Settings Auto Settings History Window Command Line Software Parameters Section 6 In-System Programming of an External Target System Section 7 Troubleshooting Guide Section 8 Technical Support Section 9 Example Applications Using LEDs and Switches Section 10 Appendix A ii AVR STK500 User Guide
5 Section 1 Introduction Congratulations on your purchase of the AVR STK500 Flash Microcontroller Starter Kit. The STK500 is a complete starter kit and development system for the AVR Flash Microcontroller from Atmel Corporation. It is designed to give designers a quick start to develop code on the AVR and for prototyping and testing of new designs. 1.1 Starter Kit Features n AVR Studio Compatible n RS-232 Interface to PC for Programming and Control n Regulated Power Supply for 10-15V DC Power n Sockets for 8-pin, 20-pin, 28-pin, and 40-pin AVR Devices n Parallel and Serial High-voltage Programming of AVR Devices n Serial In-System Programming (ISP) of AVR Devices n In-System Programmer for Programming AVR Devices in External Target System n Reprogramming of AVR Devices n 8 Push Buttons for General Use n 8 LEDs for General Use n All AVR I/O Ports Easily Accessible through Pin Header Connectors n Additional RS-232 Port for General Use n Expansion Connectors for Plug-in Modules and Prototyping Area n (NB! No longer valid: "On-board 2-Mbit DataFlash for Nonvolatile Data Storage") The STK500 is supported by AVR Studio, version 3.2 or higher. For up-to-date information on this and other AVR tool products, please read the document avrtools.pdf. The newest version of AVR Studio, avrtools.pdf and this user guide can be found in the AVR section of the Atmel web site, AVR STK500 User Guide 1-1 Rev.
6 Introduction Figure 1-1. STK Device Support The system software currently supports the following devices in all speed grades: n ATtiny11 n ATtiny12 n ATtiny15 n ATtiny22 n ATtiny28 n AT90S1200 n AT90S2313 n AT90S2323 n AT90S2333 n AT90S4433 n AT90S4434 n AT90S8515 n AT90S8535 n ATmega8 n ATmega16 n ATmega161 n ATmega163 n ATmega323 n AT90S2343 n ATmega103 (1) n AT90S4414 n ATmega128 (1) Note: 1. In external target or in STK501, devices do not fit into the sockets of STK500. Support for new AVR devices may be added in new versions of AVR Studio. The latest version of AVR Studio is always available from AVR STK500 User Guide
7 Section 2 Getting Started 2.1 Unpacking the System Kit contents: n STK500 starter kit evaluation board n Cables for STK500: (2 pcs) 10-wire cables for I/O ports and parallel mode programming (1 pc) 6-wire cable for In-System Programming (4 pcs) 2-wire cable for UART and DataFlash connections n 9-pin RS-232 cable n DC power cable n Atmel CD-ROM with datasheets and software n AT90S8515-8PC sample microcontroller 2.2 System Requirements The minimum hardware and software requirements are: n 486 processor (Pentium is recommended) n 16 MB RAM n 12 MB free hard disk space (AVR Studio) n Windows 95/98/2000/ME and Windows NT 4.0 or higher n baud RS-232 port (COM port) n 10-15V DC power supply, 500 ma min. AVR STK500 User Guide 2-1 Rev.
8 Getting Started 2.3 Quick Start The STK500 starter kit is shipped with an AT90S8515-8PC microcontroller in the socket marked SCKT3000D3. The default jumper settings will allow the microcontroller to execute from the clock source and voltage regulator on the STK500 board. The microcontroller is programmed with a test program that toggles the LEDs. The test program in the AT90S8515 is similar to the example application code described in Section 9. Connect the LEDs and switches and power up the STK500 to run the test program in the AT90S8515. Use the supplied 10-pin cables to connect the header marked PORTB with the header marked LEDS, and connect the header marked PORTD with the header marked SWITCHES. The connections are shown in Figure 2-1. An external 10-15V DC power supply is required. The input circuit is a full bridge rectifier, and the STK500 automatically handles both positive or negative center connectors. If a positive center connector is used, it can be impossible to turn the STK500 off since the power switch disconnects the terminal. In this case, can be supplied through the RS-232 cable shield if connected or through alternative connections. Connect the power cable between a power supply and the STK500. Apply 10-15V DC to the power connector. The power switch turns the STK500 main power on and off. The red LED is lit when power is on, and the status LEDs will go from red, via yellow, to green. The green LED indicates that the target V CC is present. The program now running in the AT90S8515 will respond to pressed switches by toggling the LEDs. Figure 2-1. Default Setup of STK500 The starter kit can be configured for various clock and power sources. A complete description of the jumper settings is explained in paragraph 3.8 on page 3-15 and on the reverse side of the starter kit. 2-2 AVR STK500 User Guide
9 Getting Started Connecting the Hardware Figure 2-2. Connection to STK V DC To Computer (RS-232) Programming the Target AVR Device To program the AT90S8515, connect the supplied 6-wire cable between the ISP6PIN header and the SPROG3 target ISP header as shown in Figure 2-1. Section on page 3-9 describes the programming cable connections. Connect a serial cable to the connector marked RS232 CTRL on the evaluation board to a COM port on the PC as shown in Figure 2-2. Install AVR Studio software on the PC. Instructions on how to install and use AVR Studio are given in Section 5 on page 5-1. When AVR Studio is started, the program will automatically detect to which COM port the STK500 is connected. The STK500 is controlled from AVR Studio, version 3.2 and higher. AVR Studio is an integrated development environment (IDE) for developing and debugging AVR applications. AVR Studio provides a project management tool, source file editor, simulator, incircuit emulator interface and programming interface for STK500. To program a hex file into the target AVR device, select STK500 from the Tools menu in AVR Studio. Select the AVR target device from the pull-down menu on the Program tab and locate the intel-hex file to download. Press the Erase button, followed by the Program button. The status LED will now turn yellow while the part is programmed, and when programming succeeds, the LED will turn green. If programming fails, the LED will turn red after programming. See the troubleshooting guide in Section 7 on page 7-1. AVR STK500 User Guide 2-3
10 Getting Started Figure 2-3. AVR Studio STK500 Programming Menu Complete descriptions of using the STK500 interface in AVR Studio are given in Section 5 on page AVR STK500 User Guide
11 Section 3 Hardware Description Figure 3-1. STK500 Components Switches Header for Switches Headers for I/O Ports Sockets for Target AVR Header for Expansion Boards Options Setting Jumpers Target Reset Push Button Power Switch Power Connector Power LED RS-232 Interface Header Parallel Programming Headers RS-232 Port for Programming Master MCU DataFlash Interface Header Status LED RS-232 Port for Communication Header for LEDs Socket for Crystal Program Button LEDs Header for Expansion Boards Target ISP Headers 6-pin ISP Header 10-pin ISP Header (for External Target Only) 3.1 Description of User LEDs The STK500 starter kit includes 8 yellow LEDs and 8 push-button switches. The LEDs and switches are connected to debug headers that are separated from the rest of the board. They can be connected to the AVR devices with the supplied 10-wire cable to the pin header of the AVR I/O ports. Figure 3-4 shows how the LEDs and switches can be connected to the I/O port headers. The cables should be connected directly from the port header to the LED or switch header. The cable should not be twisted. A red wire on the cable indicates pin 1. Confirm that this is connected to pin 1 on each of the headers. Figure 3-2 shows how the LED control is implemented. This solution will give the same amount of light from the LED for all target voltages from 1.8V to 6.0V. AVR STK500 User Guide 3-1 Rev.
12 Hardware Description Figure 3-2. Implementation of LEDs and LED Headers +5V VTG 10K 150R LED0 LED2 LED4 LED6 1 2 LED1 LED3 LED5 LED7 VTG LEDn Note: The AVR can source or sink enough current to drive a LED directly. In the STK500 design, a transistor with two resistors is used to give the same amount of light from the LED, whatever the target voltage (VTG) may be and to turn off the LEDs when VTG is missing. 3.2 Description of User Switches The switches connected to the debug headers are implemented as shown in Figure 3-3. Pushing a switch causes the corresponding SWx to be pulled low, while releasing it will result in VTG on the appropriate switch header connector. Valid target voltage range is 1.8V < VTG < 6.0V. Figure 3-3. Implementation of Switches and Switch Headers VTG SW n 150R 10K SW0 SW2 SW4 SW6 1 2 SW1 SW3 SW5 SW7 VTG SW n Note: In the AVR, the user can enable internal pull-ups on the input pins, removing the need for an external pull-up on the push-button. In the STK500 design, we have added an external 10K pull-up to give all users a logical 1 on SWn when the push-button is not pressed. The 150R resistor limits the current going into the AVR. 3-2 AVR STK500 User Guide
13 Hardware Description 3.3 Connection of LEDs and Switches Figure 3-4. Connection of LEDs and Switches to I/O Port Headers Any I/O port of the AVR can be connected to the LEDs and switches using the 10-wire cables. The headers are supplied with VTG (target V CC ) and lines in addition to the signal lines. 3.4 Port Connectors The pinout for the I/O port headers is explained in Figure 3-5. The square marking indicates pin 1. Figure 3-5. General Pinout of I/O Port Headers Px0 Px2 Px4 Px6 1 2 PORTx Px1 Px3 Px5 Px7 VTG The PORTE/AUX header has some special signals and functions in addition to the PORTE pins. The pinout of this header is shown in Figure 3-6. AVR STK500 User Guide 3-3
14 Hardware Description Figure 3-6. Pinout of PORTE Header PE0 PE2 REF XT1 The special functions of this port are: n PE0 - PE2: Table 3-1. PORTE Connection ATmega161 AT90S4414/AT90S8515 PE0 PE0/ICP/INT2 ICP n REF: Analog reference voltage. This pin is connected to the AREF pin on devices having a separate analog reference pin. n XT1: XTAL 1 pin. The internal main clock signal to all sockets. If the XTAL1 jumper is disconnected, this pin can be used as external clock signal. n XT2: XTAL 2 pin. If the XTAL1 jumper is disconnected, this pin can be used for external crystal with the XT1 pin. The headers for the LEDs and switches use the same pinout as the I/O port headers. The pinout of the switch header is explained in Figure 3-7 and the pinout for the LED header is explained in Figure 3-8. The square marking indicates pin 1. Figure 3-7. Pinout of the Switch Header 1 2 PORTE/AUX PE1 RST XT2 VTG PE1 PE1/ALE ALE PE2 PE2/OC1B OC1B SW0 SW2 SW4 SW6 1 2 SWITCHES SW1 SW3 SW5 SW7 VTG Figure 3-8. Pinout of the LED Header LED0 LED2 LED4 LED6 1 2 LEDS LED1 LED3 LED5 LED7 VTG 3-4 AVR STK500 User Guide
15 Hardware Description 3.5 Description of User RS-232 Interface The STK500 includes two RS-232 ports. One RS-232 port is used for communicating with AVR Studio. The other RS-232 can be used for communicating between the target AVR microcontroller in the socket and a PC serial port connected to the RS-232. To use the RS-232, the UART pins of the AVR need to be physically connected to the RS-232. The 2-pin header marked RS232 SPARE can be used for connecting the RS-232 converter to the UART pins on the target AVR microcontroller in the socket. Use the 2-wire cable to connect the UART pins to the RS-232. The connection is shown in Figure 3-9. The block schematic of the RS-232 connection is shown in Figure Figure 3-9. Connection of I/O Pins to UART Figure Schematic of UART Pin Connections TXD VTG 5V 5V 470R 1n2 2 3 RXD Voltage Converter MAX202CSE 470R 1n2 RS-232 AVR STK500 User Guide 3-5
16 Hardware Description 3.6 Description of DataFlash Pins NB! Not valid: AT45D021 2-Mbit DataFlash is included on the STK500 for data storage. A DataFlash is a high-density Flash memory with SPI serial interface. A detailed datasheet of the DataFlash can be obtained from the Flash memory section of the Atmel CD-ROM or from the Atmel web site. The DataFlash can be connected to the I/O pins of the microcontroller sockets. The 4-pin header marked DATAFLASH can be used for connecting the SPI interface of the DataFlash to the I/O pins on the target AVR microcontroller in the socket. 2-wire cables are included with STK500 for connecting the DataFlash to the I/O pins. The supplied 10-wire cables can also be used if the DataFlash is connected to the hardware SPI interface on PORTB of the AVR microcontroller. The connection of the I/O pins is shown in Figure The block schematic of the DataFlash connection is shown in Figure 3-14, for connection of the DataFlash to the AVR hardware SPI interface. The SPI interface pinout is shown in Figure 3-11 and Figure Figure PORTB SPI Pinout (40-pin Parts) PB0 PB2 (SS)PB4 (MISO)PB6 1 2 PB1 PB3 PB5(MOSI) PB7(SCK) VTG Figure PORTB SPI Pinout (28-pin Analog Parts) PB0 (SS)PB2 (MISO)PB4 PB6 1 2 PB1 PB3(MOSI) PB5(SCK) PB7 VTG 3-6 AVR STK500 User Guide
17 Hardware Description Figure Connection of I/O Pins to DataFlash for AT90S8515 Figure Schematic of DataFlash Connections VTG 5V 5V S0 SCK CS SI Voltage Converter S0 CS SI SCK AT45D021 DataFlash AVR STK500 User Guide 3-7
18 Hardware Description 3.7 Target Socket Section The programming module consists of the eight sockets in the white area in the middle of the starter kit. In these sockets, the target AVR devices can be inserted for programming and are used in the application. Note: Only one AVR device should be inserted in the sockets at a time. The AVR Flash memory is guaranteed to be correct after 1,000 programming operations; the typical lifetime of the Flash memory is much longer. Note: When inserting a device in the socket, notice the orientation of the device. The notch on the short side of the part must match the notch on the socket. If the device is inserted the wrong way, it may damage the part and the starter kit. The socket section is used for both running applications and target device programming. Figure The STK500 Programming Module The part inserted in the socket can be programmed in the system from AVR Studio with two different methods: 1. AVR In-System Programming (ISP) running at the parts normal supply voltage. 2. High-voltage Programming, where the supply voltage is always 5 volts. Four general nets (VTARGET, RESET, XTAL1 and AREF) can be connected to the socket section. The following sections describe how to use both programming methods. For instructions on using the AVR Studio programming software, see Section 5, Using AVR Studio on page AVR STK500 User Guide
19 Hardware Description ISP Programming In-System Programming uses the AVR internal SPI (Serial Peripheral Interface) to download code into the Flash and EEPROM memory of the AVR. ISP programming requires only V CC,, RESET and three signal lines for programming. All AVR devices except AT90C8534, ATtiny11 and ATtiny28 can be ISP programmed. The AVR can be programmed at the normal operating voltage, normally V. No high-voltage signals are required. The ISP programmer can program both the internal Flash and EEPROM. It also programs fuse bits for selecting clock options, start-up time and internal Brown-out Detector (BOD) for most devices. High-voltage programming can also program devices that are not supported by ISP programming. Some devices require High-voltage Programming for programming certain fuse bits. See the High-voltage Programming section on page 3-11 for instructions on how to use High-voltage Programming. Because the programming interface is placed on different pins from part to part, three programming headers are used to route the programming signals to the correct pins. A 6-wire cable is supplied for connecting the ISP signals to the target ISP header. A color coding system and a number system are used to explain which target ISP header is used for each socket. During ISP programming, the 6-wire cable must always be connected to the header marked ISP6PIN. When programming parts in the blue sockets, connect the other end of the cable to the blue SPROG1 target ISP header. When programming parts in the green socket, use the green SPROG2 target ISP header. And when programming parts in the red sockets, use the red SPROG3 target ISP header.table 3-2 shows which socket suits which AVR device, and which SPROG target ISP header to use for ISP programming. The 6-wire cables should be connected directly from the ISP6PIN header to the correct SPROG target ISP header. The cable should not be twisted. A colored wire on the cable indicates pin 1. Confirm that this is connected to pin 1 on each of the headers. When programming 8-pin devices, note the following: Pin 1 is used both as RESET and as PB5 on some devices (ATtiny11, ATtiny12 and ATtiny15). Pin 1 on the 8-pin sockets SCKT3400D1 and SCKT3400D1 are connected to PB5. The RESET signal used during ISP programming is therefore not connected to pin 1 on these sockets. This signal must be connected by placing a wire between RST and the PORTE header and PB5 on the PORTB header. AVR STK500 User Guide 3-9
20 Hardware Description Table 3-2. AVR Sockets AVR Devices STK500 Socket Color Number Target ISP Header AT90S1200 AT90S2313 SCKT3300D3 Red 3 SPROG3 AT90S2323 AT90S2343 ATtiny12 ATtiny22 SCKT3400D1 Blue 1 SPROG1. Connect RST on PORTE to PB5 on PORTB. Connect XTI on PORTE to PB3 (XTAL1 on 2323) on PORTB. ATtiny11 SCKT3400D1 Blue 1 High-voltage Programming only ATtiny28 SCKT3500D- None High-voltage Programming only AT90S4414 AT90S8515 ATmega161 AT90S4434 AT90S8535 ATmega16 ATmega163 ATmega323 AT90S2333 AT90S4433 ATmega8 SCKT3000D3 Red 3 SPROG3 SCKT3100A3 Red 3 SPROG3 SCKT3200A2 Green 2 SPROG2 ATtiny15 SCKT3600A1 Blue 1 SPROG1. Connect RST on PORTE to PB5 on PORTB. N/A SCKT3700A1 Blue 1 Socket is not in use in this version of STK500 ATmega103 ATmega128 Use the STK501 Top Module Figure 3-16 shows an example of how AT90S2313 can be In-System Programmed. The 6-wire cable is connected from the ISP6PIN header to the red SPROG3 target ISP header, and the AT90S2313 part is inserted in the red socket marked SCKT3100D3. Figure Example Connection for Programming AT90S2313 SPROG1 AVR SCKT3300D3 SPROG2 SPROG3 ISP6PIN 3-10 AVR STK500 User Guide
21 Hardware Description It is not necessary to remove the 6-wire cable from its ISP position while running a program in the AVR. The port pins used for ISP programming can be used for other purposes in your program High-voltage Programming For High-voltage Programming, a 12V programming voltage is applied to the RESET pin of the AVR device. All AVR devices can be programmed with High-voltage Programming, and the target device can be programmed while it is mounted in its socket. Two different methods are used for High-voltage Programming: 8-pin parts use a serial programming interface, while other parts use a parallel programming interface. The programming signals are routed to the correct pins of the target device using the cables supplied with STK500. Table 3-3 summarizes the programming method and special considerations when using High-voltage Programming. Table 3-3. High-voltage Programming Settings AVR Devices AT90S1200 AT90S2313 AT90S4414 AT90S8515 AT90S4434 AT90S8535 STK500 Socket Color Number High-voltage Programming Method SCKT3300D3 Red 3 Parallel High-voltage Programming. Connect PROG CTRL header to SCKT3000D3 Red 3 PORTD and PROG DATA to PORTB, as shown in Figure 3-17 on page SCKT3100A3 Red 3 ATtiny28 SCKT3500D- None ATmega161 SCKT3000D3 Red 3 Parallel programming as above; mount ATmega16 ATmega163 ATmega323 SCKT3100A3 Red 3 BSEL2 jumper. See Section 3.8. AT90S2333 AT90S4433 ATmega103 ATmega128 SCKT3200A2 Green 2 Parallel programming as above; mount PJUMP jumpers. See Section 3.8. Use the STK501 Top Module Parallel programming as above; mount BSEL2 jumper. See Section 3.8. ATmega8 SCKT3200A2 Green 2 Parallel programming as above; Mount PJUMP jumpers and mount BSEL2 terminal to PC2. See Section and Section AT90S2323 AT90S2343 ATtiny11 ATtiny12 ATtiny22 SCKT3400D1 Blue 1 Serial High-voltage Programming ATtiny15 SCKT3600A1 Blue 1 N/A SCKT3700A1 Blue 1 Socket not in use in this version of STK500 AVR STK500 User Guide 3-11
22 Hardware Description Parallel High-voltage Programming To use High-voltage Programming, the programming signal must be routed to the AVR I/O pins. The two 10-wire cables supplied with the STK500 can be used to connect the PROG DATA header to the PORTB header and the PROG CTRL header to the PORTD header, as shown in Figure Figure Connection for Parallel High-voltage Programming Some of the jumper settings on STK500 must be changed when using High-voltage Programming. Figure 3-18 explains these jumper settings AVR STK500 User Guide
23 Hardware Description Figure Jumper Settings for High-voltage Programming VTARGET AREF Jumpers must be Mounted RESET XTAL1 Devicedependent Jumpers (See Below) OSCSEL BSEL2 PJUMP Hardware setup for parallel High-voltage Programming: 1. Switch power off. 2. Place the device to program in its socket according to Table 3-3 on page Connect the headers PROGDATA and PORTB with the 10-wire cable. 4. Connect the headers PROGCTRL and PORTD with the 10-wire cable. 5. Mount jumper OSCSEL on pins 1 and 2 to select software-controlled clock. 6. Mount jumper XTAL1 to route the oscillator signal to the device. 7. Mount jumpers VTARGET and RESET. 8. When programming AT90S2333, AT90S4433, or ATmega8, mount both PJUMP jumpers. The 2-wire cables can be used instead of jumpers. 9. When programming ATmega16, ATmega163, ATmega161, ATmega128, or ATmega323, mount the BSEL2 jumper. When programming ATmega8, connect BSEL2 terminal to PC2. A 2-wire cable can be used instead of jumpers. 10. Disconnect target system. 11. Switch power on. 12. Ensure that VTARGET is between 4.5V and 5.5V before programming. See Section For a complete description of jumper settings, see Section 3.8, Jumper Settings. Note: Remove the hardware setup for High-voltage Programming before starting a debug session. AVR STK500 User Guide 3-13
24 Hardware Description Serial High-voltage Programming The 8-pin AVRs have too few pins to use parallel communication during High-voltage Programming. They use serial communication instead. This means that fewer signals have to be routed. Hardware setup for serial High-voltage Programming is as follows: 1. Switch power off. 2. Place the device to program in its socket according to Table 3-3 on page Mount jumper OSCSEL on pins 1 and 2 to select software-controlled clock. 4. Mount jumper XTAL1 to route the oscillator signal to the device. 5. Mount jumpers VTARGET and RESET. 6. Use one 2-wire cable to connect the PB3 pin (pin 4) on the PORTB header to the XT1 pin (pin 7) on the PORTE/AUX header. This will connect the clock system to the AVR device. 7. Use another 2-wire cable to connect the PB5 pin (pin 6) on the PORTB header to the RST pin (pin 4) on the PORTE/AUX header. This will connect the reset system to the AVR device. 8. Use a third 2-wire cable to connect the PB0 and PB2 pins (pins 4 and 3) on the SPROG1 header to the DATA0 and DATA2 pins (pins 1 and 3) on the PROG DATA header. 9. Use the last 2-wire cable to connect the PB1 pin (pin 1) on the SPROG1 header to the DATA1 pin (pin 2) on the PROG DATA header. 10. Switch power on and you are ready to program. All connections are shown in Figure Figure Connection for Serial High-voltage Programming 3-14 AVR STK500 User Guide
25 Hardware Description 3.8 Jumper Settings A master microcontroller and the eight jumpers control the hardware settings of the starter kit. During normal operation these jumpers should be mounted in the default position. To configure the starter kit for advanced use, the jumpers can be removed or set to new positions. The jumper settings and usage are explained in the following section. The default setting of the jumpers are shown in Figure Figure Default Jumper Setting VTARGET AREF RESET XTAL1 OSCSEL BSEL2 PJUMP Table 3-4. Description of Jumpers Jumper VTARGET AREF RESET XTAL1 OSCSEL BSEL2 PJUMP Description of Default Setting On-board VTARGET supply connected On-board Analog Voltage Reference connected On-board Reset System connected On-board Clock System connected On-board Oscillator selected Unmounted. Used for High-voltage Programming of ATmega8, ATmega16, ATmega161, ATmega163, ATmega128, and ATmega323 Unmounted. Used for High-voltage Programming of AT90S2333, AT90S4433, and ATmega8 AVR STK500 User Guide 3-15
26 Hardware Description Target V CC Settings, VTARGET VTARGET controls the supply voltage to the target AVR microcontroller sockets. It can either be controlled from AVR Studio or supplied from an external source. If the VTAR- GET jumper is mounted, the on-board supply voltage is connected. The on-board supply voltage can be adjusted to 0-6V from AVR Studio. Always verify the respective datasheet for the AVR device operating voltage before adjusting VTARGET voltage. Using the on-board supply voltage, approximately 0.5A can be delivered to the target section. See Appendix A in Section 10. If the VTARGET jumper is disconnected, target V CC must be supplied from an external source at one of the VTG pins on the PORT headers. Figure 3-21 explains VTARGET jumper options. When using an external source for VTARGET, the user must control that VTARGET is at a higher voltage level than AREF (analog reference voltage). Always connect common ground () when using an external VTARGET voltage. Figure VTARGET Jumper Options Jumper Mounted VTARGET AREF On-board VTARGET supply connected (default) Jumper not Mounted VTARGET AREF On-board VTARGET supply disconnected The STK500 master microcontroller controls the target voltage using the internal PWM. Figure 3-22 shows the internal connection of the VTARGET signal. Figure VTARGET Connection 10-15V VIN Voltage Regulator 0-6V VTARGET Jumper VTG NET Green LED Master Wr MCU Rd PWM ADC Note: The green LED will light when there is a voltage available on the VTG NET. It s impossible to use the debug or programming area of STK500 without VTG AVR STK500 User Guide
27 Hardware Description Analog Reference Voltage, AREF The internal VTARGET has a short circuit protection. If VTARGET is set to be higher than 0.3V and the master microcontroller measures it to be below 0.3V for a duration of 80 ms, the master microcontroller will shut off the VTARGET and the Internal AREF. When this happens, the status LED will blink quickly. If an external VTARGET is used and the external VTARGET is turned off, this will also be detected by the STK500 as a (false) short circuit. The latter case can be avoided by lowering the internal VTARGET below 0.3V. The analog reference voltage (AREF) can supply the reference voltage to the on-chip A/D Converter on the AVR. If the AREF jumper is mounted, the on-board analog reference voltage is connected to the AVR s AREF. The on-board analog reference voltage can be adjusted from AVR Studio to 0-6.0V, but not above VTARGET. When the AREF jumper is disconnected, AREF voltage must be supplied from an external source at the AREF pin on the PORTE/AUX header (Figure 3-6). Figure 3-23 explains AREF jumper options. When using an external source for AREF, the user must control VTARGET at a higher voltage level than AREF. This can be controlled easily by reading the VTG value from AVR Studio before setting AREF. Figure AREF Jumper Options Jumper Mounted VTARGET AREF RESET On-board AREF voltage connected (default) Jumper not Mounted VTARGET AREF RESET On-board AREF voltage disconnected The STK500 master microcontroller controls the analog reference voltage using the internal PWM. The AVR s AREF signal is also accessible on the PORTE header; this pin can also be used for external AREF signal. Figure 3-24 shows the internal connection of the AREF signal. AVR STK500 User Guide 3-17
28 Hardware Description Figure Internal AREF Connection Master Wr PWM MCU Rd ADC 10-15V VIN Voltage regulator 0-6V AREF Jumper PE0 PE2 REF XT1 AREF 1 2 PE1 RST XT2 VTG PORTE/AUX Reset Settings, RESET The AVR Studio-controlled analog reference voltage can also be used as an input to the analog comparator or for ADC measurements on the AVR. AVR s AREF signal can then be connected to VTG. The internal AREF has a short circuit protection. If an AREF value is set up to be higher than 0.3V and the master microcontroller measures it to be below 0.3V for a duration of 80 ms, the master microcontroller will shut off the AREF. When this happens, the status LED will blink slowly. The AREF will also be shut down by the master microcontroller if a short circuit is detected on VTARGET (in addition to shutting down VTARGET). In this case, the status LED will blink quickly. The RESET jumper controls the RESET signal to the STK500. When ISP programming the target device in the socket, the master microcontroller programs the AVR device without interfering with the application. When the RESET jumper is mounted, the master microcontroller controls the RESET signal of the AVR. When the RESET jumper is not mounted, the RESET signal is disconnected. This is useful for prototype applications with an external reset system. The RESET jumper must always be mounted when High-voltage Programming an AVR device. When using an external reset system, it must allow the reset line to be controlled by the master microcontroller reset system during programming. The RESET button is disconnected if the RESET jumper is not mounted. Figure 3-25 explains the RESET jumper options AVR STK500 User Guide
29 Hardware Description Figure RESET Jumper Options Jumper Mounted AREF RESET XTAL1 On-board RESET Signal Connected (default) Jumper not Mounted AREF RESET XTAL1 On-board RESET Signal Disconnected The STK500 master microcontroller controls the RESET signal to the target AVR. The RESET signal is accessible on the PORTE/AUX header; this pin can also be used for external RESET signal. Figure 3-26 shows the internal connection of the RESET signal. Figure Internal RESET Connection Master MCU RESET RESET CIRCUIT 0V - VTG - 12V PE0 PE2 REF XT1 1 2 RESET Jumper PE1 RST XT2 VTG RESET NET PORTE/AUX Note: During High-voltage Programming, STK500 applies 12V to the AVR s RESET line. Thus, an external reset circuit not capable of handling this must be disconnected before High-voltage Programming the AVR. AVR STK500 User Guide 3-19
30 Hardware Description When connected to an external system, there is often an external pull-up resistor connected to the reset line. A typical reset connection is shown in Figure Figure External Reset Connection R (4.7 kohm) RESET C (10 nf) If the external pull-up resistor is too low (<4.7 kω), STK500 will not be able to pull the RESET line low Clock Settings, XTAL1 and OSCSEL STK500 includes several clock options for the target AVR. Setting the jumpers XTAL1 and OSCSEL controls the clock selections. OSCSEL determines what signal to route to the XTAL1 pin of the AVR. When the XTAL1 jumper is connected, the STK500 internal clock system is used as main clock to the target AVR. When XTAL1 jumper is not mounted, the internal clock system is disconnected. This allows external clock signals or crystals to be used as target clock source for the AVR. Figure 3-28 illustrates the XTAL1 jumper option. Figure XTAL1 Jumper Options Jumper Mounted AREF RESET XTAL1 OSCSEL On-board XTAL1 Signal Connected (Default) Jumper not Mounted AREF RESET XTAL1 OSCSEL On-board XTAL1 Signal Disconnected When the XTAL1 jumper is not mounted, an external clock source or crystal can be connected to the PORTE header. This is shown in Figure AVR STK500 User Guide
31 Hardware Description When the XTAL1 jumper is mounted, the STK500 internal clock system is used as main clock to the target AVR. The internal clock system can either use a crystal in the on-board crystal socket or a software-generated clock from the master microcontroller. The frequency of the software-generated clock can be set from 0 to 3.68 MHz. The default value is 3.68 MHz. Section on page 5-7 explains how to set the clock frequency from AVR Studio. When using the STK500 software-generated clock system as main clock, the target AVR microcontroller fuses should be configured for external clock as clock source. This gives shortest start-up time for the microcontroller. For details of start-up time, see the datasheet for the AVR microcontroller. For an explanation of clock source fuses configuration, see Section on page 5-3. Not all AVR devices have fuses for selection between using a crystal or oscillator as clock source. The internal clock system is selected with the OSCSEL jumper. Figure 3-29 shows the jumper options for OSCSEL. The on-board oscillator will work with ceramic resonators or crystals between 2-20 MHz (AT-cut, fundamental and parallel resonant crystals). Figure OSCSEL Jumper Options Jumper mounted on pins 1 and 2 XTAL1 OSCSEL On-board software clock signal connected (default) Jumper mounted on pins 2 and 3 XTAL1 OSCSEL On-board crystal signal connected Jumper not mounted XTAL1 OSCSEL On-board XTAL1 signal disconnected When programming AVR in High-voltage Programming mode, OSCSEL should be mounted on pins 1 and 2 to give the master microcontroller control of the target clock. This is explained in detail in Section on page Note: In a real application with only one AVR connected to the crystal, there is no need for an external oscillator circuit. The STK500 has eight different AVR sockets connected to the same clock system. The long signal lines in this system makes it difficult to drive a crystal with the On-chip Oscillators on the AVR. The oscillator on STK500 is designed to operate on all target voltages from 1.8 to 6.0V. AVR STK500 User Guide 3-21
32 Hardware Description Figure XTAL1 and OSCSEL Connections Oscillator 5V VTG CRYSTAL AVR Studio MASTER MCU OSCSEL Jumper Voltage converter XTAL1 Jumper PE0 PE2 REF XT1 XTAL1 NET 1 2 PORTE PE1 RST XT2 VTG BSEL2 Jumper The BSEL2 jumper connects the Byte Select 2 signal for High-voltage Programming of ATmega8, ATmega16, ATmega161, ATmega163, ATmega128, and ATmega323. The BSEL2 jumper should only be mounted when High-voltage Programming ATmega16, ATmega161, ATmega163, ATmega128, or ATmega323. When using ATmega8, connect the right BSEL2 pin to PC2 in the target area. See Figure For descriptions of the Byte Select 2 signal, see the programming section of the corresponding parts datasheet. Figure BSEL2 Connection for ATmega8 Cable to PC2 BSEL2 PJUMP PJUMP Jumpers The PJUMP jumpers route the programming pin of AT90S2333, AT90S4433, and ATmega8 to the programming lines when using High-voltage Programming. The PJUMP jumpers should only be mounted when using High-voltage Programming on AT90S2333, AT90S4433, or ATmega8. During debugging, High-voltage Programming of other parts and ISP programming, these jumpers should not be mounted. Figure PJUMP Jumpers Placement Correct Jumper Placement Not Correct 3-22 AVR STK500 User Guide
33 Hardware Description 3.9 Expansion Connectors STK500 has two expansion connectors, one on each side of the programming module. All AVR I/O ports, programming signals and control signals are routed to the expansion connectors. The expansion connectors allow easy prototyping of applications with STK500. The pinout of the expansion connectors is shown in Figure 3-34 and Figure Figure Expansion Headers Expansion Header 0 Pin 1 Prog Ctrl Expansion Header 1 Pin 1 Prog Data AVR STK500 User Guide 3-23
34 Hardware Description 3-24 AVR STK500 User Guide Figure Expansion Connector 0 Pinout Figure Expansion Connector 1 Pinout AUXI0 CT7 CT5 CT3 CT1 NC RST PE1 VTG PC7 PC5 PC3 PC1 PA7 PA5 PA3 PA1 AUXO0 CT6 CT4 CT2 BSEL2 REF PE2 PE0 VTG PC6 PC4 PC2 PC0 PA6 PA4 PA2 PA AUXI1 DATA7 DATA5 DATA3 DATA1 SI SCK XT1 VTG PB7 PB5 PB3 PB1 PD7 PD5 PD3 PD1 AUXO1 DATA6 DATA4 DATA2 DATA0 SO CS XT2 VTG PB6 PB4 PB2 PB0 PD6 PD4 PD2 PD0
35 Hardware Description Signal Descriptions The signals AUXI1, AUXI0, AUXO1, and AUXO0 are intended for future use. Do not connect these signals to your application. The DATA[7:0] and CT[7:1] signals are also found on the Prog Data and Prog Ctrl connectors. These signals and connectors are explained in Section 3.10 on page The BSEL2 signal is the same as that found on the BSEL2 jumper. This jumper is explained in Section on page The SI, SO, SCK, and CS signals are connected to the DataFlash. Use of the DataFlash is described in Section 3.6 on page 3-6. NC means that this pin is not connected. The remaining signals are equal to those found on the PORT connectors, explained in Section 3.4 on page 3-3. Note: DATA, CT, and AUX signals are based on 5V CMOS logic. No voltage conversion to adapt to VTG is done on these signals Prog Ctrl and Prog Data Headers The Prog Ctrl and Prog Data headers are used for High-voltage Programming of the target AVR device. The placement of the headers is shown in Figure During parallel High-voltage Programming, the Prog Ctrl signals are routed to PORTD of the target device. The Prog Data signals are routed to PORTB. See Section on page 3-11 for a complete description of High-voltage Programming. The pinouts of the Prog Ctrl and Prog Data headers are shown in Figure 3-36 and Figure For more information about High-voltage Programming of AVR devices, see the programming section of each AVR datasheet. Note: Prog Ctrl and Data connectors are connected directly to the master microcontroller without level converters. This means that these signals are always 5V logic. Figure Prog Ctrl Header Pinout NC (OE)CT2 (BS1)CT4 (XA1)CT6 1 2 CT1(RDY/BSY) CT3(/WR) CT5(XA0) CT7(PAGEL) NC The Prog Ctrl signals are normally used for the control signals when parallel Highvoltage Programming an AVR device. Note: All Prog Ctrl signals are based on 5V CMOS logic. No voltage conversion to adapt to VTG is done on these signals. AVR STK500 User Guide 3-25
36 Hardware Description Figure Prog Data Header Pinout DATA0 DATA2 DATA4 DATA6 1 2 DATA1 DATA3 DATA5 DATA7 NC The Prog Data signals are used for the data bus when parallel High-voltage Programming an AVR device. During ISP programming, DATA5 is used as MOSI, DATA6 is used as MISO, and DATA7 is used for SCK. Note: All Prog Data signals are based on 5V CMOS logic. No voltage conversion to adapt to VTG is done on these signals Miscellaneous STK500 has 2 push buttons and 3 LEDs for special functions and status indication. The following section explains these features. Figure 3-38 shows the placement of these functions. Figure Special Functions and Status Indication LEDs Target Power LED RESET Push Button Main Power LED Status LED Program Push Button RESET Push Button The RESET push button resets the target AVR device when pushed. The master microcontroller is not controlled by the RESET push button. When the RESET jumper is not mounted, the RESET push button is disabled AVR STK500 User Guide
37 Hardware Description PROGRAM Push Button Future versions of AVR Studio may upgrade the master microcontroller on STK500. AVR Studio will then detect old software versions of STK500 and update the Flash program memory of the master microcontroller. To do this, the user is required to push the PROGRAM button when powering on STK500. AVR Studio issues instructions on how to perform the upgrade during the upgrade process Main Power LED The red power LED is directly connected to the STK500 main power supply. The power LED is always lit when power is applied to STK Target Power LED The target power LED is connected to VCC lines (VTG) on the target AVR devices in the sockets. The target power LED is lit when power is applied to the target AVR device Status LED The PROGRAM LED is a 3-color LED. During programming, the LED is yellow. When the target AVR device is successfully programmed, the LED will turn green. If programming fails, the LED will turn red to indicate that programming failed. When programming fails, check the troubleshooting guide in Section 7 on page 7-1. During start-up, the status LED will shift from red, through yellow, to green to indicate that the master microcontroller is ready. AVR STK500 User Guide 3-27
38 Hardware Description 3-28 AVR STK500 User Guide
39 Section 4 Installing AVR Studio AVR Studio, with its Integrated Development Environment (IDE), is the ideal software for all AVR development. It has an editor, an assembler and a debugger and is front-end for all AVR emulators and the STK500 starter kit. To install AVR Studio, insert the supplied Atmel CD-ROM databook in the computer and navigate to Products AVR 8-bit RISC Software. Right-click with the mouse on the AVRstudio.exe file and select save link as. Select an empty directory and save the file. Execute the AVRstudio.exe file; this is a self-extracting file that will extract all required files to the current directory. Execute the Setup.exe file; this will guide you through the setup process. Note: AVR Studio, version 3.2 or higher, is required for STK500 support. AVR STK500 User Guide 4-1 Rev.
40 Installing AVR Studio 4-2 AVR STK500 User Guide
41 Section 5 Using AVR Studio 5.1 Windows Software In this section, the supporting software for STK500 will be presented and an in-depth description of the available programming options is given. 5.2 Starting the Windows Software The software used for communicating with the STK500 development board is included in AVR Studio, version 3.2 and higher. For information on how to install this software, please see Section 4 on page 4-1. Once installed, AVR Studio can be started by doubleclicking on the AVR Studio icon. If default install options are used, the program is located in the Windows Start menu Programs Atmel AVR Tools folder Starting STK500 Pressing the AVR button on the AVR Studio toolbar will start the STK500 user interface as shown in Figure 5-1. Figure 5-1. AVR Studio with STK500 User Interface AVR STK500 User Guide 5-1 Rev.
42 Using AVR Studio 5.3 STK500 User Interface The STK500 user interface includes powerful features for the STK500 development board. The available settings are divided into six groups, each selectable by clicking on the appropriate tab. Since different devices have different features, the available options and selections will depend on which device is selected. Unavailable features are grayed out Program Settings The program settings are divided into four different subgroups Device A device is selected by selecting the correct device from the pull-down menu. This group also includes a button that performs a chip erase on the selected device, erasing both the Flash and EEPROM memories Programming Mode This group selects programming mode. For devices only supporting High-voltage Programming, the ISP option will be grayed out. If both modes are available, select a mode by clicking on the correct method. Checking Erase Device Before Programming will force STK500 to perform a chip erase before programming code to the program memory (Flash). Checking Verify Device After Programming will force STK500 to perform a verification of the memory after programming it (both Flash and EEPROM) Flash If the STK500 user interface is opened without a project loaded in AVR Studio, the Use Current Simulator/Emulator FLASH Memory option will be grayed out. When a project is open, this option allows programming of the Flash memory content currently present in the Flash Memory view of AVR Studio. For more information about AVR Studio memory views, please take a look in the AVR Studio Help file. If no project is running, or the source code is stored in a separate hex file, select the Input HEX File option. Browse to the correct file by pressing the button or type the complete path and filename in the text field. The selected file must be in Intel-hex format or extended Intel-hex format. Figure 5-2. Program 5-2 AVR STK500 User Guide
43 Using AVR Studio EEPROM If the STK500 user interface is opened without a project loaded in AVR Studio, the Use Current Simulator/Emulator EEPROM Memory option will be grayed out. When a project is open, this option allows programming of the EEPROM memory content currently present in the EEPROM Memory view. For more information about AVR Studio memory views, please take a look in the AVR Studio Help file. If no project is running, or the source code is stored in a separate hex file, select the Input HEX File option. Browse to the correct file by pressing the button or type the complete path and filename in the text field. The selected file must be in Intel-hex format or extended Intel-hex format Fuses Settings In the Fuses tab an overview of accessible fuses are presented. Some fuses are only available during High-voltage Programming. These will be displayed but not accessible if operating in ISP programming mode. Press the Read button to read the current value of the fuses, and the Write button to write the current fuse setting to the device. Checking one of these check boxes indicates that this fuse should be enabled/programmed, which means writing a 0 to the fuse location in the actual device. Note that the selected fuse setting is not affected by erasing the device with a chip-erase cycle (i.e., pressing Chip Erase button in the Program settings). Detailed information on what fuses are available in the different programming modes and their functions can be found in the appropriate device datasheet. Figure 5-3. Fuses AVR STK500 User Guide 5-3
44 Using AVR Studio LockBits Settings Similar to the Fuses tab, the LockBits tab shows which lock modes are applicable to the selected device. All lock bits are accessible in both ISP and High-voltage Programming. A lock mode may consist of a combination of setting multiple Lock bits. This is handled by the STK500 user interface, and the correct lock bits are programmed automatically for the selected lock mode. Once a Lock mode protection level is enabled, it is not possible to lower the protection level by selecting a lower degree of protection or by setting a different Lock mode. The only way to remove a programmed Lock bit is to perform a complete chip erase, erasing both program and data memories. One exception exists: If the target device has a programmed EESAVE fuse, the contents of the EEPROM will be saved even though a complete chip erase on the device is performed. Figure 5-4. LockBits Advanced Settings The Advanced tab is currently divided into two subgroups Signature Bytes By pressing the Read Signature button, the signature bytes are read from the target device. The signature bytes act like an identifier for the part. After reading the signature, the software will check if it is the correct signature according to the chosen device. Please refer to the AVR datasheets to read more about signature bytes. 5-4 AVR STK500 User Guide
45 Using AVR Studio Figure 5-5. Advanced Oscillator Calibration Byte Reading Oscillator Calibration Byte Writing Oscillator Calibration Byte The oscillator calibration byte is written to the device during manufacturing, and cannot be erased or altered by the user. The calibration byte is a tuning value that should be written to the OSCCAL register in order to tune the internal RC oscillator. By pressing the Read Cal. Byte button, the calibration value is read from the device and is shown in the Value text box. Note that the calibration byte is not directly accessible during program execution and must be written to a memory location during programming if it shall be used by the program. If this option is grayed out, the selected device does not have a tunable internal RC oscillator. Since the calibration byte is not directly accessible during program execution, the user should write the calibration byte into a known location in Flash or EEPROM memory. Do this by writing the desired memory address in the Write Address text box and then press the Write to Memory button. The calibration byte is then written to the memory indicated by the Flash and Eeprom radio buttons Board Settings The Board tab allows the changing of operating conditions on the STK500 development board. The following properties can be modified: VTARGET, AREF and oscillator frequency. The interface is very flexible and it is possible to force the operating conditions beyond the recommended specifications for the device. Doing this is not recommended, and may damage the target device. The recommended operating conditions for the part are stated in the device datasheet. AVR STK500 User Guide 5-5
46 Using AVR Studio Figure 5-6. Board VTARGET VTARGET controls the operating voltage for the target board. Through the use of the slide bar or the text box, this voltage can be regulated between 0 and 6.0V in 0.1V increments. Please refer to the device datasheet to find the specified voltage range for the selected device. Both voltages are read by pressing the Read Voltages button, and written by pressing the Write Voltages button. The physical connection of the VTARGET voltage is shown in Figure 3-22 on page AREF AREF controls the analog reference voltage for the ADC converter. This setting only apply to devices with AD converter. Through the use of the slide bar or the text box, this voltage can be regulated between 0 and 6.0V in 0.1V increments. Please refer to the device datasheet to find the valid voltage range for the selected device. Both VTARGET and AREF are read by pressing the Read Voltages button, and written by pressing the Write Voltages button. It is not possible to set AREF to a higher voltage than VTARGET because this will permanently damage the AVR. The physical connection of the AREF voltage is shown in Figure 3-24 on page AVR STK500 User Guide
47 Using AVR Studio Oscillator The STK500 development board uses a programmable oscillator circuit that offers a wide range of frequencies for the target device. Since it is not possible to generate an unlimited number of frequencies, the STK500 user interface will calculate the value closest to the value written to the oscillator text box. The calculated value is then presented in the oscillator text box, overwriting the previously written number Auto Settings When programming multiple devices with the same code, the Auto tab offers a powerful method of automatically going through a user-defined sequence of commands. The commands are listed in the order they are executed (if selected). To enable a command, the appropriate check box should be checked. For example, if only Program FLASH is checked when the Start button is pressed, the Flash memory will be programmed with the hex file specified in the Program settings. All commands depend on and use the settings given in the STK500 user interface. Figure 5-7. Auto It is possible to log the command execution to a text file by checking the Log to file check box. AVR STK500 User Guide 5-7
48 Using AVR Studio Setting Up the System for Auto-programming Logging the Auto-programming to a File Click on the check boxes for the commands that you want the STK500 user interface to perform. A typical sequence where the device is erased and then programmed is shown in Figure 5-7. The chip is erased, both memories programmed and verified, and finally, fuses and lock bits are programmed. Once configured, the same programming sequence is executed every time the Start button is pressed. This reduces both work and possibilities for errors due to operational errors. By clicking on the Log to file check box, all output from the commands are written to a text file. Select or create the file by pressing the Browse button and navigate to the location where the file is placed or should be created. The output is directed to this file, and can be viewed and edited using a text editor History Window The History window is located at the bottom of the STK500 view. In this window the dialog between AVR Studio and STK500 is shown. For every new command performed, the old dialog is replaced with the new one. Figure 5-8. History Window 5-8 AVR STK500 User Guide
49 Using AVR Studio 5.4 Command Line Software The DOS command line version of the STK500 software is useful for programming STK500 from external editors or for use in production programmers. Simple batch files can be made for automatic programming. Type STK500 -? for help. The program returns ERRORCODE 0 if the operation was successful, and ERROR- CODE 1 if the operation failed. Command Line Switches: [-d device name] [-m s p] [-if infile] [-ie infile] [-of outfile] [-oe outfile] [-s] [-O] [-Sf addr] [-Seaddr] [-e] [-p f e b] [-r f e b] [-v f e b] [-l value] [-L value] [-y] [-f value] [-E value] [-F value] [-G value] [-q] [-x value] [-af start,stop] [-ae start,stop] [-c port] [-ut value] [-ua value] [-wt] [-wa] [-b h s] [-! freq] [-t] [-g] [-z] [-h?] 5.5 Parameters d Device name. Must be applied when programming the device. See list below. m if ie of oe s O Sf Se e p r v l L y Select programming mode; serial (s) or parallel/high-voltage (p). Serial programming mode is the default, and is used if this parameter not applied. Name of FLASH input file. Required for programming or verification of the FLASH memory. The file format is Intel Extended HEX. Name of EEPROM input file. Required for programming or verification of the EEPROM memory. The file format is Intel Extended HEX. Name of flash output file. Required for readout of the FLASH memory. The file format is Intel Extended HEX. Name of EEPROM output file. Required for readout of the EEPROM memory. The file format is Intel Extended HEX. Read signature bytes. Read oscillator calibration byte. Write oscillator call. byte to FLASH memory. addr is byte address Write oscillator call. byte to EEPROM memory. addr is byte address Erase device. If applied with another programming parameter, the device will be erased before any other programming takes place. Program device; FLASH (f), EEPROM (e) or both (b). Corresponding input files are required. Read out device; FLASH (f), EEPROM (e) or both (b). Corresponding output files are required Verify device; FLASH (f), EEPROM (e) or both (b). Can be used with -p or stand alone. Corresponding input files are required. Set lock byte. value' is an 8-bit hex. value. Verify lock byte. value is an 8-bit hex. value to verify against. Read back lock byte. AVR STK500 User Guide 5-9
50 Using AVR Studio f E F G q x af Set fuse bytes. value is a 16-bit hex. value describing the settings for the upper and lower fuse. Set extended fuse byte. value is an 8-bit hex. value describing the extend fuse settings. Verify fuse bytes. value is a 16-bit hex. value to verify against. Verify extended fuse byte. value is an 8-bit hex. value describing the extend fuse settings. Read back fuse bytes. Fill unspecified locations with a value (0x00-0xff). The default is to not program locations not specified in the input files. FLASH address range. Specifies the address range of operations. The default is the entire FLASH. Byte addresses. ae EEPROM address range. Specifies the address range of operations. The default is the entire EEPROM. Byte addresses. c Select communication port; com1 to com8. If this parameter is omitted the program will scan the comm. ports for the STK500 ut Set target voltage VTARGET in Volts. value is a floating point value between 0.0 and 6.0, describing the new voltage. ua Set adjustable voltage AREF in Volts. value is a floating point value between 0.0 and 6.0, describing the new voltage. wt Get current target voltage VTARGET. wa Get current adjustable voltage AREF. b Get revisions; hardware revision (h) and software revision (s).! Set oscillator frequency; freq is the frequency in Hz. t Get oscillator frequency. g Silent operation. z No progress indicator. For example, if piping to a file for log purposes, use this option to avoid the non-ascii characters used for the indicator. h? Help information (overrides all other settings) Figure 5-9. Sample Usage Erase before Program Program Flash Name of hex File stk500 -dat90s8515 -ms -e -pf -vf -iftest.hex Select Device Number Serial Programming Mode Verify Device 5-10 AVR STK500 User Guide
51 Section 6 In-System Programming of an External Target System The STK500 can be used as a programmer to program AVR devices in other applications. There are two different ISP connector pinouts available: a 6-pin and a 10-pin version. Both are supported by STK500. Figure pin ISP Connector Pinout MISO SCK RST 1 2 ISP6PIN VTG MOSI Figure pin ISP Connector Pinout MOSI NC RST SCK MISO 1 2 ISP10PIN VTG Select the device to be programmed in the same way as programming a device on the STK500. The V CC of the target application is detected by STK500 and signals are converted into voltage levels suitable for the target system. Note: If the other application has its own power supply to VTG, the jumper VTARGET must be removed before connecting STK500 to the other application. STK500 may be damaged if the VTARGET jumper is not removed. AVR STK500 User Guide 6-1 Rev.
52 In-System Programming of an External Target System 6-2 AVR STK500 User Guide
53 Section 7 Troubleshooting Guide Table 7-1. Troubleshooting Guide Problem Reason Solution The red power LED is not on. The preprogrammed example code does not toggle the LEDs. The AVR device cannot be programmed. The DC power cable is not connected. Wrong power supply is used. The power switch is off. There is no AVR device in the socket. The LEDs are not connected to the I/O ports. The Flash memory is erased. The PC serial cable is not connected. The AVR device is inserted in wrong socket. The AVR device is inserted with wrong orientation. The target ISP header is not connected. The jumpers settings are wrong. The memory lock bits are programmed. Connect the DC power cable to the DC jack (page 2-3). Check that the power supply is of DC type 10-15V, min. 500 ma (page 2-3). Turn on the power switch. Plug the AVR device into the right socket (page 2-3). Connect the LEDS header to the PORTD header, and the SWITCHES header to the PORTB header (page 3-3). Connect STK500 to a PC and reprogram the AVR device (page 2-3). Connect the serial cable to the PC COM port and the RS232 PROG port. Check that the correct socket is used (page 3-10). Check that the notch on the AVR socket matches the notch on the AVR device. Connect the 6-pin flexible cable from ISP6PIN header to the correct SPROG target ISP header (page 3-10). Set jumper to default setup (page 3-15). Erase the memory before programming. AVR STK500 User Guide 7-1 Rev.
54 Troubleshooting Guide Table 7-1. Troubleshooting Guide (Continued) Problem Reason Solution The AVR device cannot be programmed (continued). AVR Studio does not detect STK500. STK500 cannot be switched off. The status LED is blinking slowly The status LED is blinking quickly. The LEDs don t work (running from external VTARGET). Reset disable fuse is set. Programming too fast External pull-up resistor on reset line too low. Serial cable is not connected, or power is off. PC COM port is in use. AVR Studio does not detect COM port. Positive center power connector is used. There is a short circuit on AREF There is a short circuit on VTARGET. An external VTARGET is being used and has been turned off. STK500 must be powered for LEDs to work. Check reset disable fuse. Check oscillator settings and make sure it is not set higher than actual clock. Ensure that external pull-up resistor is 4.7 kω. Connect serial cable to RS232 PROG and check power connections. Disable other programs that are using PC COM port. Change PC COM port. Disable COM port autodetection in AVR Studio file menu. Force COM port to correct COM port. Use negative center power connector. Turn off STK500 by removing power connector. Resolve the short circuit. Resolve the short circuit. Set VTARGET to a value below 0.3V in AVR Studio. Supply poser to STK500 and turn it on. 7-2 AVR STK500 User Guide
55 Section 8 Technical Support For technical support, please contact [email protected]. When requesting technical support for STK500, please include the following information: n Version number of AVR Studio. This can be found in the AVR Studio menu, Help About. n PC processor type and speed n PC operating system and version n What target AVR device is used (complete part number) n Programming voltage n Jumper settings n A detailed description of the problem AVR STK500 User Guide 8-1 Rev.
56 Technical Support 8-2 AVR STK500 User Guide
57 Section 9 Example Applications 9.1 Using LEDs and Switches Connect PORTB to LEDS and PORTD to SWITCHES. LEDs will operate differently depending on what switch is pressed. Tip: Copy the code from this document into AVR Studio. ;***** STK500 LEDS and SWITCH demonstration.include 8515def.inc.def Temp =r16 ; Temporary register.def Delay =r17 ; Delay variable 1.def Delay2 =r18 ; Delay variable 2 ;***** Initialization RESET: ser Temp out DDRB,Temp ; Set PORTB to output ;**** Test input/output LOOP: out PORTB,temp ; Update LEDS sbis PIND,0x00 ; If (Port D, pin0 == 0) inc Temp ; then count LEDS one down sbis PIND,0x01 ; If (Port D, pin1 == 0) AVR STK500 User Guide 9-1 Rev.
58 Example Applications dec Temp ; then count LEDS one up sbis PIND,0x02 ; If (Port D, pin2 == 0) ror Temp ; then rotate LEDS one right sbis PIND,0x03 ; If (Port D, pin3 == 0) rol Temp ; then rotate LEDS one left sbis PIND,0x04 ; If (Port D, pin4 == 0) com Temp ; then invert all LEDS sbis PIND,0x05 ; If (Port D, pin5 == 0) neg Temp ; then invert all LEDS and add 1 sbis PIND,0x06 ; If (Port D, pin6 == 0) swap Temp ; then swap nibbles of LEDS ;**** Now wait a while to make LED changes visible. DLY: dec brne dec brne Delay DLY Delay2 DLY rjmp LOOP ; Repeat loop forever 9-2 AVR STK500 User Guide
59 Section 10 Appendix A Figure STK500 Block Diagram RS232 SPARE SPARE UART RS232 SPARE RS232 CTRL CONTROL UART DATAFLASH DATAFLASH SELF- PROG. SYSTEM PROG DATA TARGET LEDS LEDS PROG CTRL TARGET PUSH BUTTONS SWITCHES RESET BUTTON PROGRAM BUTTON HW REVISION CONTROL MCU SERIAL PROGRAMMING/ ISP INTERFACE TARGET CLOCK SYSTEM SPROG1 ISP10PIN SPROG2 ISP6PIN SPROG3 XTAL1 TARGET SOCKET SECTION PORT A PORT B PORT C STATUS LED TARGET RESET SYSTEM RESET PORT D AUX INTERFACE TARGET POWER SYSTEM VTARGET AREF PORT E/AUX POWER TO CONTROL SECTION POWER CONNECTOR POWER BUTTON POWER SUPPLY CONNECTIONS TO CONTROL SECTION EXPAND CONNECTORS CONTROL SECTION TARGET SECTION AVR STK500 User Guide 10-1 Rev.
60 Appendix A 10-2 AVR STK500 User Guide
61 Atmel Corporation 2325 Orchard Parkway San Jose, CA Tel: 1(408) Fax: 1(408) Regional Headquarters Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland Tel: (41) Fax: (41) Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel: (852) Fax: (852) Japan 9F, Tonetsu Shinkawa Bldg Shinkawa Chuo-ku, Tokyo Japan Tel: (81) Fax: (81) Atmel Operations Memory 2325 Orchard Parkway San Jose, CA Tel: 1(408) Fax: 1(408) Microcontrollers 2325 Orchard Parkway San Jose, CA Tel: 1(408) Fax: 1(408) La Chantrerie BP Nantes Cedex 3, France Tel: (33) Fax: (33) ASIC/ASSP/Smart Cards Zone Industrielle Rousset Cedex, France Tel: (33) Fax: (33) East Cheyenne Mtn. Blvd. Colorado Springs, CO Tel: 1(719) Fax: 1(719) Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland Tel: (44) Fax: (44) RF/Automotive Theresienstrasse 2 Postfach Heilbronn, Germany Tel: (49) Fax: (49) East Cheyenne Mtn. Blvd. Colorado Springs, CO Tel: 1(719) Fax: 1(719) Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom Avenue de Rochepleine BP Saint-Egreve Cedex, France Tel: (33) Fax: (33) [email protected] Web Site Disclaimer: Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company s standard warranty which is detailed in Atmel s Terms and Conditions located on the Company s web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel s products are not authorized for use as critical components in life support devices or systems. Atmel Corporation All rights reserved. Atmel and combinations thereof, AVR, AVR Studio, and DataFlash are the registered trademarks of Atmel Corporation or its subsidiaries. Pentium is a registered trademarks of Intel Corporation. Windows 95/98/2000/me and Windows NT are registered trademarks of Microsoft Corporation. Other terms and product names may be the trademarks of others. Printed on recycled paper. /2M
ET-BASE AVR ATmega64/128
ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 which is a Board Microcontroller AVR family from ATMEL uses MCU No.ATmega64 and ATmega128 64PIN. Board ET-BASE AVR ATmega64/128 uses MCU s resources on
Introducing AVR Dragon
Introducing AVR Dragon ' Front Side Back Side With the AVR Dragon, Atmel has set a new standard for low cost development tools. AVR Dragon supports all programming modes for the Atmel AVR device family.
Table of Contents. Section 1 Introduction... 1-1. Section 2 Getting Started... 2-1. Section 3 Hardware Description... 3-1
ISP... User Guide Table of Contents Table of Contents Section 1 Introduction... 1-1 1.1 Features...1-1 1.2 Device Support...1-2 Section 2 Getting Started... 2-1 2.1 Unpacking the System...2-1 2.2 System
The Programming Interface
: In-System Programming Features Program any AVR MCU In-System Reprogram both data Flash and parameter EEPROM memories Eliminate sockets Simple -wire SPI programming interface Introduction In-System programming
EvB 5.1 v5 User s Guide
EvB 5.1 v5 User s Guide Page 1 Contents Introduction... 4 The EvB 5.1 v5 kit... 5 Power supply...6 Programmer s connector...7 USB Port... 8 RS485 Port...9 LED's...10 Pushbuttons... 11 Potentiometers and
SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.
SKP16C62P Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance
AVR Butterfly Training. Atmel Norway, AVR Applications Group
AVR Butterfly Training Atmel Norway, AVR Applications Group 1 Table of Contents INTRODUCTION...3 GETTING STARTED...4 REQUIRED SOFTWARE AND HARDWARE...4 SETTING UP THE HARDWARE...4 SETTING UP THE SOFTWARE...5
AVR Prog User Guide. Section 3
Section 3 AVR Prog User Guide 3.1 Introduction This manual describes the usage of the AVR programming SW package called Avr- Prog. AvrProg covers all of Atmel s AVR tools with programming capabilities.
AVRprog. programmer by MikroElektronika
USB In System ABOUT PROGRAMMER With complementary software, programmer represents a great tool for all those working with Atmel s AVR. The microcontroller connects to the programmer via 6 lines, two of
TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT
TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT HARDWARE GUIDE This document is part of Turbo Programmer documentation. For Developer Documentation, Applications and Examples, see http:/// PRELIMINARY (C)
USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual
USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual Copyright 2007 SofTec Microsystems DC01197 We want your feedback! SofTec Microsystems is always on
ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL
ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL X1: DE-9 serial connector Used to connect computer (or other devices) using RS-232 standard. Needs a serial cable, with at least
AC-PG-USBASP USBASP AVR Programmer
AC-PG-USBASP-UG TABLE OF CONTENTS 1. OVERVIEW... 1 1.1. Introduction... 1 1.2. References... 1 1.2.1. Referenced Web Pages... 1 1.2.2. Acronyms and Abbreviations... 1 1.3. Supported Microcontrollers...
Lab Experiment 1: The LPC 2148 Education Board
Lab Experiment 1: The LPC 2148 Education Board 1 Introduction The aim of this course ECE 425L is to help you understand and utilize the functionalities of ARM7TDMI LPC2148 microcontroller. To do that,
EasyPIC4 User s Manual
SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD MikroElektronika - Books - Compilers User s Manual PIC MICROCHIP DEVELOPMENT BOARD 3in1 mikro IN-CIRCUIT DEBUGGER USB 2.0 IN-CIRCUIT PROGRAMMER With
Fondamenti su strumenti di sviluppo per microcontrollori PIC
Fondamenti su strumenti di sviluppo per microcontrollori PIC MPSIM ICE 2000 ICD 2 REAL ICE PICSTART Ad uso interno del corso Elettronica e Telecomunicazioni 1 2 MPLAB SIM /1 MPLAB SIM is a discrete-event
M68EVB908QL4 Development Board for Motorola MC68HC908QL4
M68EVB908QL4 Development Board for Motorola MC68HC908QL4! Axiom Manufacturing 2813 Industrial Lane Garland, TX 75041 Email: [email protected] Web: http://www.axman.com! CONTENTS CAUTIONARY NOTES...3 TERMINOLOGY...3
Android Controlled Based Interface
Android Controlled Based Interface Objective Fix Foba Build Rofi (Fifth Generation Robot) Develop, Build, and Implement a Dynamic Balanced Biped Robot Table of Contents Objective... 1 Android Controlled
User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK
User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK Because Arduino that is the development project on AVR MCU as Open Source has been published, it is popular and widespread shortly.
How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (
dspic / PIC24 Multiprogrammer datasheet EB064-00 00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 6 Appendix
Z8 Encore! XP F082A Series Development Kit
ZF0A00KITG Z Encore! XP F0A Series Development Kit UM00-009 Copyright 009 by Zilog, Inc. All rights reserved. www.zilog.com Z Encore! XP F0A Series Development Kit ii Revision History Each instance in
Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM
TWR-MECH Mechatronics Board TOWER SYSTEM Get to Know the Tower Mechatronics Board Primary Connector / Switch MCF52259 Connectors for Up to Eight Servos SW4 (Reset) USB OTG 5V Supply Touch Panel Socket
RC2200DK Demonstration Kit User Manual
Demonstration Kit User Manual Table of contents TABLE OF CONTENTS... 1 QUICK INTRODUCTION... 2 INTRODUCTION... 3 DEMONSTRATION BOARD... 4 POWER SUPPLY SECTION... 5 RS-232 INTERFACE... 6 CONNECTORS... 7
AVR033: Getting Started with the CodeVisionAVR C Compiler. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR033: Getting Started with the CodeVisionAVR C Compiler Features Installing and Configuring CodeVisionAVR to Work with the Atmel STK 500 Starter Kit and AVR Studio Debugger Creating a New Project Using
Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.
Arduino ADK Arduino ADK R3 Front Arduino ADK R3 Back Arduino ADK Front Arduino ADK Back Overview The Arduino ADK is a microcontroller board based on the ATmega2560 (datasheet). It has a USB host interface
WIZ-Embedded WebServer User s Manual (Ver. 1.0)
[텍스트 입력] WIZ-Embedded WebServer User s Manual (Ver. 1.0) 2007 WIZnet Inc. All Rights Reserved. For more information, visit our website at www.wiznet.co.kr Document History Information Revision Data Description
Programming Device Manual Booklet AVR Prog USB v2
Programming Device Manual Booklet AVR Prog USB v2 Programming device manual booklet: AVR Prog USB v2, STK500 v2 www.and-tech.pl Page 1 Content 1. Installation...3 2. HID mode drivers installation....3
APPLICATION NOTE. AVR042: AVR Hardware Design Considerations. AVR 8-bit Microcontrollers. Features. Description
APPLICATION NOTE AVR042: AVR Hardware Design Considerations AVR 8-bit Microcontrollers Features Providing robust supply voltage, digital, and analog Connection of RESET line SPI interface for In-System
8-bit RISC Microcontroller. Application Note. AVR910: In-System Programming
AVR910: In-System Programming Features Complete In-System Programming Solution for AVR Microcontrollers Covers All AVR Microcontrollers with In-System Programming Support Reprogram Both Data Flash and
JTAG ICE.... User Guide
JTAG ICE... User Guide Table of Contents Table of Contents Section 1 Introduction... 1-1 1.1 Features...1-1 1.2 JTAG ICE and the OCD Concept...1-2 1.2.4.1 Software Breakpoints...1-3 1.2.4.2 Hardware Breakpoints...1-3
Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester
Leonardo Journal of Sciences ISSN 1583-0233 Issue 20, January-June 2012 p. 31-36 Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester Ganesh Sunil NHIVEKAR *, and Ravidra Ramchandra MUDHOLKAR
Switch board datasheet EB007-00-1
Switch board datasheet EB007-00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 6 Appendix 1 Circuit diagram
1998-2002 by NetMedia, Inc. All rights reserved. Basic Express, BasicX, BX-01, BX-24 and BX-35 are trademarks of NetMedia, Inc.
1998-2002 by NetMedia, Inc. All rights reserved. Basic Express, BasicX, BX-01, BX-24 and BX-35 are trademarks of NetMedia, Inc. Microsoft, Windows and Visual Basic are either registered trademarks or trademarks
Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter
APPLICATION NOTE Features Atmel AVR32918: UC3-A3 Xplained Hardware User s Guide Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter I/O One mechanical button
Atmel AVR ATxmega384C3 microcontroller OLED display with 128 32 pixels resolution Analog sensors. Ambient light sensor Temperature sensor
APPLICATION NOTE AVR1925: XMEGA-C3 Xplained Hardware User s Guide Features Atmel AVR ATxmega384C3 microcontroller OLED display with 128 32 pixels resolution Analog sensors Ambient light sensor Temperature
PolyBot Board. User's Guide V1.11 9/20/08
PolyBot Board User's Guide V1.11 9/20/08 PolyBot Board v1.1 16 pin LCD connector 4-pin SPI port (can be used as digital I/O) 10 Analog inputs +5V GND GND JP_PWR 3-pin logic power jumper (short top 2 pins
AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR. 8-bit Microcontrollers. Application Note. Features.
AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR Features How to open a new workspace and project in IAR Embedded Workbench Description and option settings for compiling the c-code Setting
In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM-.01. www.rovingnetworks.com 1
RN-WIFLYCR-UM-.01 RN-ISP-UM In-System Programmer 2012 Roving Networks. All rights reserved. Version 1.1 1/19/2012 USER MANUAL www.rovingnetworks.com 1 OVERVIEW You use Roving Networks In-System-Programmer
Nuvoton Nu-Link Debug Adapter User Manual
Nuvoton Nu-Link Debug Adapter User Manual The information described in this document is the exclusive intellectual property of Nuvoton Technology Corporation and shall not be reproduced without permission
AVR042: AVR Hardware Design Considerations. Introduction. Features. 8-bit AVR Microcontroller APPLICATION NOTE
8-bit AVR Microcontroller AVR042: AVR Hardware Design Considerations APPLICATION NOTE Introduction This application note provides basic guidelines to be followed while designing hardware using Atmel AVR
Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB
APPLICATION NOTE M16C/26 1.0 Abstract The following article describes using a synchronous serial port and the FoUSB (Flash-over-USB ) Programmer application to program the user flash memory of the M16C/26
Programming the On-Chip Flash on a phycore-xc161 phycore-xc167
Application Note Programming the On-Chip Flash on a phycore-xc161 phycore-xc167 Application Note Edition July 2003 LAN-020e_1 Application Note Preface...1 1 Installing Infineon MemTool...2 2 Preparing
Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview
R Arduino Due Arduino Due Front Arduino Due Back Overview The Arduino Due is a microcontroller board based on the Atmel SAM3X8E ARM Cortex-M3 CPU (datasheet). It is the first Arduino board based on a 32-bit
Vicon Flash Upgrade Software
INSTRUCTION MANUAL Notes Refer to XX134 NO. XX134-13-01 REV. 1212 Vicon Flash Upgrade Software It is possible to upgrade software for the SurveyorVFT and Surveyor -Mini Camera Domes through a PC using
DRV8312-C2-KIT How to Run Guide
DRV8312-C2-KIT How to Run Guide Version 1.1 October 2011 C2000 Systems and Applications Team This Guide explains the steps needed to run the DRV8312-C2-KIT with the software supplied through controlsuite.
APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features
APPLICATION NOTE AT07175: SAM-BA Bootloader for SAM D21 Atmel SAM D21 Introduction Atmel SAM Boot Assistant (Atmel SAM-BA ) allows In-System Programming (ISP) from USB or UART host without any external
How To Use An Ams 5812 Pressure Sensor With A Usb Starter Kit
User Guide USB Starter Kit AMS 5812 Phone:+49 (0)6131/91 0730-0 Fax: +49 (0)6131/91 073-30 Internet: E Mail: [email protected] Analog Microelectronics GmbH An der Fahrt 13, D 55124 Mainz May 2012 - Rev.
PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version 2.1.0 (2014-01-16)
PCAN-MicroMod Universal I/O Module with CAN Interface User Manual Document version 2.1.0 (2014-01-16) Products taken into account Product Name Part number Model PCAN-MicroMod IPEH-002080 with firmware
[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]
FG085 minidds Function Generator Manual of Operation Applicable Models: 08501, 08501K, 08502K, 08503, 08503K Applicable Firmware Version: 1 ) 113-08501-100 or later (for U5) 2 ) 113-08502-030 or later
MX PIC24F Educational Module User Manual
MX PIC24F Educational Module User Manual Revision History Date Description Initial release. Table of Contents 1. Introduction... 3 1.1. Package Contents... 3 1.2. Key Hardware Features... 4 2. Hardware
Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD
Quick Start Guide MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD Quick Start Guide Get to Know the MRB-KW01x Module UART Selector ANT 1 RFIO (TX/RX) USB 2.0 Serial
STIM202 Evaluation Kit
Table of contents: 1 FEATURES... 2 2 GENERAL DESCRIPTIONS AND SYSTEM CONTENTS... 2 3 SYSTEM REQUIREMENTS... 2 4 GETTING STARTED... 3 4.1 INSTALLATION OF NI-SERIAL CABLE ASSEMBLY DRIVER... 3 4.2 INSTALLATION
EVAL-UFDC-1/UFDC-1M-16
Evaluation Board for Universal Frequency-to- Digital Converters UFDC-1 and UFDC-1M-16 EVAL-UFDC-1/UFDC-1M-16 FEATURES Full-Featured Evaluation Board for the Universal Frequency-to-Digital Converters UFDC-1
USER GUIDE EDBG. Description
USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel
How to read this guide
How to read this guide The following shows the symbols used in this Quick start guide with descriptions and examples. Symbol Description Example P oint Reference Caution [ ] This symbol explains information
DSO138 oscilloscope program upgrade method
DSO138 oscilloscope program upgrade method Applicable models: 13801K, 13802K Program upgrade Principle The DSO138 is a SCM STM32F103C8 internal oscilloscope that is preinstalled with a flash bootloader,
Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V1.0. 20 th November 2012. L6470 Stepper Motor Shield
Arduino Dual L6470 Stepper Motor Shield Data Sheet Adaptive Design ltd V1.0 20 th November 2012 Adaptive Design ltd. Page 1 General Description The Arduino stepper motor shield is based on L6470 microstepping
2.0 Command and Data Handling Subsystem
2.0 Command and Data Handling Subsystem The Command and Data Handling Subsystem is the brain of the whole autonomous CubeSat. The C&DH system consists of an Onboard Computer, OBC, which controls the operation
APPLICATION NOTE. Atmel AT01095: Joystick Game Controller Reference Design. 8-/16-bit Atmel Microcontrollers. Features.
APPLICATION NOTE Features Atmel AT01095: Joystick Game Controller Reference Design 8-/16-bit Atmel Microcontrollers Joystick Game Controller Atmel ATxmega32A4U microcontroller In System Programming (ISP)
Troubleshooting and Diagnostics
Troubleshooting and Diagnostics The troubleshooting and diagnostics guide provides instructions to assist in tracking down the source of many basic controller installation problems. If there is a problem
PICmicro tm Development Board
PICmicro tm Development Board Crownhill Associates smart electronic solutions Disclaimer In order to comply with EMC directive 89/336/EEC, this product should not be used outside of a classroom or laboratory
INTRODUCTION TO SERIAL ARM
INTRODUCTION TO SERIAL ARM A robot manipulator consists of links connected by joints. The links of the manipulator can be considered to form a kinematic chain. The business end of the kinematic chain of
MARTECH SPI Tools. MARTECH SPI Tools User Manual v1.0. User Manual
MARTECH SPI Tools v1.0 Contents 1. Basic informations about the product...3 1.1 Memory types supported by SPI Tool...3 2. Main features and application possibilities...4 2.1 Technical Support activation...4
Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22. www.dragino.com
Yun Shield User Manual VERSION: 1.0 Version Description Date 0.1 Initiate 2014-Jun-21 1.0 Release 2014-Jul-08 Yun Shield User Manual 1 / 22 Index: 1 Introduction... 3 1.1 What is Yun Shield... 3 1.2 Specifications...
SPI and JTAG In-System Programming (ISP) guidelines for the Atmel ATmega AVR FLASH Microcontroller Family
Report No: AN101 Title: SPI and JTAG In-System Programming (ISP) guidelines for the Atmel ATmega AVR FLASH Microcontroller Family Author: Date: Version Number: John Marriott 12 th June 2007 1.07 Abstract:
isppac-powr1220at8 I 2 C Hardware Verification Utility User s Guide
November 2005 Introduction Application Note AN6067 The isppac -POWR1220AT8 device from Lattice is a full-featured second-generation Power Manager chip. As part of its feature set, this device supports
Getting Started with the Student Learning Kit Featuring the Freescale HCS12 Microcontroller Application Module
Freescale Semiconductor SLKS12QSG Quick Reference Guide Rev. 0, 2/2008 Getting Started with the Student Learning Kit Featuring the Freescale HCS12 Microcontroller Application Module Freescale Semiconductor,
WICE-SPI Hardware Operation Manual
Contents 1.Hardware Instruction...1 2. Pin Definition Of WICE-SPI Connector...2 3. Peripheral Circuit Arrangements...3 4. On-Board Programming...4 5. Off-Line Programming...8 1.Hardware Instruction 1.WICE-SPI
Freescale Semiconductor, I
nc. Application Note 6/2002 8-Bit Software Development Kit By Jiri Ryba Introduction 8-Bit SDK Overview This application note describes the features and advantages of the 8-bit SDK (software development
The modular concept of the MPA-3 system is designed to enable easy accommodation to a huge variety of experimental requirements.
HARDWARE DESCRIPTION The modular concept of the MPA-3 system is designed to enable easy accommodation to a huge variety of experimental requirements. BASE MODULE GO LINE Digital I/O 8 Analog Out AUX 1
2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide
2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide 1. Introduction Thank you for purchasing this 2-Port RS232/422/485 Combo Serial to USB Adapter.
An Introduction to MPLAB Integrated Development Environment
An Introduction to MPLAB Integrated Development Environment 2004 Microchip Technology Incorporated An introduction to MPLAB Integrated Development Environment Slide 1 This seminar is an introduction to
Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A
Application Note Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A AN026701-0308 Abstract This application note demonstrates a method of implementing the Serial Peripheral Interface
Capacitive Touch Lab. Renesas Capacitive Touch Lab R8C/36T-A Family
Renesas Capacitive Touch Lab R8C/36T-A Family Description: This lab will cover the Renesas Touch Solution for embedded capacitive touch systems. This lab will demonstrate how to setup and run a simple
Controlling a Dot Matrix LED Display with a Microcontroller
Controlling a Dot Matrix LED Display with a Microcontroller By Matt Stabile and programming will be explained in general terms as well to allow for adaptation to any comparable microcontroller or LED matrix.
TNM Programmer 5000. User Manual. For Windows 7 / Vista / XP. TNM Electronics Ltd. www.tnmelectronics.com\english\5000.html
TNM Programmer 5000 For Windows 7 / Vista / XP User Manual TNM Electronics Ltd. www.tnmelectronics.com\english\5000.html 1 Contents 1. System Requirements. 2. Software Setup. - Installation from the TNM
PRODUCTIVITY THROUGH INNOVATION 600 CONTROL DIRECT DRIVE TECHNICAL/OPERATION MANUAL
Rev. D PRODUCTIVITY THROUGH INNOVATION 600 CONTROL DIRECT DRIVE TECHNICAL/OPERATION MANUAL 10 BORIGHT AVENUE, KENILWORTH NEW JERSEY 07033 TELEPHONE: 800-524-0273 FAX: 908-686-9317 TABLE OF CONTENTS Page
Atmel Norway 2005. XMEGA Introduction
Atmel Norway 005 XMEGA Introduction XMEGA XMEGA targets Leadership on Peripheral Performance Leadership in Low Power Consumption Extending AVR market reach XMEGA AVR family 44-100 pin packages 16K 51K
Tutorial for MPLAB Starter Kit for PIC18F
Tutorial for MPLAB Starter Kit for PIC18F 2006 Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1 Welcome to the tutorial for the MPLAB Starter Kit for PIC18F. My name is
Programming and Using the Courier V.Everything Modem for Remote Operation of DDF6000
Programming and Using the Courier V.Everything Modem for Remote Operation of DDF6000 1.0 Introduction A Technical Application Note from Doppler System July 5, 1999 Version 3.x of the DDF6000, running version
File Management Utility. T u t o r i a l
File Management Utility T u t o r i a l Contents System Requirements... 2 Preparing Files for Transfer to GlobalMark... 2 Application Launch... 2 Printer Setup... 2 Communication Status... 4 Communication
LED board datasheet EB004-00-2
LED board datasheet EB004-00-2 Contents 1 About this document... 2 2 General information... 3 3 Board layout... 4 4 Testing this product... 5 5 Circuit description... 6 Appendix 1 Circuit Diagram Copyright
MANUAL FOR RX700 LR and NR
MANUAL FOR RX700 LR and NR 2013, November 11 Revision/ updates Date, updates, and person Revision 1.2 03-12-2013, By Patrick M Affected pages, ETC ALL Content Revision/ updates... 1 Preface... 2 Technical
Mobius 3 Circuit Board Programming Instructions
Mobius 3 Circuit Board Programming Instructions Page 1 Mobius 3 Circuit Board Programming Instructions Introduction The Mobius 3 Power System consists of at least 4 circuit boards that need to be programmed.
AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE
Atmel AVR 8-bit Microcontrollers AT15007: Differences between ATmega328/P and ATmega328PB APPLICATION NOTE Introduction This application note assists the users of Atmel ATmega328 variants to understand
Two mechanical buttons Two user LEDs Four expansion headers. Board controller with USB interface. One power LED and one status LED
APPLICATION NOTE Features Atmel AT02667: XMEGA-E5 Xplained Hardware User s Guide Atmel AVR ATxmega32E5 microcontroller OLED display with 128 32 pixels resolution Ambient light sensor Analog filter Rotary
C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia
C8051F020 Utilization in an Embedded Digital Design Project Course Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia Abstract In this paper, the utilization of the C8051F020 in an
SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE
SMART ARM-based Microcontrollers SMARTCARD XPRO USER GUIDE Preface Atmel SMARTCARD Xplained Pro is an extension board to the Atmel Xplained Pro evaluation platform. Atmel SMARTCARD Xplained Pro is designed
DK40 Datasheet & Hardware manual Version 2
DK40 Datasheet & Hardware manual Version 2 IPC@CHIP DK40 Evaluation module Beck IPC GmbH http://www.bcl.de page 1 of 11 Table of contents Table of contents... 2 Basic description... 3 Characteristics...
AVR1900: Getting started with ATxmega128A1 on STK600. 8-bit Microcontrollers. Application Note. 1 Introduction
AVR1900: Getting started with ATxmega128A1 on STK600 1 Introduction This document contains information about how to get started with the ATxmega128A1 on STK 600. The first three sections contain information
UM1724 User manual. STM32 Nucleo boards. Introduction
User manual STM32 Nucleo boards Introduction The STM32 Nucleo board (NUCLEO-F030R8, NUCLEO-F072RB, NUCLEO-F103RB, NUCLEO-F302R8, NUCLEO-F334R8, NUCLEO-F401RE, NUCLEO-F411RE, NUCLEO- L053R8, NUCLEO-L152RE)
Thermostat Application Module Kit
Thermostat Application Module Kit PUG0040-00 Product User Guide Kit Contents Overview Thermostat Application Module CD-ROM: Software Examples and Documentation The Thermostat Application Module provides
QUICK START GUIDE. SG2 Client - Programming Software SG2 Series Programmable Logic Relay
QUICK START GUIDE SG2 Client - Programming Software SG2 Series Programmable Logic Relay SG2 Client Programming Software T he SG2 Client software is the program editor for the SG2 Series Programmable Logic
Animated Lighting Software Overview
Animated Lighting Software Revision 1.0 August 29, 2003 Table of Contents SOFTWARE OVERVIEW 1) Dasher Pro and Animation Director overviews 2) Installing the software 3) Help 4) Configuring the software
MC433 Stepper Motor Controller
MC433 Stepper Motor Controller 4 Axis, 10A PWM Hardware Reference Guide PCB Rev 1.1,1.1b MC433 Rev 1-1(b) Hardware Reference Guide Manual Revision 0.95 Warranty Statement SOC Robotics warrants that the
Fiber Optic Monitor and Control Evaluation Kit
Rev 0; 05/04 Fiber Optic Monitor and Control Evaluation Kit General Description The fiber optic monitor and control evaluation kit (EV kit) provides a hardware and software interface for evaluating the
ABACOM - netpio. http://www.abacom-online.de/div/setup_netpio.exe
ABACOM - netpio Download http://www.abacom-online.de/div/setup_netpio.exe The ABACOM netpio board is a 10Mbit network interface designed for measurement and control applications. The board is available
The $25 Son of a cheap timer This is not suitable for a beginner. You must have soldering skills in order to build this kit.
The $25 Son of a cheap timer This is not suitable for a beginner. You must have soldering skills in order to build this kit. Micro Wizard has been manufacturing Pinewood Derby timers for over 10 years.
PCAN-MicroMod Evaluation Test and Development Environment for the PCAN-MicroMod. User Manual. Document version 2.0.1 (2013-08-06)
PCAN-MicroMod Evaluation Test and Development Environment for the PCAN-MicroMod User Manual Document version.0. (0-0-0) Products taken into account Product Name Part number Model PCAN-MicroMod Evaluation
GSM Interfacing Board
Campus Component Pvt. Ltd. DISCLAIMER Information furnished is believed to be accurate and reliable at the time of publication. However, Campus Component Pvt. Ltd. assumes no responsibility arising from
