LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fixed IP-Addr. on the BF537

Hi, I would like to debug an application without using DHCP, so I need a fixed IP-Address for the board. I have not found any examples or explanations for that. Christian Schirmbrand HTBL Hollabrunn
0 Kudos
Message 1 of 4
(3,359 Views)
Hello ChSch,

i found another user with the same question.

Hi Ken,

The LwIP stack, as distributed with VisualDSP++, relies on the presence of a DHCP server on your network. If your network does not support DHCP, the LwIP library must be rebuilt using a static IP address assigned by the network administrator. For specifics regarding rebuilding the LwIP library with a static IP address, refer to the LWIP_UserGuide.doc file in the "C:\Program Files\Analog Devices\VisualDSP 4.0 for LabVIEW Embedded\Blackfin\lwip\src\docs\" directory.
 
Michael P
National Instruments

Kind regards,

Elmar

Link: http://forums.ni.com/ni/board/message?board.id=AEWorldWide&message.id=22908

0 Kudos
Message 2 of 4
(3,337 Views)
Hi again, Thank you for your answer so far. The .docs are quite useful, but my next task is to get the fixed IP-Address using LabView. The VDK application offers some adjustment possibilities like IP-Addr., Subnetmask, Gateway, MAC-Addr. (is printed on the BF537 Blackfin Board). After the download, the Board has got no IP-Address (also ping does not work). I do not know what I can change to make it work. When the board has an IP-addr., I want to debug my LV-application over TCP/IP. Christian Schirmbrand HTBL Hollabrunn
0 Kudos
Message 3 of 4
(3,318 Views)
Hello ChSch,

ok you want depug the code from lv. I found a car (Corrective Action Request ID: 439EJP30) with the same problem.

Added a Host IP entry on the target configuration dialog. The host PC must also be configured with static IP. 1) Disconnect your computer from your network. 2) Connect the crossover cable between your computer and the Blackfin EZ-Kit. 3) Assign a static IP address to your computer. If you do not know how to do this, follow the directions at the following Microsoft Website: https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sag_tcpip_pro_manualconfig.mspx If you do not know what numbers to fill in while following the directions, use the following settings for your computer. IP Address: 10.0.0.1 Net Mask: 255.255.255.0 Gateway: 10.0.0.254 4) Start LabVIEW and open a project. 5) Configure LWIP to a static IP address. To do this, open Target Build Options in LabVIEW and click on the LWIP tab. Fill in a static IP address. If your computer is setup with the above settings, the following Target Build Options can be used for LWIP: IP Address: 10.0.0.2 Net Mask: 255.255.255.0 Gateway: 10.0.0.254 5) Build, Download, and Run the project.

Targeted Version for Fix 2.0 - Beta

Kind regards,

Elmar
0 Kudos
Message 4 of 4
(3,301 Views)