Post Go back to editing

lwip problem-ping not working /BF527

Hi.

We have a hardware with ethernet lan 8700i  with PHYADD = 1f and with full duplex. we changed Dev->phyadd = 0x1f and full duplex = true in liblan8700BF527

using following program. after run program shows link established. but ping and connect is not happening. in our hardware we are using BF527 processor.

Target is able to send ARP packets.We use the program below which works fine in adsp bf527 ez kit.

C:\Program Files\Analog Devices\VisualDSP 5.0\Blackfin\Examples\ADSP-BF527 EZ-KIT Lite\LAN\Host\FILESERVER

can u plz suggest us the problem why ping is not happening.We tried TCPIPTRACE,INETD programs also ,and ping fails but link is established.

We have reserved bank3 (LAST BANK)flash for FPGA.

Thanks...........

Parents
  • Hi

         The  IP address printed on VSDSP console isn't the one configured by TCP/IP Configuration Plugin. I find that it is same to the value stored at memory address 0xff903080, as shown in Figure1(see in attachment).

         When I put the IP address, Subnet and Gateway, which I want to set, into the memory that start at 0xff903080 before the call "system_init" in lwip_sysboot_threadtype.c , the  printed IP address is correct, as shown in Figure2. Now it can PING to blackfin from PC, and my application work fine.

         How the program set the IP address to blackfin? Dose it get the IP address from memory 0xff903080 ?

    Regards

    Jia

    attachments.zip
Reply
  • Hi

         The  IP address printed on VSDSP console isn't the one configured by TCP/IP Configuration Plugin. I find that it is same to the value stored at memory address 0xff903080, as shown in Figure1(see in attachment).

         When I put the IP address, Subnet and Gateway, which I want to set, into the memory that start at 0xff903080 before the call "system_init" in lwip_sysboot_threadtype.c , the  printed IP address is correct, as shown in Figure2. Now it can PING to blackfin from PC, and my application work fine.

         How the program set the IP address to blackfin? Dose it get the IP address from memory 0xff903080 ?

    Regards

    Jia

    attachments.zip
Children
No Data