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:
gsteiert
Date:
Thu Aug 07 03:32:26 2014 +0000
Parent:
5:27b09a0f3fb6
Child:
7:04744a9ce2b9
Commit message:
Committing forked copy of HTTP SD Server fro the FRDM-K64F board

Changed in this revision

EthernetInterface.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-rtos.lib Show annotated file Show diff for this revision Revisions of this file
--- a/EthernetInterface.lib	Wed Aug 06 03:35:59 2014 +0000
+++ b/EthernetInterface.lib	Thu Aug 07 03:32:26 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/EthernetInterface/#f6ec7a025939
+http://mbed.org/users/mbed_official/code/EthernetInterface/#f69b81aa9eb1
--- a/main.cpp	Wed Aug 06 03:35:59 2014 +0000
+++ b/main.cpp	Thu Aug 07 03:32:26 2014 +0000
@@ -12,8 +12,9 @@
 
 Serial uart(USBTX, USBRX);
 
-SDFileSystem sd(p5, p6, p7, p8, "sd"); // LPC1768 MBD2PMD
+//SDFileSystem sd(p5, p6, p7, p8, "sd"); // LPC1768 MBD2PMD
 //SDFileSystem sd(P0_18, P0_17, P0_15, P0_16, "sd"); // Seeeduino Arch Pro SPI2SD
+SDFileSystem sd(PTE3, PTE1, PTE2, PTE4, "sd"); // K64F
 
 EthernetInterface eth;
 TCPSocketServer server;
--- a/mbed-rtos.lib	Wed Aug 06 03:35:59 2014 +0000
+++ b/mbed-rtos.lib	Thu Aug 07 03:32:26 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed-rtos/#4ef72665e2c8
+http://mbed.org/users/mbed_official/code/mbed-rtos/#34e80e862021