UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Participant ucabsdp
Participant
8,999 Views
Registered: ‎07-06-2013

Can not ping or connect to LwIP Echo Server SDK example Zedboard.

Jump to solution

Hi,

 

I want to test out the LwIP functionality to send some large data to the board. I thought running the Echo Server demo would be an instructive exercise, but unfortunetatly I can not seem to get the demo working. Any suggestions? This is for a Zedboard, so I simply created a Zynq base design in vivado and then exported this to the SDK, and created the new demo project as per.

 

Thanks

Sam

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
Participant ucabsdp
Participant
12,178 Views
Registered: ‎07-06-2013

Re: Can not ping or connect to LwIP Echo Server SDK example Zedboard.

Jump to solution
OK so, the SDK example is working, it appears that I was just very very unlucky! Out of all of the ethernet cables in my office (a lot) I happened to choose the only 2 that were broken, plugged in one from a working LAN network and it's working. Sorry for that. But many thanks for your help!
0 Kudos
10 Replies
Participant ucabsdp
Participant
8,990 Views
Registered: ‎07-06-2013

Re: Can not ping or connect to LwIP Echo Server SDK example Zedboard.

Jump to solution
This is a nightmare, just running the XAPP1026 ready to download data and that won't even download. I Download fsbl.elf, execute con and then stop. But then when try to download raw_apps.elf I get:
XMD% dow raw_apps.elf
Processor started. Type "stop" to stop processor
User Interrupt, Processor Stopped at 0xfffffe1c
Downloading Program -- raw_apps.elf
section, .text: 0x00100000-0x00123a77
section, .init: 0x00123a78-0x00123a8f
section, .fini: 0x00123a90-0x00123aa7
section, .rodata: 0x00123aa8-0x001251bb
section, .data: 0x001251c0-0x00125e2f
section, .eh_frame: 0x00125e30-0x00125e33
section, .bss: 0x00125e34-0x0090f28b
section, .mmu_tbl: 0x0090f28c-0x00913fff
section, .ARM.exidx: 0x00914000-0x00914007
section, .init_array: 0x00914008-0x0091400f
section, .fini_array: 0x00914010-0x00914013
section, .heap: 0x00914014-0x0095401f
section, .stack: 0x00954020-0x00a94c1f
Download Progress.ERROR: Failed to download ELF file


Cannot access DDR: the controller is held in reset
0 Kudos
Scholar sampatd
Scholar
8,959 Views
Registered: ‎09-05-2011

Re: Can not ping or connect to LwIP Echo Server SDK example Zedboard.

Jump to solution
Which version of the tool are you using?
0 Kudos
Participant ucabsdp
Participant
8,957 Views
Registered: ‎07-06-2013

Re: Can not ping or connect to LwIP Echo Server SDK example Zedboard.

Jump to solution

Currently using SDK (and vivado) 2013.3

0 Kudos
Scholar sampatd
Scholar
8,950 Views
Registered: ‎09-05-2011

Re: Can not ping or connect to LwIP Echo Server SDK example Zedboard.

Jump to solution
That should be ok. Have you run the PS initialization commands before downloading the application raw_apps.elf ?

Follow this order:

connect arm hw //connect to arm processor
source proc/hw_platform_0/ps7_init.tcl //source the initialization tcl file
ps7_init //initialize the ps peripherals
fpga -f output/arm_subsystem_wrapper.bit //configure the PL side (optional)
ps7_post_config //set the level shifters (only required when using the PL logic)
dow proc/test //download the application file
run //execute the application/Debug/test.elf
0 Kudos
Participant ucabsdp
Participant
8,947 Views
Registered: ‎07-06-2013

Re: Can not ping or connect to LwIP Echo Server SDK example Zedboard.

Jump to solution

I will try this, but shouldn't all the config already be handled by the fsbl.elf in the ready to download package?

0 Kudos
Participant ucabsdp
Participant
8,945 Views
Registered: ‎07-06-2013

Re: Can not ping or connect to LwIP Echo Server SDK example Zedboard.

Jump to solution
I tried what you said and am still getting the same error,
I did the above,
Then downloaded and ran fsbl.elf
Then attempted to download raw_apps.elf
0 Kudos
Participant ucabsdp
Participant
8,942 Views
Registered: ‎07-06-2013

Re: Can not ping or connect to LwIP Echo Server SDK example Zedboard.

Jump to solution
If I just run the ps7_init and then download raw_apps.elf it downloads but when running I cannot still receive a ping from the device.
0 Kudos
Scholar sampatd
Scholar
8,939 Views
Registered: ‎09-05-2011

Re: Can not ping or connect to LwIP Echo Server SDK example Zedboard.

Jump to solution
Can you post a screenshot/log ?
0 Kudos
Participant ucabsdp
Participant
12,179 Views
Registered: ‎07-06-2013

Re: Can not ping or connect to LwIP Echo Server SDK example Zedboard.

Jump to solution
OK so, the SDK example is working, it appears that I was just very very unlucky! Out of all of the ethernet cables in my office (a lot) I happened to choose the only 2 that were broken, plugged in one from a working LAN network and it's working. Sorry for that. But many thanks for your help!
0 Kudos
Scholar sampatd
Scholar
2,762 Views
Registered: ‎09-05-2011

Re: Can not ping or connect to LwIP Echo Server SDK example Zedboard.

Jump to solution
Thanks for clarifying.
0 Kudos