You are not logged in.
Hi,
We do not have 1Gb Ethernet switch. So we modified the ethernet speed to 100Mbps in wl_transport.H. Then we tried to generate update bitstream using SDK. After importing the files into SDK it shows error in all the C files under w3_WARPLab_v7_AXI_2RF. Please tell us how to rectify the errors
Offline
I am getting error when i run this chunk of code in matlab 2011a,
clear
N = 1;
nodes = wl_initNodes(N);
wl_nodeCmd(nodes,'identify');
disp(nodes)
The procedure i followed is as follows...
First i run wl_setup.m file in matlab,
Setting up WARPLab Paths...
adding path 'E:\WARP\warplab\WARPLab_Reference_Design_7.3.0(2)\M_Code_Reference\classes'
adding path 'E:\WARP\warplab\WARPLab_Reference_Design_7.3.0(2)\M_Code_Reference\util'
adding path 'E:\WARP\warplab\WARPLab_Reference_Design_7.3.0(2)\M_Code_Reference\util\inifile'
adding path 'E:\WARP\warplab\WARPLab_Reference_Design_7.3.0(2)\M_Code_Reference\mex'
adding path 'E:\WARP\warplab\WARPLab_Reference_Design_7.3.0(2)\M_Code_Reference\config'
saving path
Warning: Unable to save path to file 'C:\Program
Files\MATLAB\R2011a\toolbox\local\pathdef.m'. You can save your path to a different
location by calling SAVEPATH with an input argument that specifies the full path. For
MATLAB to use that path in future sessions, save the path to 'pathdef.m' in your
MATLAB startup folder.
> In savepath at 162
In wl_setup at 202
------------------------------------------------------------
Please enter a WARPLab Ethernet interface address.
Pressing enter without typing an input will use a default
IP address of: 10.0.0.250
WARPNet Ethernet Interface Address:
defaulting to 10.0.0.250
Warning: No interface found. Please ensure that your network interface is connected
and configured with static IP 10.0.0.250
> In wl_setup at 306
------------------------------------------------------------
Please enter a WARPLab host ID.
Valid host IDs are integers in the range of [200,254]
Pressing enter without typing an input will use a default
host ID of: 250
WARPLab Host ID:
defaulting to 250
------------------------------------------------------------
Please enter a unicast starting port.
Pressing enter without typing an input will use a default
unicast starting port of: 9000
Unicast Starting Port: 1500
setting to 1500
------------------------------------------------------------
Please enter a broadcast port.
Pressing enter without typing an input will use a default
broadcast port of: 10000
Broadcast Port:
defaulting to 10000
------------------------------------------------------------
Select from the following available transports:
For better transport performance, please setup the WARPLab Mex UDP transport:
http://warpproject.org/trac/wiki/WARPLab/MEX
[1] (default) Java UDP
Selection:
setting to java
------------------------------------------------------------
Enable jumbo frame support? (experimental)
[1] (default) false
[2] true
Selection: 1
setting to false
------------------------------------------------------------
Setup Complete
wl_ver():
WARPLab v7.3.0
Framework Location:
E:\WARP\warplab\WARPLab_Reference_Design_7.3.0(2)\M_Code_Reference\
>> clear
N = 1;
nodes = wl_initNodes(N);
wl_nodeCmd(nodes,'identify');
disp(nodes)
Error in node 1 with ID = 0:
ME =
MException
Properties:
identifier: 'wl_transport_eth_java:send:noReply'
message: 'maximum number of retransmissions met without reply from node'
cause: {0x1 cell}
stack: [6x1 struct]
Methods
Error message follows:
maximum number of retransmissions met without reply from node
??? Error using ==> wl_initNodes at 165
The following nodes with IDs = [ 0 ] are not responding. Please ensure that the
nodes have been configured with the WARPLab bitstream.
I also attach the putty terminal output,
ARPLab v7.3.0 (compiled Aug 21 2013 10:06:38)
Configured for 2 RF Interfaces - Using WARP v3 on-board RF interfaces
Clock config 3:
RF: On-board
Samp: On-board
Off-board Outputs: Disabled
Configuring transport...
Set MAC Address ETH 0 via EEPROM: 40:D8:55:04:22:AA
ETH 0 IP Address: 10.0.0.1
Configuring ETH 0 for AXI DMA mode with 9014 byte buffers (2 receive, 1 send)
Listening on UDP ports 9000 (unicast) and 10000 (broadcast)
Waiting for Ethernet link...
Initialization Successful - Waiting for Commands from MATLAB
The My wl_config.ini file is showing,
[config_info]
date_created = 22-Jan-2014
wl_ver = 7.3.0
[network]
host_address = 10.0.0.250
host_ID = 250
unicast_starting_port = 1500
bcast_port = 10000
transport = java
jumbo = false
When i run arp -a in command prompt the result is like this
C:\Users\user>arp -a
Code:
Interface: 10.0.0.250 --- 0xb
Internet Address Physical Address Type
10.255.255.255 ff-ff-ff-ff-ff-ff static
224.0.0.22 01-00-5e-00-00-16 static
Suggest me how to make this work by using 100Mb ethernet switch?
How to rectify this error??
Offline
I assume you fixed your compile errors. The reference bitstreams are configured to use 1 Gbit Ethernet and will not work with a 100 Mbit switch.
It looks like your interface is configured as (10.0.0.250; 255.0.0.0). Please set your interface to (10.0.0.250; 255.255.255.0).
For further debugging, please refer to this post.
Offline