- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I.e., rather than press the button on the board, I want to send a TCL command to cause a reset.
Thanks! /jLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I.e., rather than press the button on the board, I want to send a TCL command to cause a reset. --- Quote End --- The JTAG-to-Avalon-MM bridge has a reset_request output that you can use as a reset input to your logic. Its discussed in this tutorial http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial I'm pretty sure I just tied it to an LED in the tutorial, but you can use it as a reset source in a real design. Cheers, Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I assume you mean..
# Print the list of JTAG commands (commands prefixed with jtag) tcl> info commands jtag* jtag idcode jtag pulse nconfig jtag read jtag node id jtag node is bytestream jtag open jtag resetrequest jtag write jtag node is master jtag send jtag print hub info jtag close jtag usercode jtag print node info jtag number of nodes ? thanks /j- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I assume you mean.. # Print the list of JTAG commands (commands prefixed with jtag) tcl> info commands jtag* jtag idcode jtag pulse nconfig jtag read jtag node id jtag node is bytestream jtag open jtag resetrequest jtag write jtag node is master jtag send jtag print hub info jtag close jtag usercode jtag print node info jtag number of nodes --- Quote End --- Yep, that's the software API to toggle it. You can also issue JTAG low-level commands to get to the register that toggles it. The protocol and testbenches are here http://www.ovro.caltech.edu/~dwh/correlator/pdf/altera_jtag_to_avalon_analysis.pdf http://www.ovro.caltech.edu/~dwh/correlator/pdf/altera_jtag_to_avalon_analysis.zip I'm pretty sure the Tcl script with one of those tutorials has a command that toggles the reset line - it may use the jtag resetrequest command directly. Cheers, Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks Dave
/j
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page