Forum Discussion
Altera_Forum
Honored Contributor
9 years agoHi Dave,
There are 2 more issues I am facing while using JTAG to Avalon MM Master over USB Blaster Cable using the jtag_write and jtag_read scripts: ------------------------------------ Issue-1: I have put together Nios_II based system in QSYS wherein I am using mailbox. Mailbox is used to push commands from host on sender interface and Nios_II is supposed to read these commands from receiver interface. Mailbox sender interface is connected to JTAG to Avalon MM bridge (as I want to push the messages from Host via USB blaster cable to JTAG-Avalon bridge) Mailbox has 2-bits avalon address connected to it to access 4 registers inside. On system console, I am using the TCL script jtag_write to push message in to the mailbox. Issue is avalon address given is on byte boundary and the address has to be on 32-bit boundary. If I do: jtag_write 0x00009001 (to write in to mailbox pointer register) System Console issues error saying the address should be 32-bits aligned. How can I access the mailbox directly from JTAG-AvalonMM bridge directly? --------------- ---------------- Issue-2: My SRAM is on 0x0000_0000 and SDRAM is on 0x8000_0000. When I write on SRAM using jtag_write and verify using jtag_read, it works fine. My observation is when I write on SDRAM address 0x8000_0000 and read back, it gives me the same data as SRAM Theoretically, JTAG address should support 32-bits ... I am not sure why this is happening. ---------------- Regards Sagar.