DSPRelated.com
Forums

Running BF537 FilServerStdio example

Started by deve...@gmail.com June 9, 2008
Hi

I want to setup my ethernet communication by running example program on my ADSP BF537 EzKit. I'm trying exemple FileServerStdio delivered with VisualDSP++ 5.0

1) I connect RJ45 cable between my PC an EzKit
2) Under Windows, I modify adress properties
IP Address. . . . . . . . . . . . : 10.64.204.155
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.64.204.1
I dont't specify DNS (empty)
3) I run FileServer.exe from LAN\HOST directory
4) Under VDsP, I open FileServerStdiobf537 project
5) I modify FILE_SERVER_HOST_ADDRESS in lwip_sysboot_threadtype.c file and set it equal 10.64.204.155
6) I open TCP/IP utility, select "all" in General, and configure network0 same in windows, fill MAC ADRESS with value written on EzKit.
7 ) Compile and Load
8 ) Run under VDSP.

A message "waiting for the link to establish" appear in console window, and nothing else.
Nothing appear in FileServer.exe program

I tried a lot of time, try different value, always the same result

Is there anybody able to run this program, or an another one, to help me to find where i'm wrong (example of tcp configuration file for example), or an example illsutrated step by step.

Help would be greatly appreciated
Is there anybody able to run a Lan example program delivered with Evaluation
Kit ? Im unable to run an example, always stop with message waiting for
the link to establish . I really dont know where im wrong.

When I read SW documentation about lwip its about SMSCLAN91C111, but my
EzKit has a SMSC83C185 : could it be the source of the problem. Is there
code example for this SMSC ?

If its a problem with EzKit, is there a way to check LAN : workinh or not,
MAC_ADRESS ?

Help would be greatly appreciated
Hi,

The 'out of the box' examples require that the EZKIT is connected to a
network with a DHCP server, so that it can receive an IP address. That
could be the reason why the wait for the link to be established. There is a
TCP/IP configuration menu (need to enable the plugin under
settings=>preferences) that lets you configure LwIP. For simple testing
between an EZKIT and my laptop, I usually hard code the IP address.

The LAN91C111 is a MAC/PHY that can be interfaced to any Blackfin. The
BF537 has a MAC builtin and the EZKIT uses an 83C185 PHY.

Hope this helps.

George Kadziolka

Kaztek Systems

www.kaztek.com

From: a... [mailto:a...] On Behalf Of DSP
Develop
Sent: Wednesday, June 11, 2008 1:04 PM
To: a...
Cc: d...@gmail.com
Subject: [adsp] Running Ethernet on BF537

Is there anybody able to run a Lan example program delivered with Evaluation
Kit ? I'm unable to run an example, always stop with message < waiting for
the link to establish >. I really don't know where i'm wrong.

When I read SW documentation about lwip it's about SMSCLAN91C111, but my
EzKit has a SMSC83C185 : could it be the source of the problem. Is there
code example for this SMSC ?

If it's a problem with EzKit, is there a way to check LAN : workinh or not,
MAC_ADRESS ?

Help would be greatly appreciated
Hello

Thanks for your help, here is the sump up of what I do, because it doesn't
work any more, do you have an idea where I'm wrong? What about MAC ADRESS of
BF537 EzKit?

Thanks

_____

De : George Kadziolka [mailto:g...@kaztek.com]
Envoy: mercredi 11 juin 2008 20:55
: 'DSP Develop'; a...
Objet : RE: [adsp] Running Ethernet on BF537

Hi,

The out of the box examples require that the EZKIT is connected to a
network with a DHCP server, so that it can receive an IP address. That
could be the reason why the wait for the link to be established. There is a
TCP/IP configuration menu (need to enable the plugin under
settings=>preferences) that lets you configure LwIP. For simple testing
between an EZKIT and my laptop, I usually hard code the IP address.

The LAN91C111 is a MAC/PHY that can be interfaced to any Blackfin. The
BF537 has a MAC builtin and the EZKIT uses an 83C185 PHY.

Hope this helps.

George Kadziolka

Kaztek Systems

www.kaztek.com

From: a... [mailto:a...] On Behalf Of DSP
Develop
Sent: Wednesday, June 11, 2008 1:04 PM
To: a...
Cc: d...@gmail.com
Subject: [adsp] Running Ethernet on BF537

Is there anybody able to run a Lan example program delivered with Evaluation
Kit ? Im unable to run an example, always stop with message waiting for
the link to establish . I really dont know where im wrong.

When I read SW documentation about lwip its about SMSCLAN91C111, but my
EzKit has a SMSC83C185 : could it be the source of the problem. Is there
code example for this SMSC ?

If its a problem with EzKit, is there a way to check LAN : workinh or not,
MAC_ADRESS ?

Help would be greatly appreciated
I see you are using a 1 to 1 cable for the Ethernet connection. You might
want to try the crossover cable when connecting directly to a PC.

The MAC address is stored in flash on the BF537 EZKIT. The default code in
the LwIP boot thread (ie system_init () function ) reads the MAC address
from flash and then configures it through the LAN driver.

From: DSP Develop [mailto:d...@gmail.com]
Sent: Thursday, June 12, 2008 6:00 AM
To: 'George Kadziolka'; a...
Subject: RE: [adsp] Running Ethernet on BF537

Hello

Thanks for your help, here is the sump up of what I do, because it doesn't
work any more, do you have an idea where I'm wrong? What about MAC ADRESS of
BF537 EzKit?

Thanks

_____

De : George Kadziolka [mailto:g...@kaztek.com]
Envoy: mercredi 11 juin 2008 20:55
: 'DSP Develop'; a...
Objet : RE: [adsp] Running Ethernet on BF537

Hi,

The out of the box examples require that the EZKIT is connected to a
network with a DHCP server, so that it can receive an IP address. That
could be the reason why the wait for the link to be established. There is a
TCP/IP configuration menu (need to enable the plugin under
settings=>preferences) that lets you configure LwIP. For simple testing
between an EZKIT and my laptop, I usually hard code the IP address.

The LAN91C111 is a MAC/PHY that can be interfaced to any Blackfin. The
BF537 has a MAC builtin and the EZKIT uses an 83C185 PHY.

Hope this helps.

George Kadziolka

Kaztek Systems

www.kaztek.com

From: a... [mailto:a...] On Behalf Of DSP
Develop
Sent: Wednesday, June 11, 2008 1:04 PM
To: a...
Cc: d...@gmail.com
Subject: [adsp] Running Ethernet on BF537

Is there anybody able to run a Lan example program delivered with Evaluation
Kit ? Im unable to run an example, always stop with message waiting for
the link to establish . I really dont know where im wrong.

When I read SW documentation about lwip its about SMSCLAN91C111, but my
EzKit has a SMSC83C185 : could it be the source of the problem. Is there
code example for this SMSC ?

If its a problem with EzKit, is there a way to check LAN : workinh or not,
MAC_ADRESS ?

Help would be greatly appreciated
It was due to the cable, just take a crossover cable when connecting EzKit
directly to PC and it works fine !!!



Thanks a lot for your help





_____

De : a... [mailto:a...] De la part de George
Kadziolka
Envoy: jeudi 12 juin 2008 13:31
: 'DSP Develop'; a...
Objet : RE: [adsp] Running Ethernet on BF537



I see you are using a 1 to 1 cable for the Ethernet connection. You might
want to try the crossover cable when connecting directly to a PC.

The MAC address is stored in flash on the BF537 EZKIT. The default code in
the LwIP boot thread (ie system_init () function ) reads the MAC address
from flash and then configures it through the LAN driver.

From: DSP Develop [mailto:develop.dsp@
gmail.com]
Sent: Thursday, June 12, 2008 6:00 AM
To: 'George Kadziolka'; adsp@yahoogroups.
com
Subject: RE: [adsp] Running Ethernet on BF537

Hello

Thanks for your help, here is the sump up of what I do, because it doesn't
work any more, do you have an idea where I'm wrong? What about MAC ADRESS of
BF537 EzKit?

Thanks

_____

De : George Kadziolka [mailto:gkadziol@kaztek.
com]
Envoy: mercredi 11 juin 2008 20:55
: 'DSP Develop'; adsp@yahoogroups. com
Objet : RE: [adsp] Running Ethernet on BF537

Hi,

The out of the box examples require that the EZKIT is connected to a
network with a DHCP server, so that it can receive an IP address. That
could be the reason why the wait for the link to be established. There is a
TCP/IP configuration menu (need to enable the plugin under
settings=>preferences) that lets you configure LwIP. For simple testing
between an EZKIT and my laptop, I usually hard code the IP address.

The LAN91C111 is a MAC/PHY that can be interfaced to any Blackfin. The
BF537 has a MAC builtin and the EZKIT uses an 83C185 PHY.

Hope this helps.

George Kadziolka

Kaztek Systems

www.kaztek.com

From: adsp@yahoogroups. com
[mailto:adsp@yahoogroups. com] On Behalf Of
DSP
Develop
Sent: Wednesday, June 11, 2008 1:04 PM
To: adsp@yahoogroups. com
Cc: develop.dsp@ gmail.com
Subject: [adsp] Running Ethernet on BF537

Is there anybody able to run a Lan example program delivered with Evaluation
Kit ? Im unable to run an example, always stop with message waiting for
the link to establish . I really dont know where im wrong.

When I read SW documentation about lwip its about SMSCLAN91C111, but my
EzKit has a SMSC83C185 : could it be the source of the problem. Is there
code example for this SMSC ?

If its a problem with EzKit, is there a way to check LAN : workinh or not,
MAC_ADRESS ?

Help would be greatly appreciated

I need to tranfer a file containing tuning parameter to my DSP (BF537). For
this purpose, I want to use Ethenet but Im really newbee in network, but I
imagine something working as :



1) Connect to DSP using Software PC

2) give the name and location of the file to be transferred (select with
Browse menu)

3) click on a button SEND to start tansfert

The DSP can run application with specific parameter (filter coef for
exemple)



Is it possible, based on WebServer example, or other example gived by
Analog, or exemple available on the net.



Do you any idea on how to proceed, where I can find example ?



Thanks in advance



_____

De : a... [mailto:a...] De la part de DSP
Develop
Envoy: jeudi 12 juin 2008 13:40
: 'George Kadziolka'; a...; p...@gmail.com
Objet : RE: [adsp] Running Ethernet on BF537



It was due to the cable, just take a crossover cable when connecting EzKit
directly to PC and it works fine !!!

Thanks a lot for your help

_____

De : adsp@yahoogroups. com
[mailto:adsp@yahoogroups. com] De la part de
George
Kadziolka
Envoy: jeudi 12 juin 2008 13:31
: 'DSP Develop'; adsp@yahoogroups. com
Objet : RE: [adsp] Running Ethernet on BF537

I see you are using a 1 to 1 cable for the Ethernet connection. You might
want to try the crossover cable when connecting directly to a PC.

The MAC address is stored in flash on the BF537 EZKIT. The default code in
the LwIP boot thread (ie system_init () function ) reads the MAC address
from flash and then configures it through the LAN driver.

From: DSP Develop [mailto:develop.dsp@
gmail.com]
Sent: Thursday, June 12, 2008 6:00 AM
To: 'George Kadziolka'; adsp@yahoogroups.
com
Subject: RE: [adsp] Running Ethernet on BF537

Hello

Thanks for your help, here is the sump up of what I do, because it doesn't
work any more, do you have an idea where I'm wrong? What about MAC ADRESS of
BF537 EzKit?

Thanks

_____

De : George Kadziolka [mailto:gkadziol@kaztek.
com]
Envoy: mercredi 11 juin 2008 20:55
: 'DSP Develop'; adsp@yahoogroups. com
Objet : RE: [adsp] Running Ethernet on BF537

Hi,

The out of the box examples require that the EZKIT is connected to a
network with a DHCP server, so that it can receive an IP address. That
could be the reason why the wait for the link to be established. There is a
TCP/IP configuration menu (need to enable the plugin under
settings=>preferences) that lets you configure LwIP. For simple testing
between an EZKIT and my laptop, I usually hard code the IP address.

The LAN91C111 is a MAC/PHY that can be interfaced to any Blackfin. The
BF537 has a MAC builtin and the EZKIT uses an 83C185 PHY.

Hope this helps.

George Kadziolka

Kaztek Systems

www.kaztek.com

From: adsp@yahoogroups. com
[mailto:adsp@yahoogroups. com] On Behalf Of
DSP
Develop
Sent: Wednesday, June 11, 2008 1:04 PM
To: adsp@yahoogroups. com
Cc: develop.dsp@ gmail.com
Subject: [adsp] Running Ethernet on BF537

Is there anybody able to run a Lan example program delivered with Evaluation
Kit ? Im unable to run an example, always stop with message waiting for
the link to establish . I really dont know where im wrong.

When I read SW documentation about lwip its about SMSCLAN91C111, but my
EzKit has a SMSC83C185 : could it be the source of the problem. Is there
code example for this SMSC ?

If its a problem with EzKit, is there a way to check LAN : workinh or not,
MAC_ADRESS ?

Help would be greatly appreciated