Changes between Version 2 and Version 3 of WARPLab/Debugging


Ignore:
Timestamp:
May 20, 2013, 3:48:19 PM (11 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WARPLab/Debugging

    v2 v3  
    33= WARPLab 7: Debugging Errors =
    44
    5 coming soon
     5---
     6{{{
     7Error using wl_transport_eth_udp_pnet/send (line 228)
     8maximum number of retransmissions met without reply from node
     9
     10Error in wl_node/sendCmd (line 677)
     11            resp = obj.transport.send(cmd.serialize());
     12
     13Error in wl_node/procCmd (line 644)
     14                    node.sendCmd(myCmd);
     15
     16Error in wl_node/wl_nodeCmd (line 310)
     17                out(n) = currNode.procCmd(n, currNode, varargin{:});
     18
     19Error in wl_node/applyConfiguration (line 160)
     20            obj.wl_nodeCmd('initialize');
     21
     22Error in wl_initNodes (line 106)
     23        currNode.applyConfiguration(nodeIDs(n));
     24}}}
     25
     26This error indicates that a WARP node didn't respond to repeated communication attempts from the {{{wl_initNodes}}} script.
     27
     28Things to check:
     29 * Did all WARP nodes boot successfully? On each node a green LED will blink while waiting for the Ethernet link, then all LEDs will turn off and the hex display will show the node's IP address suffix.
     30 * Did you specify an invalid number of nodes or invalid node IDs in the arguments to {{{wl_initNodes}}?
     31 * Does each WARP node have a unique ID? In the reference design IDs are assigned by setting the user DIP switch on the WARP node.
     32 * Are all WARP nodes connected to a 1Gb Ethernet switch?
     33
     34Debugging steps: To isolate which node is failing to communicate, you can use the optional {{{wl_initNodes}}} syntax to set node IDs explicitly:
     35{{{
     36wl_initNodes(1, 0); %initialize one node with ID 0
     37wl_initNodes(1, 1); %initialize one node with ID 1
     38wl_initNodes(1, 2); %initialize one node with ID 2
     39%continue until a node fails to initialize
     40}}}
     41 ---
     42