+ All Categories
Home > Documents > ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket...

ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket...

Date post: 03-Aug-2018
Category:
Upload: dokhue
View: 221 times
Download: 0 times
Share this document with a friend
30
ISP ADAPTER 2 USER'S GUIDE rev.1.0 Copyright © 2014 SIBIT www.sibit.pl
Transcript
Page 1: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

ISP ADAPTER 2

USER'S GUIDErev.1.0

Copyright © 2014 SIBIT www.sibit.pl

Page 2: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

Spis treści

1.Introduction...................................................................................................................................... 3

2. Arrangement of elements..................................................................................................................4

3. Clock source selection......................................................................................................................6

4. Setting to work with ZIF Socket......................................................................................................7

4.1 DIP 8.................................................................................................................... 8

4.2 DIP 14..................................................................................................................9

4.3 DIP 20A..............................................................................................................10

4.4 DIP 20B..............................................................................................................11

4.5 DIP 28................................................................................................................12

4.6 DIP 40A..............................................................................................................13

4.7 DIP 40B..............................................................................................................14

5. Setting to work with PLCC Socket................................................................................................15

6. ISP Programmer – in system programming...................................................................................16

6.1 ISP Connector pinout..............................................................................................................16

6.2 Connection with the target circuit...........................................................................................18

6.3 Supported microcontrollers....................................................................................................20

7. Drivers Installation ........................................................................................................................24

8. USB Serial Port configuration – changing the port COM number ...............................................25

9. USB Serial Port configuration – changing the delay time ...........................................................27

10. Changing the firmware on the programmer - AVR Prog .............................................................28

11. Contact and technical support ......................................................................................................30

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 2

Page 3: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

1. Introduction

ISP Adapter 2 is a USB AVR programmer . The programmer allows in-system

programming (ISP - connector compatible KANDA ) and outside the system

(microcontrollers in DIP from 8 to 40 pins and PLCC) . The system is equipped with

a professional ZIF (zero insercion force) so the microcontroller can be programmed

easily inserted and removed without damaging the pins.

Programmer supports the STK500v2 and AVR910. By implementing both

standards, the device supports almost all of the eight-bit AVR microcontrollers .

Through proper configuration Adapter can power the device programmable system

which eliminates the need for additional sources of tension. Programmable

microcontroller can be clocked with internal quartz oscillator or an external clock

signal (GEN) . Selecting the input source is made by a jumper .

The device uses buffering SPI signal lines which increased immunity to interference

and extended the range tolerated supply voltage programmable system (1.8V -

6V) .

Programmer collaborates with AVRStudio ( AVRProg , AVRISP , STK500 ) , AVR-

OSP II CodeVision , BASCOM -AVR , AVRDUDE .

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 3

Page 4: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

2. Arrangement of elements

1 - jumper I/O (input/output). Jumper I/O closed deactivates built-in programmer and the ISP connector (2) Then You can connect an external programmer. Jumper opened activates the built-in ISP programmer. ISP connector (2) is then output connector adapter and may be used for programming the microcontroller in system.

2 - ISP connector which, depending on the configuration jumpers I/O (1) is the output of the ISP (switch I/O removed) or input for connecting an external programmer (switch I/O installed).

3 - MODE connector, is used to configure the adapter ZIF socket.

4 - ZIF socket connector configuration DIP40-2

5 - ZIF socket connector configuration DIP40-1

6 - ZIF socket connector configuration DIP28

7 - ZIF socket connector configuration DIP20-2

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 4

Page 5: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

8 – ZIF socket connector configuration DIP20-1

9 – ZIF socket connector configuration DIP14

10 – ZIF socket connector configuration DIP8

11 – LED "STATE" for the state of programmer operation. Depending on the firmware preloaded, operating condition is expressed as follows:

• STK500 hex uploaded – in standbay state the RED LED is on. When programming (busy state) the GREEN LED lights up.

• AVR910 hex uploaded – in standbay state the GREEN LED is on. When programming (busy state) the RED LED lights up.

• Tryb BOOTLOADER – regardless of the preloaded firmware, the transition programmer bootloader section is indicated by a blinking green LED.

12 – LEDs Tx and Rx. LEDs indicate signal transmission in both directions: computer-> programmer and programmer-> computer.

13 – CR / GEN jumper - clock source selection. Jumper in CR position: crystal oscillator on the adapter as a clock source. Jumper in position GEN: clock signal from on board generator.

14 – BOOT jumper. Jumper loaded when you connect the programmer to the computer activates the bootloader. This is indicated by a blinking green LED STATE. During normal operation, the jumper should be removed.

15 – USB B Connector. Connector is used to communicate with the computer and power supply.

16 – jumper - the configuration of the power system. The jumper should be founded on the position USB when adapter is powered from the USB socket B (15). When using an external power source connected to the EXT (17) jumper should be set to EXT.

17 – Termina block EXT to which you can connect an external power source. This way the power can be used for low-voltage microcontroller programming. NOTE! Pay attention to the correct polarity of the applied voltage.

18 – ZIF socket

19 – PLCC1 socket

20 – PLCC2 socket

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 5

Page 6: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

3. Clock source selection

To join placed on the adapter quartz to the DIP or PLCC socket jumper GEN / CR (13) should be set to the position of the CR as shown below:

If necessary, the clocking of programmed microcontroller from onboard signal generator, jumper GEN / CR (13) should be set to position GEN according to the following figure:

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 6

Page 7: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

4. Setting to work with ZIF Socket

When placing the programmed microcontroller in ZIF socket, the adapter must be properly configured with a suitable type of microcontroller. To configure, the specialshort tape is attached, one end of which should be placed in the connector MODE (3) and the second pin on (DIP8 - DIP40) specific to the inserted microcontroller.

The configuration and location of the ZIF socket layouts depending on the type of microcontroller is presented below.

Please note the correct setting source clock. Clock with quartz - jumper in CR , on board generator - jumper in position GEN.

To support ZIF socket, you can use a built-in onboard programmer STK500v2 / AVR910 - the jumper I/O (1) should be removed in this case. USB connector (15) in this case is a communication interface and power supply. With the USB is powered by a built-in programmer and programmable cpu (if jumper USB / EXT will be founded on the position of the USB). The amount of voltage depends on the computer, and in accordance with the USB standard may be in the range of 4.3 V - 5.25 V. At the same time be aware of the limited output current of the USB port (about 500mA).

If you need to use a lower voltage such as 1.8 V - 3.3 V, jumper USB / EXT should be set to the EXT position and alternate power source should be connected to the EXT jack on the right way.

If you need to connect an external programmer (eg due to unsupported by STK500/AVR910 type of microcontroller) jumper I/O (1) should be established and an external programmer (eg STK200/300) should be connected to the ISP connector (2).

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 7

Page 8: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

4.1 DIP 8

List of microcontrollers supported in mode DIP8:

ATTINY 12ATTINY 13ATTINY 15ATTINY 22ATTINY 25ATTINY 45ATTINY 85AT90S2323AT90S2343AT90S2433*

* - not supported by the built-in programmer. To program AT90S2433 the external programmer is needed (eg STK200/300 ) connected to the ISP (2) adapter.Before connecting an external programmer remember to put on the jumper I / O (1).

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 8

Page 9: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

4.2 DIP 14

List of microcontrollers supported in mode DIP14 :

ATTINY 24ATTINY 44ATTINY 84

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 9

Page 10: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

4.3 DIP 20-1

List of microcontrollers supported in mode DIP20-1 :

ATTINY 2313AT90S2313AT90S1200AT89S2051*AT89S4051*

* - not supported by the built-in programmer. To program this cpu the external programmer is needed (eg STK200/300 ) connected to the ISP (2) adapter.Before connecting an external programmer remember to put on the jumper I / O (1).

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 10

Page 11: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

4.4 DIP 20-2

List of microcontrollers supported in mode DIP20-2 :

ATTINY 26ATTINY 261ATTINY 461ATTINY 861

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 11

Page 12: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

4.5 DIP 28

List of microcontrollers supported in mode DIP28 :

ATMEGA 8ATMEGA 48ATMEGA 88ATMEGA 168ATMEGA 328AT90S2333AT90S4433

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 12

Page 13: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

4.6 DIP 40-1

List of microcontrollers supported in mode DIP40-1 :

ATMEGA 16ATMEGA 32ATMEGA 323ATMEGA 644ATMEGA 8535ATMEGA 163

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 13

Page 14: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

4.7 DIP 40-2

List of microcontrollers supported in mode DIP40-2 :

ATMEGA 162ATMEGA 8515AT89S52*AT89S53*AT89S8253*AT89S8515*

* - not supported by the built-in programmer. To program this cpu the external programmer is needed (eg STK200/300 ) connected to the ISP (2) adapter.Before connecting an external programmer remember to put on the jumper I / O (1).

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 14

Page 15: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

5. Setting to work with PLCC Socket

ISP bus for PLCC1 and PLCC2 is connected rigidly ie no configuration is required MODE connector. All signals necessary for the programming are permanently connected. In a matter of clk source and power the same rules apply as for the ZIF socket.

The list of supported microcontrollers in the PLCC1 socket:

ATMEGA 8515AT90S4414AT90S4434

AT89S52*AT89S53*AT89S8253*

* - not supported by the built-in programmer. To program this cpu the external programmer is needed (eg STK200/300 ) connected to the ISP (2) adapter.Before connecting an external programmer remember to put on the jumper I / O (1).

The list of supported microcontrollers in the PLCC2 socket:

ATMEGA8535

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 15

Page 16: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

6. ISP Programmer – In System Programming.

ISP Adapter 2 has a built-in USB programmer compatible with STK500v2 or AVR910 depending on preloaded firmware. The interface allows programming of AVR microcontrollers in the ZIF and PLCC socket or in the external microprocessor system - directly on the target/evaluation board.

6.1 ISP connector pinout

ISP connector (2) depending on I/O jumper is input or output. With the jumper I/O removed, ISP connector is the output of the programmer when the jumper I/O is setthe ISP connector is the input jack for connecting an external programmer (if needed). Regardless of this configuration, the distribution of the signals in ISP connector is the same, compatible with the 10-pin standard ATMEL and KANDA.

MOSI – ISP bus signal

SCK – ISP bus signal

MISO – ISP bus signal

RST – RESET signal

GEN - additional, independent clock signal. It can be used during the reprogramming of microcontrollers with fuse-bit set to external clock (SUT_CKSEL → Ext. Clock). Also calls "rescue clock".

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 16

Page 17: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

VCC – When jumper USB / EXT (16) is set, VCC pin is an output pin and can be used to power an external microcontroller. For the jumpers set in theUSB position the voltage on pin VCC according to the USB standard computers may be in the range of 4.3 V - 5.25 V. At the same time be aware of the limited output current of the USB port (about 500mA). For the jumper in position EXT, VCC voltage on the leg is dependent on theamount of voltage supplied to the EXT.

If the jumper USB / EXT is completely removed, to pin VCC is necessary to power supply voltage of the target board. This voltage is used to powered the output buffer and the programmer and should be within the range of 1.8V to 6V.

GND – ground.

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 17

Page 18: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

6.2 Connection with the target circuit.

Signals from the programmer must be connected to the corresponding lines of the ISP interface target board. Distribution of ports responsible for isp programming must first check in the documentation for your microcontroller (Serial Programming Pin Mapping). In some microprocessor bus ISP coincides with hardware SPI bus (eg Atmega8), in other programming bus is located under the "regular" ports (eg Atmega 128). When connecting the microcontroller to the programmer should be noted that the ISP is not always synonymous with SPI.

Combine signals as follows:

ISP connector in ISP ADAPTER 2 ISP bus in mcu

MOSI MOSI

MISO MISO

SCK SCK

RST RESET

VCC* VCC*

GND GND

* Please note the configuration jumper USB / EXT. In the case of USB as power system, jumper USB/EXT is to be established in the USB position. Jumper USB / EXT has removed if the microcontroller is powered from its source.

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 18

Page 19: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

The combination of a microcontroller and programmer for example Atmega8 DIP

When first connected, in order to properly install the drivers, only programmer should be connected (without target board). Only after completed the installation process and restart the programmer, you can go to the next stage.

In power mode from USB (jumper in USB / USB EXT position) is preferably first establish a connection between the programmer and system programmable (with disconnected USB), make sure you have the correct and only then connect all the computer's USB.

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 19

Page 20: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

6.3 Supported microcontrollers

The STK500v2 protocol is independent of the hardware. Algorithms for handling various microcontrollers are sewn in the control software on your computer. Hence, the list of supported systems programmer is the same "pool" of microcontrollers supported by the application.

The basic list is as follows:

MIKROKONTROLERTRYB PRACY (FIRMWARE)

STK500V2 AVR910

AT90CAN128 X X

AT90CAN32 X

AT90CAN64 X

AT90PWM2 X X

AT90PWM216 X

AT90PWM2B X

AT90PWM3 X X

AT90PWM316 X

AT90PWM3B X

AT90S1200 X X

AT90S2313 X X

AT90S2323 X X

AR90S2333 X

AT90S2343 X X

AT90S4414 X X

AT90S4433 X X

AT90S4434 X X

AT90S8515 X

AT90S8515A X

AT90S8534 X

AT90S8535 X X

AT90S8544 X

AT90USB1286 X

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 20

Page 21: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

AT90USB1287 X

AT90USB162 X

AT90USB646 X

AT90USB647 X

AT90USB82 X

ATmega103 X X

ATmega128 X X

ATmega1280 X X

ATmega1281 X X

ATmega16 X X

ATmega161 X X

ATmega162 X X

ATmega163 X X

ATmega164 X

ATmega164P X

ATmega165 X

ATmega165P X

ATmega168 X X

ATmega168P X

ATmega169 X X

ATmega169P X

ATmega16HVA X

ATmega2560 X

ATmega2561 X

ATmega32 X X

ATmega323 X

ATmega324 X

ATmega324P X

ATmega325 X

ATmega3250 X

ATmega3250P X

ATmega325P X

ATmega328P X

ATmega329 X X

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 21

Page 22: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

ATmega3290 X X

ATmega3290P X

ATmega329P X

ATmega406 X

ATmega48 X X

ATmega48P X

ATmega64 X X

ATmega640 X X

ATmega644 X

ATmega644P X

ATmega645 X

ATmega6450 X

ATmega649 X X

ATmega6490 X X

ATmega8 X X

ATmega8515 X X

ATmega8535 X X

ATmega88 X X

ATmega88P X

ATtiny10 X

ATtiny11 X

ATtiny12 X X

ATtiny13 X X

ATtiny15 X X

ATtiny22 X

ATtiny2313 X X

ATtiny24 X X

ATtiny25 X X

ATtiny26 X X

ATtiny261 X

ATtiny28 X

ATtiny43U X

ATtiny44 X X

ATtiny45 X X

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 22

Page 23: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

ATtiny461 X

ATtiny48 X

ATtiny84 X X

ATtiny85 X X

ATtiny861 X

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 23

Page 24: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

7. Driver Installation

Drivers installation guide can be found at CD:\INSTALLATION GUIDE.

Since the programmer is based on a chip FT232R, always up to date versions of the installation instructions are also available on the website of the manufacturer FTDI at:

http://www.ftdichip.com/Support/Documents/InstallGuides.htm

Linux:http://www.ftdichip.com/Support/Documents/AppNotes/AN_220_FTDI_Drivers_Installation_Guide_for_Linux .pdf

Windows 2000:http://www.ftdichip.com/Support/Documents/InstallGuides/Windows_2000_Installation_Guide.pdf

Windows XP:http://www.ftdichip.com/Support/Documents/AppNotes/AN_104_FTDI_Drivers_Installation_Guide_for_WindowsXP(FT_000093).pdf

Windows Vista:http://www.ftdichip.com/Support/Documents/AppNotes/AN_103_FTDI_Drivers_Installation_Guide_for_VISTA(FT_000080).pdf

Windows 7:http://www.ftdichip.com/Support/Documents/AppNotes/AN_119_FTDI_Drivers_Installation_Guide_for_Windows7.pdf

Windows 8:http://www.ftdichip.com/Support/Documents/AppNotes/AN_234_FTDI_Drivers_Installation_Guide_for_Windows_8.pdf

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 24

Page 25: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

8. USB Serial Port configuration – changing the port COM number

In cooperation with some programs may need to change the COM port number thatis the programmer. For example, the AVR Studio queries only the initial computer ports COM1 - COM4. To register programmer at one of the initial COM port, perform the following steps.

First, open the Device Manager and expand the 'Ports (COM & LPT)'. We are interested in the position 'USB Serial Port' with the number of COM-and in brackets.If that occurs here, the number is quite high, it is preferable to change to one of the first, ie COM1 - COM4.

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 25

Page 26: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

To change the number of COM open, right-click the properties of the USB Serial Port. Go to the tab 'Port Settings' and press 'Advanced'. In the 'COM port number' to select one of the initial port, preferably free. If the number next to the interesting inscription '(in use)' we can ignore the condition that physically on the COM-e is not any equipment.

Click 'OK' and after a few seconds, disconnect the interface from the computer. After reconnecting the converter should be settled on the specified COM port number.

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 26

Page 27: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

9. USB Serial Port configuration – changing the delay timeSignificant performance improvements can be achieved by reducing the programmer to configure the COM port delays. To do this, open the Device Manager and expand the 'Ports (COM & LPT)'. We are interested in the position 'USB Serial Port'. Open (right click) properties of the USB Serial Port. Go to the tab 'Port Settings' and press 'Advanced'. In the 'Options BM' reduce the delay time from the default value (16ms) to a lower one.

This value should be chosen experimentally - testing after each change of communication with the programmer. Theoretically, the minimum value at which youmanage to get the correct transmission may depend on the specific program, but in practice on newer computers goes down from behind do1ms permanently. If you have communication problems go back to the default settings.

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 27

Page 28: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

10. Changing the firmware on the programmer - AVR Prog

The firmware on the programmer we can change using the AVR Prog.

In order to upload the firmware, do the following:● disconnect (if connected) ISP Adapter from computer ● close the BOOT jumper (14)● connect ISP Adapter to your computer● The ISP Adapter will start in bootloader mode - green LED STATE should be

blinking● Run the AVR Prog ('CD: \ SOFTWARE \ AvrProg.exe'). After that green LED

should stop blinking. If instead the program window appears indicating 'No supported board found!' check the number of COM port with installed programmer. AVR Prog application requires positioning the programmer to COM1, COM2 or COM3 (changing configuration is described in the described in the previous section). After successful detection the program window will appear:

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 28

Page 29: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

● clicking on the 'Browse ...', select the appropriate batch file that is eg stk500v2_16.hex (CD: \ FIRMWARE \ stk500v2_16.hex) or avr910_6.hex (CD: \ FIRMWARE \ avr910_6.hex)

● press the button 'Program' in the 'Flash' section● when the progress indicator shows 'Erasing Device ... Programming ...

Veryfing .. OK' it means that the operation was completed successfully

● after finishing the upgrade operation, close the program (the cross in the upper right corner), take off the BOOT jumper and disconnect programmer from the computer's USB.

● when connected to a USB programmer is ready for operation.

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 29

Page 30: ISP ADAPTER 2 - sibit.plsibit.pl/download/IspAdapter2_ENG.pdf · 4. Setting to work with ZIF Socket When placing the programmed microcontroller in ZIF socket, the adapter must be

11. Contact and technical support.

For technical assistance please contact us: [email protected]

Windows is a registered trademark of Microsoft Corporation.ATMEL, AVR, XMEGA, FLIP and AVR Studio are the registered trademarks of Atmel.

CodeVisionAVR is trademark of HP InfoTech.All other brand names or product names are the property of their respective holders.

Copyright © 2014 SIBIT www.sibit.pl ISP ADAPTER 2 30


Recommended