Carimali AVRISP mkII Owner's manual

LB-00145-55
Pag. 1
TECHNICAL
INSTRUCTIONS
TECHNICAL
INSTRUCTIONS
AVR USB PROGRAMMER
With Atmel AVR Studio
6.1
EN - ENGLISH
LB-00145-55
EDITION MARCH 2016
www.carimali.com

LB-00145-55
Pag. 2
SOMMARIO
INTRODUCTION AND GENERAL INSTRUCTIONS................................................................3
AVR STUDIO 6.1 AND SUB-PROGRAM INSTALLATION......................................................5
FIRMWARE AVRISPmkII UPGRADE.......................................................................................10
MANUAL FIRMWARE UPDATE OF AVRISP mkII................................................................11
CARIMALI MAIN BOARD...........................................................................................................12
AVRISPmkII – MAIN BOARD CONNECTION.........................................................................16
FIRMWARE UPDATE PC TO MACHINE MAINBOARD...................................................17
MACHINE SET-UP DATA READING ...................................................................................18
MACHINE SET-UP DATA WRITE.......................................................................................19
MACHINE MAIN BOARD ERASE..............................................................................................20
TROUBLESHOOTING ..................................................................................................................21

LB-00145-55
Pag. 3
INTRODUCTION AND GENERAL INSTRUCTIONS
The AVR USB programmer allows to carry out the following operation:
1. program the microprocessor on the machine master board with the machine software, file.hex;
2. transfer to the laptop the machine settings file (dose settings, counters...);
3. transfer the above mentioned file to another machine microprocessor;
4. format the microprocessor.
tmel Studio 6.1 is based on Microsoft .NET 4.0 technology and is thus Windows software. The supported software
platforms are listed below.
•Windows XP (x86) with Service Pack 3 - all editions except Starter Edition
•Windows Vista (x86 & x64) with Service Pack 2 - all editions except Starter Edition
•Windows 7 (x86 & x64)
•Windows 8 ( x64 )
•Windows Server 2003 (x86 & x64) with Service Pack 2
•Windows Server 2003 R2 (x86 & x64)
•Windows Server 2008 (x86 & x64) with Service Pack 2
•Windows Server 2008 R2 (x64)
Recommended hardware:
•1.6GHz processor or faster
•DirectX 9 capable video card running at 1024x768 resolution (minimum 800x600 screen)
•1 GB (32 Bit) or 2 GB (64 Bit) R M ( dd 512 MB if running in a virtual machine)
•5400 RPM hard disk drive
•2 GB free hard disk space
•1 port USB 2.0
We always recommend to have the latest OS versions and Service packs installed. We also recommend Internet
Explorer 7 or later.
Software:
ATMEL: AVR Studio .1

LB-00145-55
Pag. 4
INTRODUCTION AND GENERAL INSTRUCTIONS
The kit code -04.00828- Includes:
a. 1x CD-ROM containing: a folder with the installation software on PC, and the technical manual
b. 1x Master board VRISP mkII complete with cable 3x2 pin;
c. 1x Cable to connect the VRISP mkII to a laptop USB port;
The items referring to a. b. c. can be separately supplied with code 96.00765.L1, see the following picture:
d. 1x interface board between the VRISP mkII and the machine master board with microprocessor tmega.
e. 1x cable 10x2 PIN, to connect the interface board ref. d. and the machine master board with microprocessor
Tmega32 / 644 / 128 / 2560.
f. 1x cable 10x2 to 6 PIN, to connect the interface board ref. d. and the machine master board with microprocessor
Tmega168P.
g. 1x cable 6 PINs to be connected in series to the cable 03.05036 (ref. f.), used to connect the interface board
ref. d. and the machine master board with microprocessor Tmega2560.
NOTE: VR Studio 6.1 and the USB driver must be installed before VRISP mkII is connected to the pc.
code 96.00773
code 03.01082
code 03.05036
code 03.05201
code 03.05036

LB-00145-55
Pag. 5
AVR STUDIO 6.1 AND SUB-PROGRAM INSTALLATION
Insert the CD-ROM / USB pen drive in the reader and open the folder CD-1.09 (or later version).
Picture 1.1 Picture 1.2
Open the folder Studio 6.1:
Carry out the Studio61sp2net [or later version] by clicking twice the icon [Picture 1.3]
Click Install [Picture 1.4]
Picture 1.3 Picture 1.4
Remove the checkmark in the box [ Picture 1.5],accept the license terms then press Next [Picture 1.6].
Picture 1.5 Picture 1.6

LB-00145-55
Pag. 6
Select the Full feature and the path in which the setup will install the Visual Studio 2010 Shell [Picture 1.7].
Press Install to start the installation.[Picture 1.8].
Picture 1.7 Picture 1.8
Press “Finish” to end the Visual Studio 2010 installation [Picture 1.9
Picture 1.9

LB-00145-55
Pag. 7
Press Next to start the vr Jungo Usb installation [Picture 2.2]
ccept the terms licence agreement and click Next [Picture 2.3 ]
Picture 2.2 Picture 2.3
Click next then install to begin the installation[Picture 2.4 ] wait for the completion of the installation then press finish
[Picture 2.5 ]
Picture 2.4 Picture 2.5
The wizzard Setup will install the vr Studio 6.1, Click Next to start [ Picture 2.6 ]. ccept the terms licence agreement
and click Next [Picture 2.7 ]
Picture 2.6 Picture 2.7

LB-00145-55
Pag. 8
Specify the folder where vr Studio 6.1 will be installed [ Picture 2.8 ].
Picture 2.8
Setup has enough information to start copying the files, if you are not sure about the setting press Back.If you are
satisfied with the setting click Next.[ Picture 2.9 ] wait for the completion of the installation [ Picture 3.0 ]
Picture 2.9 Picture 3.0
Remove the checkmark in the ssociate files box then press Finish to end the vr Studio 6.1 installation [ Picture 3.1 ]
Picture 3.1

LB-00145-55
Pag. 9
In the menu ST RT –Click twice the VR Studio 6.1 icon to open it [Picture 3.2].
Picture 3.2
The following window will be shown:
Remove the checkmark from “Close page after project load” and “Show page at start-up”, then close the Start Page
[Picture 3.3]
Picture 3.3
Connect the VRISPmkII to PC USB port through the supplied cable. The PC will automatically start the hardware
installation procedure of the VRISP mkII.

LB-00145-55
Pag. 10
FIRMWARE AVRISPmkII UPGRADE
VR Studio 6.1 will contain the latest firmware available from tmel. VR Studio after connecting the VR, system
may require an firmware update.
Press “Yes” [ Picture 3.4 ], then “upgrade” to start the upgrade procedure[ Picture 3.5 ].
Picture 3.5
Wait until the progress bar fills up [ Picture 3.6 ].Press “close” to end the upgrade [ Picture 3.7 ].
Picture 3.6 Picture 3.7
Disconnect and reconnect the VR programmer from/to the PC USB: if the led turned toward the USB port
[ Picture 3.8 ] will get green, the programmer installation has been succesfull.
Picture 3.8 Picture 3.9
For some of Atmega master boards, it will be necessary to use the adaptor code 9 .00773
[Picture 3.9] supplied with the Kit Avr isp mkII.
Picture 3.4

LB-00145-55
Pag. 11
MANUAL FIRMWARE UPDATE OF AVRISP mkII
Firmware updating is usually handled automatically by VR Studio 6.1 , if the firmware distributed with VR studio 6.1
is newer than the firmware loaded into VRISP mkII.
However, the VRISP mkII can stop responding to firmware upgrating if the firmware on the VRISP mkII is corrupted.
Corruption of the firmware can happen if the comunication between the VRISP mkIIand the PC is broken during
firmware updating or if the firmware in the VRISP mkII is re- programmed with the wrong file.
Follow the steps below to manually upgrade the VRISP mkII . This procedure should work in all cases:
1. Disconnect the vr Isp MKII from the machine master board
2. Disconnect the cable USB from the PC
3. Open the vr Isp MKII by moving the 4 plastic clips that holds the top and the bottom parts of the enclosure
togethr.
4. Short-circuit the Pin 1 e Pin 3 on the pinholes next to the VRISP mkII silk print on the PCB as shown in
[ Picture 4.5 ]
5. Insert the USB cable. The vrISP mkII will blink red and orange.
6. Start the application VRISP mkII Tools Firmware Upgrade located in the “Tools” menu in VR Studio.
7. Click the “Upgrade”button
8. When upgrade is finished, remove the short circuit between pin 1 and pin 3 on the VRISP mkII.
9. Toggle VRISP mkII power by unplag and re-insert the USB cable.
10. Press “Close” button.
The VRISP mkII in now upgraded and ready for use!
Picture 4.5

LB-00145-55
Pag. 12
CARIMALI MAIN BOARD
The master boards used by Carimali which can be programmed with the VRISP are the following:
The arrow shows where to connect the programmer VRISP.
Atmega 25 0 Mega – Sirio series
Atmega25 0 Armonia – MX-3 series

LB-00145-55
Pag. 13
Atmega25 0 Armonia smart – MX-2
Atmega25 0 Multi smart - Mya
Atmega128 Armonia - MX-3 series Atmega128 Armonia smart – MX-2 - Mya
[Display] [Display]

LB-00145-55
Pag. 14
Atmega128 F V2 and V3 series
Atmega128 Multi V2 series
ATmega 32 – Atmega 44 ATmega 1 8P
Kicco, Eta BetaV2, Tema Style, Espresso9 Fridge Plus

LB-00145-55
Pag. 15
ATmega25 0
Diva

LB-00145-55
Pag. 16
AVRISPmkII – MAIN BOARD CONNECTION
Start the vr Studio 6.1 sw and switch the machine in Stand-by mode. Connect the programmer vr Isp MKII to both
the USB port and master board connector.
Inside a vrisp mkII there are two leds, one next to the USB connector that indicates a USB traffic, the other a
3 color led, this indicates the status of the vrisp mkII.
LED COLOR DESCRIPTION
Red Idle - No target power
Green Idle - With target power
Orange Busy - Programmming
Orange blinking Reversed target cable connection
Red blinking Short-circuit on target
Red – Orange blinking Upgrade mode
If the 2 leds are green, the connection has been successful and the programmer is ready to transfer data [Picture 4.6 ]
Picture 4.6
Select from toolStrip [ Picture 4.7 ]or from drop-down menu [ Picture 4.8 ] the VR PROGR MMING icon
Picture 4.7
Picture 4.8

LB-00145-55
Pag. 17
FIRMWARE UPDATE PC TO MACHINE MAINBOARD
Select from drop-down menu the VRISP mkII platform [ Picture 4.9 ]
Tool: vr ISP mkII ( parameter available if connected to PC USB port ).
Picture 4.9
Device: Select the type of microprocessor to program in according with the type of main board ,( see paragraph
CARIMALI MAIN BOARD )then press Apply [Picture 5.0]
Picture 5.0
ISP Clock: Set the ISP frequency in according with the target clock. (max. 500 kHz ), then press Set to confirm the
selection [ Picture 5.1 ].
Picture 5.1
Memories: Select Memories from the menu on the left
Flash: write down the path and the file name “.hex”, or click for a quick research of the file. Click “Program” to
start transferring the file.[ Picture 5.2 ].
Picture 5.2
Example for machines series E9 - Kicco – Tema Style
Device = ATmega 44 – Programming mode = ISP mode – Flash= trad 4_303g.hex

LB-00145-55
Pag. 18
MACHINE SET-UP DATA READING
To transfer to laptop the machine settings file (dose setting, counters….)
Select from drop-down menu the VRISP mkII platform [ Picture 5.3 ]:
Tool: VRISP mkII ( parameter available if connected to PC USB port )
Picture 5.3
Device: Select the type of microprocessor to program in according with the type of main board ,( see paragraph
CARIMALI MAIN BOARD [Picture 5.4]) then press Apply
Picture 5.4
ISP Clock: Set the ISP frequency in according with the target clock. (max. 500 kHz ), then press Set [ Picture 5.5 ]:
Picture 5.5
Memories: Select Memories from the menu on the left
EEPROM: Click “Read” and write the path and the name for the file to be saved [ Picture 5.6 ].
Picture 5.6

LB-00145-55
Pag. 19
MACHINE SET-UP DATA WRITE
To transfer the machine settings file from one machine to another.
Select from drop-down menu the VRISP mkII platform [ Picture 5.7 ]:
Tool: VRISP mkII ( parameter available if connected to PC USB port )
Picture 5.7
Device: Select the type of microprocessor to program in according with the type of main board ,( see paragraph
CARIMALI MAIN BOARD ) then press Apply [ Picture 5.8 ]
Picture 5.8
ISP Clock: Set the ISP frequency in according with the target clock. (max. 500 kHz ), then press Set [ Picture 5.9 ]
Picture 5.9
Memories: Select Memories from the menu on the left
EEPROM: Insert the path and file name “.hex” to transfer, or click for a quick search of the file. Click “Program”
to start transferring [ Picture 6.0 ].
Picture 6.0

LB-00145-55
Pag. 20
MACHINE MAIN BOARD ERASE
Once the procedure is done, all the actuators may be activated. We recommend therefore to disconnect
the motors and solenoid valves connectors from the master board, before starting.
Select from drop-down menu the VRISP mkII platform [ Picture 6.1 ]::
Tool: VRISP mkII ( parameter available if connected to PC USB port )
Picture 6.1
Device: Select the type of microprocessor to program in according with the type of main board ,
( see paragraph CARIMALI MAIN BOARD ) then press Apply [Picture 6.2]
Picture 6.2
ISP Clock: Set the ISP frequency in according with the target clock. (max. 500 kHz ), then press Set [ Picture 6.3 ]
Picture 6.3
Memories: Select Memories from the menu on the left
Device: Click Erase now to end the procedure [ Picture 6.4 ]
Picture 6.4
fter erase follow the instruction on section FIRMW RE UPD TE PC to M CHINE M INBO RD.
Table of contents
Other Carimali Motherboard manuals