PASMX's .OBJ file setup data definition Within the .OBJ files produced by PASMX are records (lines) containing setup information which PEPX uses to determine the device type, id, fuses, etc. The contents of these records are as follows: ID RECORD :08400000xx00xx00xx00xx00xx ³³ ³ ³ ³ ³ colon begins record ÄÄÙ³ ³ ³ ³ ³ record has 8 data bytes (4 words) ÄÄÄÙ ³ ³ ³ ³ record address = 4000h ÄÄÄÄÄÙ ³ ³ ³ record type = data ÄÄÄÄÄÄÄÄÄÙ ³ ³ 4 ID words: 7-bits, 0, 7-bits, 0,... ÄÄÄÄÄÄÄÄÄÄÄÙ ³ checksum byte (all bytes sum to 0) ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ FUSES RECORD :02400E000x00xx ³³ ³ ³ ³ ³ colon begins record ÄÄÙ³ ³ ³ ³ ³ record has 2 data bytes (1 word) ÄÄÄÙ ³ ³ ³ ³ record address = 400Eh ÄÄÄÄÄÙ ³ ³ ³ record type = data ÄÄÄÄÄÄÄÄÄÙ ³ ³ device fuses word: see Note ÄÄÄÄÄÄÄÄÄÄÄÙ ³ checksum byte (all bytes sum to 0) ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Note: The device fuse bits are arranged as follows: bit # 543210 ³³³³³³ ³³³³ÀÁÄÄ oscillator type: 00=LP, 01=XT, 10=HS, 11=RC ³³³ÀÄÄÄÄ WDT disable: 0=disabled, 1=enabled ³³ÀÄÄÄÄÄ PWRT disable: 0=disabled, 1=enabled ÀÁÄÄÄÄÄÄ code protect enable: 00=enabled, 01 or 11=disabled DEVICE RECORD :024010000x00xx ³³ ³ ³ ³ ³ colon begins record ÄÄÙ³ ³ ³ ³ ³ record has 2 data bytes (1 word) ÄÄÄÙ ³ ³ ³ ³ record address = 4010h ÄÄÄÄÄÙ ³ ³ ³ record type = data ÄÄÄÄÄÄÄÄÄÙ ³ ³ device type: '71,'84,'64,'74 = 0...3 ÄÄÄÄÄÄÄÄÄÄÄÙ ³ checksum byte (all bytes sum to 0) ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ