annotate doc/internal_eeprom.txt @ 582:b455b31ce022

work on 2.97 stable
author heinrichsweikamp
date Mon, 26 Feb 2018 16:40:28 +0100
parents 237afdfb4918
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
397
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
1 - PIC has 1024bytes in 4 banks (bank0-bank3)
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
2
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
3 bank0 (Byte 0-255), EEADRH=0:
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
4 Add: Length: Description: Default: Comment: User:
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
5 -----------------------------------------------------------------------------------------------------------------------------
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
6 0 - 1 2 Serial number LOW:HIGH 0 Set in production mH
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
7 2 - 3 2 number of dives LOW:HIGH 0 Cleared in production mH
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
8 4 - 6 3 Profile pointer for logbook buffer 0 Cleared in production mH
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
9 7 - 12 6 Battery gauge registers LOW:HIGH 0 Cleared when new battery is used mH
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
10 13 - 14 2 Logbook Offset LOW:HIGH 0 Cleared in production mH
447
heinrichsweikamp
parents: 410
diff changeset
11 15 1 battery_type (See code) 0 Cleared in production mH
397
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
12 16 - 17 2 Backup of number of dives 0 Copied with "Logbook reset" mH
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
13 18 - Options x
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
14
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
15 bank1 (Byte 256-511), EEADRH=1:
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
16 Do not use, may be used from options in a future release
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
17
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
18
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
19 bank2 (Byte 512-767), EEADRH=2:
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
20 Decodata Vault
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
21 Add: Length: Description: Default: Comment: User:
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
22 -------------------------------------------------------------------------------------------------------------------------------------
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
23 512 1 0xAA here indicates valid data in vault 0 Cleared in production mH
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
24 513-518 6 YYMMDDHHMMSS of stored data 0 Cleared in production mH
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
25 519-520 2 CNS (16bit) 0 Cleared in production mH 521-522 2 Desat-Time (16bit) 0 Cleared in production mH
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
26 523-524 2 Surface Interval (16bit) 0 Cleared in production mH
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
27 525 1 char_O_gradient_factor 0 Cleared in production mH
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
28 526-527 2 NoFly-Time (16bit) 0 Cleared in production mH
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
29 528-656 128 Tissue Data, 32*4Byte Float = 128Bytes 0 Cleared in production mH
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
30
56f3c7026762 some documentation added
heinrichsweikamp
parents:
diff changeset
31 bank3 (Byte 768-1023), EEADRH=3:
410
d3087a8ed7e1 BUGFIX: Fix rare issue after battery change (OSTC3 did not start properly)
heinrichsweikamp
parents: 397
diff changeset
32 Add: Length: Description: Default: Comment: User:
d3087a8ed7e1 BUGFIX: Fix rare issue after battery change (OSTC3 did not start properly)
heinrichsweikamp
parents: 397
diff changeset
33 -------------------------------------------------------------------------------------------------------------------------------------
475
237afdfb4918 2.12 release candidate...
heinrichsweikamp
parents: 447
diff changeset
34 768 128 Backup of first 128bytes from flash x Copies automatically after update mH
237afdfb4918 2.12 release candidate...
heinrichsweikamp
parents: 447
diff changeset
35 897 1 Button polarity (Bit0=SW1=Right, Bit1=SW2=Left) 0xFF (1= normal, 0=inverted) mH