Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
686 Discussions

System console giving up

Vamsi_21
New Contributor I
2,479 Views

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.

0 Kudos
1 Solution
ShengN_Intel
Employee
2,182 Views

Hi,


I notice that you haven't assign any pin in pin planner. After assigning those pins, the error gone.


Thanks,

Best Regards,

Sheng


View solution in original post

0 Kudos
11 Replies
ShengN_Intel
Employee
2,440 Views

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

 

0 Kudos
Vamsi_21
New Contributor I
2,420 Views

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.

0 Kudos
ShengN_Intel
Employee
2,404 Views

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


0 Kudos
Vamsi_21
New Contributor I
2,389 Views

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.

0 Kudos
ShengN_Intel
Employee
2,367 Views

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


0 Kudos
Vamsi_21
New Contributor I
2,334 Views
Hi,
I have turned off and turned on the board and tested it but still the same error is there.
0 Kudos
ShengN_Intel
Employee
2,317 Views

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


0 Kudos
Vamsi_21
New Contributor I
2,292 Views

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.

0 Kudos
ShengN_Intel
Employee
2,183 Views

Hi,


I notice that you haven't assign any pin in pin planner. After assigning those pins, the error gone.


Thanks,

Best Regards,

Sheng


0 Kudos
ShengN_Intel
Employee
2,085 Views

Hi,


Do you still have any further concern or update?


Thanks,

Best Regards,

Sheng


0 Kudos
Vamsi_21
New Contributor I
2,066 Views

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.

0 Kudos
Reply