View previous topic :: View next topic |
Author |
Message |
dan king
Joined: 22 Sep 2003 Posts: 119
|
CCS embedded ethernet kit |
Posted: Tue Feb 16, 2010 8:40 am |
|
|
has anyone managed to get all the examples provided with the CCS embbeded ethernet kit to work? specifically, I'm stuck at the last webserver example webserver2 where the web pages can be stored on a sd/mmc card. I am able to get the mpfs version to work with the pages stored in ROM but any attempt to use the mmc storage has failed. I believe I have configured all of the options correctly to select the fat storage as opposed to mpfs.
I can connect via ftp to the server but all other ftp commands fail. All of the serial routines are running fine as well. I loaded the pages manually with a sd card reader onto a MMC but no success. it appears as though the mmc I/F is the failure because I have been able to get all other examples to work. I even tried to load the supplied .hex for the example and get the same results.
Any input is appreciated.
Rgds,
Dan
btw - compiler CCS PCH C Compiler, Version 4.074
Last edited by dan king on Thu Feb 18, 2010 2:25 pm; edited 1 time in total |
|
|
dan king
Joined: 22 Sep 2003 Posts: 119
|
|
Posted: Tue Feb 16, 2010 12:35 pm |
|
|
Never mind, I found the problem. In fat_pic.c the selection needs to be made between fat and fat32. Once I selected fat the page was hosted properly. I still can't ftp yet through the command line but I'm getting there. |
|
|
dan king
Joined: 22 Sep 2003 Posts: 119
|
new problem |
Posted: Thu Feb 18, 2010 2:25 pm |
|
|
Ok, I've hit another snag with the CCS Embedded Ethernet kit. I have most of the functions working in the webserver2 example EXCEPT the dele ftp command. when I use that command the filesystem becomes corrupt. The contents of the file do get erased but the file name remains and sometimes can't be removed when viewed from XP unless the card is reformatted. Does anyone know if the FAT routines have been updated or know of a fix?
I also tried connecting an SD card and neither fat or fat32 are accessible. I have only had success with mmc. I thought the SPI access of either card type was compatible, someone please correct me if I'm wrong.
Thanks in advance,
Dan |
|
|
a3ka2000
Joined: 26 Feb 2010 Posts: 11
|
|
Posted: Wed Apr 21, 2010 12:39 am |
|
|
Hi, did you manage to complete and make all the examples from CCS embedded ethernet kit work?
No problem at all for tutorial 7b and PING example? |
|
|
|