- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using intel hls compiler and generated a design to add 4 numbers. I created a .cpp file emulated it and verified the output, I created the ip file using the hls commands and have integrated it in the platform designer along with jtag to avalon master bridge ip.
While testing on the hardware through system console, i have established the jtag path and while trying to write values to the registers, it is showing the below
error: master_write_32: This transaction did not complete in 60 seconds. System Console is giving up.
while executing
"master_write_32 $master_service_path 0x34 4"
(file "load_vals.tcl" line 6)
invoked from within
"source load_vals.tcl".
Below iam attaching the .qar file , screenshot of the system console window and also attaching the csr.h file consisting the register addresses and am also sharing the c++ code for which i generated the ip using hls compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I notice that you haven't assign any pin in pin planner. After assigning those pins, the error gone.
Thanks,
Best Regards,
Sheng
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Probably need to claim the master service path first in order to interact with the JTAG Master component.
Can add claim_service command like below in load_vals.tcl:
set c_path [claim_service master $master_service_path ""]
In others .tcl make changes like below:
$master_service_path ---> $c_path
After changes, the errors gone check screenshot attached.
Thanks,
Best Regards,
Sheng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
I have made changes to the load_vals.tcl file as you have mentioned but still i am encountering the same error.
The jtag_avmm.tcl file consists of:
get_service_paths master
set master_service_path [ lindex [get_service_paths master] 0]
open_service master $master_service_path
The load_vals.tcl file consists of:
set c_path [claim_service master $master_service_path lib]
master_write_32 $c_path 0x34 40
master_write_32 $c_path 0x30 30
master_write_32 $c_path 0x2c 20
master_write_32 $c_path 0x28 10
# start component
master_write_32 $c_path 0x08 0x01
Below i am attaching the system console window screenshot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I try again with your original design without the claim_service and it worked as well.
Does your jtag cable got any problem? May be try to reconnect and see.
Do you program the correct device id 10AX115S2?
Thanks,
Regards,
Sheng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have reconnected the jtag cable and programmed the device but still there is same error, i don't think there is any problem with jtag because previously i have programmed different designs through jtag for the same device.
NAME: Arria10 Development board
Device:10AX115S2F45I1SG
Can you share the .tcl files which you have used to test the board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The tcl scripts I used are same with yours one. May be try power cycle the board by turn off and on?
Thanks,
Best Regards,
Sheng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have turned off and turned on the board and tested it but still the same error is there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I found the root cause now. Previously I'm testing with Arria 10 Transceiver Devkit and without any problem.
When I tested with Arria10 GX Development board, I encountered the similar problem as yours.
Solution:
In top module addit.v, make modifications like below:
.reset_reset (reset) ----> .reset_reset (~reset)
Then the problem will be resolved.
Thanks,
Regards,
Sheng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have changed the reset to ~reset and it was working fine.
I am working on another design of 4*4 matrix multiplication generated through hls , emulated and verified the ouput and iam encountering the same error as :
error: master_write_32: This transaction did not complete in 60 seconds. System Console is giving up.
while executing
"master_write_32 $master_service_path 0x60 1".
Below I am sharing the .qar file of this project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I notice that you haven't assign any pin in pin planner. After assigning those pins, the error gone.
Thanks,
Best Regards,
Sheng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Do you still have any further concern or update?
Thanks,
Best Regards,
Sheng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
After giving pin assignments and changing reset to ~reset the code was working fine and i was to able to test it on the board.
Thank you.
![](/skins/images/B7BA37F9CE4B52FF7CAE1FB0388839C8/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page