Changes between Version 3 and Version 4 of WARPLab/Reference/NodesConfig
- Timestamp:
- May 6, 2013, 7:51:57 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WARPLab/Reference/NodesConfig
v3 v4 3 3 = Nodes Config = 4 4 5 The Nodes Config utility allows a user greater flexibility when specifying the configuration information of a [wiki:WARPLab7/Reference/Architecture/Classes#Node wl_node] as part of the [wiki:WARPLab7/Reference/Utility#wl_initNodes wl_initNodes] setup process. Please note that in order to use the wl_nodesConfig utility, the5 The Nodes Config utility allows a user greater flexibility when specifying the configuration information of a [wiki:WARPLab7/Reference/Architecture/Classes#Node wl_node] as part of the [wiki:WARPLab7/Reference/Utility#wl_initNodes wl_initNodes] setup process. Please note that in order to use the wl_nodesConfig utility, you must satisfy the following system requirements: 6 6 7 || [[Image(wiki:GettingStarted/files:important.png,nolink,valign=middle)]] || wl_nodesConfig only works with WARP v3 hardware and the [wiki:HardwareUsersGuides/WARPv3/UserIO dip switches] must have a value of all '1's (ie 0xF) || 7 '''System Requirements''' 8 * WARPLab 7.1.0 or later 9 * WARP v3 hardware 10 * User [wiki:HardwareUsersGuides/WARPv3/UserIO dip switches] must have a value of all '1's (ie 0xF) 11 8 12 9 13 == wl_nodesConfig == … … 97 101 == Example Setup == 98 102 99 Coming soon ... 103 1. Make sure you have completed the [wiki:GettingStarted/WARPv3/Hardware Getting to Know the WARP v3 Hardware] page so you are familiar with the WARP v3 hardware. 104 105 2. Set the User IO [wiki:HardwareUsersGuides/WARPv3/UserIO dip switches] to a value of all '1's (ie 0xF). 106 107 3. Power on the board and download the appropriate bit stream. See [wiki:Exercises/13_4/IntroToSDK Introduction to the Xilinx Software Development Kit (SDK)] for an example of this. 108 109 4. Once the board finishes its boot sequence, the [wiki:HardwareUsersGuides/WARPv3/UserIO Seven Segment Display] on the board should read "--". Now the board is in a state where it is ready to receive commands from Matlab. 110 111 5. Given you have a valid configuration file, from Matlab you can then execute the following lines to push the configuration information to the node: 112 113 {{{ 114 nodesConfig = wl_nodesConfig('read', 'my_node_config_file.txt') 115 nodes = wl_initNodes(nodesConfig) 116 }}} 117 118 6. If the update was successful, the [wiki:HardwareUsersGuides/WARPv3/UserIO Seven Segment Display] on the board should now contain the ID number you assigned the node in the configuration file. Also, you should be able to ping the node using the IP address you assigned in the file. 119 120 121 == Additional Questions and Feedback == 122 If you have any additional questions about this exercise or other feedback, please post to the [http://warp.rice.edu/forums/ WARP Forums]. 100 123 101 124 102 125 103 104 105 106 107 108