Difference between revisions of "Qsys USB BLASTER Jtag-avalon-MM"
From ArmadeusWiki
(→Links) |
(→Introduction) |
||
Line 5: | Line 5: | ||
== Introduction == | == Introduction == | ||
− | It's possible to access avalon-MM bus with an USB-Blaster connected to jtag. To do that a special ip-core must be instanciated in Qsys and a system console must be launched in Quartus. | + | It's possible to access avalon-MM bus with an [[Quartus_installation_on_Linux#USB-Blaster |USB-Blaster]] connected to jtag. To do that a special ip-core must be instanciated in Qsys and a system console must be launched in Quartus. |
== Instanciate Jtag-avalon-MM == | == Instanciate Jtag-avalon-MM == |
Revision as of 12:07, 28 August 2015
Introduction
It's possible to access avalon-MM bus with an USB-Blaster connected to jtag. To do that a special ip-core must be instanciated in Qsys and a system console must be launched in Quartus.
Instanciate Jtag-avalon-MM
Access avalon-MM registers
- Launch Systemp console in Quartus :
tools -> System debugging tools -> system console
- Connect to USB-BLaster JTAG-avalon-MM instance :
% set masters [get_service_paths master]
/devices/5CGXBC3B(6|7)|5CGXFC3B(6|7)@1#1-1.2.4/(link)/JTAG/jtag_phy_1.jtag/phy_1/master
% set master [lindex $masters 0]
/devices/5CGXBC3B(6|7)|5CGXFC3B(6|7)@1#1-1.2.4/(link)/JTAG/jtag_phy_1.jtag/phy_1/master
% open_service master $master
- Write 32bits value
% master_write_32 $master 0x4 0xdeadbeef
- Read 32bits value
% master_read_32 $master 0x0 2