Forum Discussion
Altera_Forum
Honored Contributor
13 years agoThanks for your help.
--- Quote Start --- Is their use of the Virtual JTAG interface documented? --- Quote End --- Not realy. I found the source project, without informations, but I saw how it encodes/decodes IR number. Worse, their PDF didn't give addresse of the device connected to the MAX II CPLD... Except at one location in the schematic of the board, an address is beside each reconfigurable oscillator. --- Quote Start --- In the zip file for this tutorial: http://www.alterawiki.com/wiki/using...aster_tutorial (http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial) Is a set of Tcl commands for quartus_stp. The commands can be used to list the configuration of the Virtual JTAG interface on the MAX II. From that, you should be able to issue the commands necessary to change the clock. --- Quote End --- I knew the tcl command for quartus_stp but I can't use it in System Console unless I can add the package "jtag" of quartus_stp in System Console but I don't know how to do. Anyway some Tcl commands from quartus_stp are the same as SLD Commands. I tried the following code in System Console with a bad result:
set vj 2]
open_service sld $vj
sld_access_ir $vj 2 1000
sld_access_dr $vj 8 1000 0x66
sld_access_ir $vj 1 1000
sld_access_dr $vj 8 1000 0x09
0x66 is the address of the device with which I want to communicate. 9 is the register number indicated by the device designer, which i want to read first. Which errors did I do in this code?