This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MCBSTM32F400 http server example problem

Hi guys,

I am using MCBSTM32F400 development board to lear http server application. There is a example project in Keil called "http server ipv4/ipv6 (MCBSTM32F400)". I use this example and download to the board. Then I use a Ethernet cable to connect my PC and board directly as in file abstract says below:

/***Abstract file in the project***/
This is a HTTP_Server example running on Network Dual Stack.

Detailed description is available on:
www.keil.com/.../_compact__web__server__example.html

Use this example to connect an evaluation board to a LAN with router.
You may also connect an evaluation board to PC directly using a direct
or crosslink network cable.
To connect to the HTTP server you can use auto-assigned IPv6 address,
IPv4 address assigned by the DHCP server or NBNS resolved local host name.

To test this example, open your web browser and enter the
address http://mcbstm32f400/ or http://<boards IP address>

IPv4 and IPv6 addresses are printed on display of evaluation board.

Default user : admin
Default password: <none>

The HTTP_Server example is available for multiple targets:

MCBSTM32F400 V1.1: Standalone application for MCBSTM32F400 V1.1 board using ST802RT1 Ethernet PHY. Program code is loaded into on-chip flash.

MCBSTM32F400 V1.2: Standalone application for MCBSTM32F400 V1.2 board using KSZ8081RNA Ethernet PHY. Program code is loaded into on-chip flash.
/***End of Abstract file***/

However, both my PC and board can not get ip v4 address, and no matter I input host name or ip v6 address in browser, I couldn't make it works. Anything I did wrong?

Thanks a lot.
Mark

Parents
  • Are you connecting your board and PC with same LAN cable ?

    Or are you connecting the board with different LAN, connected to the network ?

    If it is same cable then you would have to turn off the DHCP in configuration file in your project.

Reply
  • Are you connecting your board and PC with same LAN cable ?

    Or are you connecting the board with different LAN, connected to the network ?

    If it is same cable then you would have to turn off the DHCP in configuration file in your project.

Children
No data