Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHi Dave,
First of all, thank you for putting this tutorial together. It's very well written and it's been a great resource. Unfortunately for me, I'm having some issues getting the jtag-to-Avalon-MM bridge to work on a Altera Stratix IV dev board, 530 edition. I'm able to get everything to compile, and everything passes in simulation. However, after programming the FPGA, and using quartus_stp to issue commands from Figure 15, I get the following error: tcl> jtag_write 0 0 0x23 Error: incorrect number of response bytes! Everything up to that point works. The jtag_open, jtag_print_hub_info and jtag_print_node_info all produce the expected result. Do you have any ideas what could be going on here? I should mention that I've modified the design a bit by dropping the button and LED PIOs, and moving the on chip RAM to address 0. But I've updated the scripts accordingly, and this modified version passes in simulation. Anyways, if you have any pointers, I'd be grateful. Thanks in advance, Omid