More questions...
I don't know how to make FRDM-K64 SDK project, lwip_httpsrv_bm, work.
Based on readme.txt,
Overview
========
The lwip_httpsrv demo application demonstrates an HTTPServer on the lwIP TCP/IP stack with bare metal SDK or FreeRTOS. The user uses an Internet browser to send a request for connection. The board acts as an HTTP server and sends a Web
page back to the PC.
... I don't know exactly what to put as "host" IP as stated on step 4 preparation here below because 192.168.0.100 does not work on Chrome browser.
Prepare the Demo
================
1. Connect a USB cable between the PC host and the OpenSDA(or USB to Serial) USB port on the target board.
2. Open a serial terminal on PC for OpenSDA serial(or USB to Serial) device with these settings:
- 115200 baud rate
- 8 data bits
- No parity
- One stop bit
- No flow control
3. Insert the Ethernet Cable into the target board's RJ45 port and connect it to your PC network adapter.
4. Configure the host PC IP address to 192.168.0.100.???
5. Open a web browser.
6. Download the program to the target board.
7. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
*** This result does not happen... "website can't be reached" ***
Running the demo
================
1. When the demo runs successfully, the terminal will display the following:
Initializing PHY...
************************************************
HTTP Server example
************************************************
IPv4 Address : 192.168.0.102
IPv4 Subnet mask : 255.255.255.0
IPv4 Gateway : 192.168.0.100
************************************************
2. On the browser address bar, type 192.168.0.102(ip address of the board).
The browser should respond as shown below:
lwIP - A Lightweight TCP/IP stack
The web page you are watching was served by a simple web server running on top of the lightweight TCP/IP stack lwIP.
... etc...
... NOT GETTING THAT website on Chrome brower.
WHAT AM I MISSING? What am I doing wrong? Why this LWIP SDK not working as simple non-OS, mainloop program to display that website?
SHOULD I ASK our IT department to enable access to that board's website? I mean there is NO security issue message. It just says, "... can't be reached".
NOTE: I'm using an Ethernet switch with 3 cables: 1 from the wall to the switch. 1 from switch to my PC. 1 from switch to FRDM-K64 RJ45. Is there something wrong in that setup?
Please let me know what to do to make this run properly.
Thanks.
MI