Forum Discussion
Jo JohnT,
thanks for your suggestion.
Following your suggestion, performed "sudo fpgaconf -B 0XD8 -D 00 -F 00 <build_synth dir>/nlb_400.gbs.gbs" before running the stp file.
linux side :
[root@fig01 build_synth]# fpgaconf -B 0XD8 -D 00 -F 00 $OPAE_PLATFORM_ROOT/hw/samples/nlb_mode_0_stp/build_synth/nlb_400.gbs
[root@fig01 build_synth]# sudo mmlink -P 3333 -B 0XD8
------- Command line Input START ----
Bus : 216
Device : -1
Function : -1
Socket-id : -1
Port : 3333
IP address : 0.0.0.0
------- Command line Input END ----
PORT Resource found.
Remote STP : Assert Reset
Remote STP : De-Assert Reset
Read signature value 53797343 to hw
Read version value 1 to hw
Read write fifo capacity value 32 to hw
m_listen: 4
listening on ip: 0.0.0.0; port: 3333
I have 1 connections now; latest socket is 5
5: binding first connection
5: Accepted connection request from 192.168.111.204
I have 2 connections now; latest socket is 6
6: Accepted connection request from 192.168.111.204
mmlink_connection::handle_management_command('HANDLE 00000001')
6: accepted handle value (' HANDLE 00000001'), setting to bound state
5: handle_receive() returned -1, closing connection, now have 1
6: handle_receive() returned -1, closing connection, now have 0
I have 1 connections now; latest socket is 5
5: binding first connection
5: Accepted connection request from 192.168.111.204
I have 2 connections now; latest socket is 6
6: Accepted connection request from 192.168.111.204
mmlink_connection::handle_management_command('HANDLE 00000002')
6: accepted handle value (' HANDLE 00000002'), setting to bound state
mmlink_connection::handle_management_command('RESET 1')
Write reset value 1 to hw
mmlink_connection::handle_management_command('RESET 0')
Write reset value 0 to hw
mmlink_connection::handle_management_command('ENABLE 1 1')
Enable channel 257 to hw
6: converted to data
windows side
D:\Jimlin\FPGA\devkits\PACArria10GX\example\nlb_mode_0_stp>system-console --rc_script=mmlink_setup_profiled.tcl remote_debug.sof 192.168.111.210 3333
then we see the system-console GUI will launch and communicate with debug target until it print Remote system ready.
same time I could see new text kept updating from LINUX terminal side,seems handshake communication between host and target was success.
then we open stp_basic.stp was able to choose “System Console on … Sld Hub Controller System and jtag is reday.but keep asking me to program device to continue as in the first picture.
also there is error.
Error(261005): Can't find the instance. Download a design with SRAM Object File containing this instance.
so I think nlb_400.gbs.gbs has no stp file included.
I go back to check afu.qsf
I have NOT found below assignment,which is used to enale REMOTE SIGNALTAP
set_global_assignment -name ENABLE_SIGNALTAP ON
set_global_assignment -name USE_SIGNALTAP_FILE ../hw/par/A10/stp_basic.stp
that 2 assignments suppose be to added to AFU.QSF by filelist_mode_0_stp.txt as below
+define+INCLUDE_REMOTE_STP
C:filelist_mode_0.txt
QI:../par/${OPAE_PLATFORM_FPGA_FAMILY}/extra_tcl-0_stp.tcl
../par/nlb_0_stp.sdc
I am going to put these below 2 assignments into afu.qsf and rebuild system, see what is going on
set_global_assignment -name ENABLE_SIGNALTAP ON
set_global_assignment -name USE_SIGNALTAP_FILE ../hw/par/A10/stp_basic.stp
thanks
Jim