AquaRead File Allocation Table

by Oistein last modified Nov 15, 2007 10:41 AM
Up to System integration and telemetry

AquaRead File Allocation Table

Posted by Oistein at November 15. 2007

Quote

Using the Aquadopp via comms port.

question 1
According to the PdInterface document the reply to a "RF" command returns the FAT record. This appears to be 32 records of 16 bytes each. The start and end addresses take up 4 bytes each. If writing in C what is the data type of the start address data when read in......is it 4 bytes as an unsigned long??

for example the data read back from RF command has byte 8 through byte 11 as...
        0h00, 0h70, 0h00, 0h00
as the start address

I assume this represents 0h 00,00,70,00 or 28672 decimal is this correct???

question 2
in one of the returned data sets the start address equals the end address.....does this suggest that no data had been recorded since I turned the unit on? why doesn't the start address start at 0h00000000?


Q1: Yes.

Q2: Yes. The data block starts at adress 0x7000 (28672). The area 0x0000 - 0x7000 holds the FAT and various configuration info.

Best regards,
Oistein

Current state: Being created
Powered by Ploneboard
Document Actions
Log in


Forgot your password?
New user?