forte_en.pdf - 第92页
Page 92 7 FORTE.DLL Library Function s implemented in forte.dll en able sett ing and reading of logic al levels on single pins of FORTE programmer. This way it is po ssible to make various communicat ion protoco ls. Exce…

Page 91
6
up_control.dll library
The up_control.dll enables user to control the UP software
using functions contained in the library. It contains basic
programming functions.
From the view of the user the UP software is running
invisibly.
There is more information concerning the library available
in a separate
document.

Page 92
7
FORTE.DLL Library
Function s implemented in forte.dll enable setting and
reading of logical levels on single pins of FORTE
programmer. This way it is possible to make various
communication protocols.
Except for functions which enable controlling of the single
pins, the library contains also functions prepared for
communication via SPI, I
2
C and 1-Wire buses, functions
for supply and programming voltage controlling and
supply voltage and GO button reading.
The functions implemented in the forte.dll library are
described in detail in a separate document devoted to
this library.

Page 93
8
JTAG PLAYER
JTAG PLAYER is a utility designed for programming
devices with the JTAG interface by means of PRESTO or
FORTE programmers.
This utility is not part of the UP software installation pack
but it can be downloaded separately from
https://
www.asix.tech/prg_jtag-svf-player_cz.html
JTAG PLAYER is localized only in English.
8.1
JTAG Device
Programming
Having started JTAG PLAYER, select your programmer in
Options ➙ Select Programmer.
If you cannot see your connected programmer in the
dialog window, check if the green ON-LINE LED on the
programmer is on. If so, make sure thatanother software
is not communicating with the programmer.
Program the device by choosing File ➙ Open&Process.
The file to be programmed must be in SVF/XSVF format.
For more information on the file format see
SVF File or
XSVF File.
If an error occurs during the programming process, check
the connection between the programmer and the
application. In addition, check the presence of a feeding
voltage.
Important warning
A power supply voltage from an external source must be
present during programming that utilizes the JTAG
interface. The programmer does not feed the application
in this case.
8.1.1 SVF File
SVF (Serial Vector Format) is a file used for describing
high-level operations on the IEEE1149.1 bus.
Serial Vector Format (.svf) is the recommended file
format for all the testing and programming except
for Xilinx CPLD XC9500. The Xilinx Serial Vector
Format (.xsvf) is recommended for Xilinx CPLD XC9500.
Examples of How to Create SVF
Files
This chapter presents methods of creating an SVF file for
different types of device.
Atmel AVR (e.g. ATmega128)
Programming
Generate an SVF file using the avrsvf.exe program
available at the ATMEL website in the “Tools & Software
of AVR 8-bit RISC MCUs” section.
Example:
avrsvf -datmega128 -s -e -ifmyfile.hex -pf -vf -
ovmyfile.svf -mp
This example shows how to create an SVF file from the
myfile.hex file. The final SVF file is then used by
jtagplay.exe for erasing, programming and verification.
Run avrsvf -h for more information.
The device must be in the reset state during
programming.