LwIP file server project error

Hi,

I'm working with BF609 processor

After running the example fileserver with static ip, the console shows:

"lwip_sysboot_task: Failed to start stack"

Is LWIP compatible with BF609 baremetal or not?

Any idea to solve the problem?

Thanks



Hi, I'm working with BF609 processor After running the example fileserver with static ip, the console shows: "lwip_sysboot_task: Failed to start stack" Is LWIP compatible with BF609 baremetal or not? Any idea to solve the problem? Thanks
[edited by: Dart at 11:14 AM (GMT -4) on 17 Jun 2021]

Top Replies

  • +1
    •  Analog Employees 
    on Jun 18, 2021 5:09 AM
  • 0
    •  Analog Employees 
    on Jun 18, 2021 10:25 AM

    Hi,

    You can use LWIP with baremetal framework also.

    Please ensure that you have installed the required middleware available in our webpage www.analog.com/.../adswp-lwip.html

    Can you please confirm whether your are you connecting to a router, or directly to your PC using a crossover cable?

    And also error message, maybe your DHCP is not getting configured properly from the router. Please configure the router properly and also this error may occur when there is lack of DHCP on network.

    In order to evaluate the examples, we recommend connecting the Blackfin EZ-KIT to the same LAN as your PC. If LAN environment is not present then we recommend connecting both EZ-KIT and the PC to a router with DHCP capability. By default all examples use DHCP server to obtain the IP address.

    We request you to refer the Ethernet loopback code available in POST example project in the below BSP installation path. This does not use the LwIP stack, or an RTOs, so may be of interest to you if you want to perform TCP/IP at a bare metal level.

    "Installation path\Analog Devices\ADSP-BF609_Evaluation_Board-Rel1.1.0\BF609_EZ-Board\Blackfin\Examples\Power_On_Self_Test"

    You can download download "ADSP-BF609 EZ Kit Board Support Package" from the below link.
    download.analog.com/.../ADI_ADSP-BF609_Evaluation_Board-Rel1.1.0.exe

    Also, please refer the below link for more details.
    ez.analog.com/.../bf-609-ethernet-sample-application-availability

    Best Regards,
    Santhakumari.K

  • Hi,

    I am connecting the board through router with dhcp enabled.Also installed the required middleware.

    When I try to run the file server example "C:\Analog Devices\lwIP_Stack-Rel2.6.0\lwip\Blackfin\examples\fileserver" with my host ip address I got "failed to redirect 'stdout'  " error.

    Thanks.

  • 0
    •  Analog Employees 
    on Sep 17, 2021 12:46 PM in reply to Dart

    Hi,

    We have seen customers facing "ERROR: failed to redirect 'stdout'" error message, if an incorrect IP Address into the #define FILE_SERVER_HOST_ADDRESS within source file.

    Therefore could you please confirm whether you have modified "FILE_SERVER_HOST_ADDRESS " macro to your correct IP address.

    If not, please Open source\app_main.c file, and change the FILE_SERVER_HOST_ADDRESS to the IP address of the Windows host on which Fileserver runs.You can use ipconfig utility to find the windows ip address.

    Please confirm that you have followed the exact same instructions contained within the readme file associated with the FileServerStdio in below path for running the example.
    C:\Analog Devices\lwIP_Stack-Rel2.6.0\lwip\Blackfin\examples\fileserver\readme.html

    If you are still facing same issues,can you please try to use a static IP( we recommend connecting the EZ-KIT to the same LAN as your PC)and let us know how you gets on.

    Please refer the below CCES help path for more details on Configuring lwIP Application with Static IP, which might be helpful to you.
    lwIP Ethernet Stack 2.6.0 > Configuring lwIP Applications

    Also, please confirm whether you are facing same behavior when trying on other PC's too.

    Have you modified this example? If you have modified the example please send us a copy of the code you are currently working with.

    Also please share us more details on setup such as which version of CCES you are using, whether you are working with EZ-kit or custom board.

    Regards,
    Santhakumari.K