Difference between revisions of "MSP430 Datalogger"

From DIDEAS Wiki
Jump to: navigation, search
m
 
 
(100 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==SD Card Preperation==
+
[[Main Page]]
  
The following information was created and verified using Windows 2000 SP4.
+
=[[Datalogger Setup]]=
 +
Discussion of preparing the laboratory PC for working with the datalogger.
  
Format card using FAT16 and a large cluster size:
+
[[Image:datalog.jpg|right|thumb|160px|SD LOG]]
  
 +
=[[Datalogger Use | Laboratory use of the Datalogger]]=
  
format <drive_letter> /FS:FAT /A:16K /VL
+
Discussion of programming the datalogger, preparing the SD card, etc.
  
 +
=[[Datalogger Field | Field use of the Datalogger]]=
  
A cluster size of 16K was the largest permited with the SD 128MB card. Possibly a smaller cluster size will need to be used with a smaller SD card.
+
=Information and Specs=
 +
*[http://www.sandisk.com/oem/default.asp Sandisk OEM info for SD and MMC]
  
 +
*[http://www.dideas.com/docs/datalogger/datasheet/ Datasheets and application notes]
  
Copy the file XXX to the SD card.  This binary file contains a single value (0xFF) and is designed to overwrite previous data on the card and most importantly to cause windows to create a single FAT file chain the starts with cluster 2, 3, 4, 5, ..., last available cluster.
+
*[[DS1339 Discussion]]
  
 +
=[[DL6F Issues]]=
  
Using the windows un
+
Known problems with the DL6F design and workarounds
  
=== How the datalogger chooses where to write data on the SD card==
+
=[[SD / MMC Requirements and Test Results]]=
The datalogger only consults the SD card's FAT when the card is inserted and thus does not modify the FAT or follow it. At insertion the partition table, boot record, and root directy are analyzed ultimatly to find the cluster number of a single file "datalog0.txt".  If the file doesn't exist then the logger stops and waits for a card insertion event. If the file is found then the starting cluster is read and from that the LBA (logical block address) of the start of the file is calculated. The datalogger will then using a binary search algorithm searching the card's complete data area to locate "end of file". End of file is define as the last sector that does NOT start with 4 bytes of 0xFF.  Writing will comence with the first LBA that does contain 0xFFFFFFFF.
+
 
 +
Results of various SD and MMC cards.
 +
 
 +
=[[DL6F delivery | Delivered and Status]]=
 +
 
 +
Dates of deliveries and project status.
 +
 
 +
=[[DL6F Assembly | Assembly Documentation]]=
 +
 
 +
Bill of materials and assembly documentation

Latest revision as of 19:31, 9 August 2006

Main Page

Datalogger Setup

Discussion of preparing the laboratory PC for working with the datalogger.

SD LOG

Laboratory use of the Datalogger

Discussion of programming the datalogger, preparing the SD card, etc.

Field use of the Datalogger

Information and Specs

DL6F Issues

Known problems with the DL6F design and workarounds

SD / MMC Requirements and Test Results

Results of various SD and MMC cards.

Delivered and Status

Dates of deliveries and project status.

Assembly Documentation

Bill of materials and assembly documentation