HTTP SD Card File Server

Dependencies:   SDFileSystem WIZnetInterface mbed

Fork of HTTP_SD_Server_K64F by FRDM-K64F Code Share

Prerequisite

This Program is the example how to show SD card file list with web-browser for WIZwiki-W7500.

To implement this function, you need a Platform board, network Interface board and SD card. Below are what we used.

  • WIZwiki-W7500 from WIZnet (Platform board and Ethernet I/F board)
  • SD card

Hardware Configuration

WIZwiki-W7500 Pin map

pin map

Software

SPI Initialization

main.cpp

SDFileSystem sd(PB_3, PB_2, PB_1, PB_0, "sd");

Refer to ....

Files at this revision

API Documentation at this revision

Comitter:
MidnightCow
Date:
Thu Jul 30 02:21:13 2015 +0000
Parent:
8:4b43259a1e33
Commit message:
Test

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 4b43259a1e33 -r d0615c97295e main.cpp
--- a/main.cpp	Fri Jun 26 01:17:43 2015 +0000
+++ b/main.cpp	Thu Jul 30 02:21:13 2015 +0000
@@ -124,6 +124,7 @@
 //    EthernetInterface eth;
     uart.printf("Initializing Ethernet\n");
     //eth.init(); //Use DHCP
+    //eth.init((uint8_t*)MAC);    // Use DHCP for WIZnetInterface
     eth.init((uint8_t*)MAC,IP,MASK,GATEWAY);  //IP,mask,Gateway
     uart.printf("Connecting\n");
     eth.connect();