0: Erases selected number of blocks strating from selected block 1: Writes data to specified SD block address.
Data to be entered in Hyper Terminal using PC keyboard 2: Readss data of specified SD block address. Writes selected number of blocks strating from selected block 4.
5: Displays list of available directories and files with size (in the root directory of the card) 6: Reads a specified file and displays the file contents on Hyper Terminal 7: Create/Append file with specified name, enter text from Hyper Terminal 8: Deletes any existing file with specified name 9: Displays total & free memory of the card (using FSinfo sector of the SD card) Following figures show the Hyper Terminal window when options 5 & 9 are selected: Following files are compiled using win AVR inside AVRStudio. The initialization sequence and command formats are modified.
- A bug which was causing the program flow to go into infinite loop if the character number 512 in a sector was a CR (Carriage Return, '\r'), in the write File function. - Code is also tested successfully at 16MHz clock (8MHz SPI clock) with for SD/SDHC cards.
I suspect a network driver or network hardware issue, but since I'm already running the latest drivers I'm not sure what to do about it. In response to the comment asking for hardware details, the server is an Intel SR1670HV, which is 1U chassis containing two independent S5500HV motherboards.
Communication is via the motherboards' integrated NICs which are Intel 82574L. I have had a simular problem with Cent OS images on a MS hyper V server.
Both hosts as well as the storage server are running the latest network drivers downloaded directly from Intel's website.
I have a strange intermittent connectivity problem happening about once every two weeks.On those hosts I am running two VM's each running Windows Server 2008 R2 Web edition with SP1.My storage server is Windows Storage Server 2008 connected via i SCSI.I started with raw data transfer, sending some data to any block of the micro SD, reading a block of it, reading and writing multiple blocks, erasing multiple blocks. I used RS232 for viewing the data read by microcontroller from SD card. Similarly, to write data to card, the data was fed thru Hyper Terminal, by typing some text.Once raw data transfer achieved, I formatted the card with windows XP (FAT32) and loaded it with some text files, directories and other files (all stored in root directory of the card).