Total Units Connected: 2196

SPE Series Differences

Seriesg18g20/24X
Processor'F149'F169'F2618
RAM Size2KB8KB
Flash Size60KB116KB
Main code space0x1600-0xFBFF0x03600-0x0F7FF
Bootloader code space0xFC00-0xFFFF0x0F800-0x0FFFF
Extended code spaceN/A0x10000-0x1FFFF
Signature block0xFB80-0xFBBF0x0F770-0x0F7BF
HSN address0xFFC00x0FF00
Checkword address0xFB820x0F7BC
Checkword value0x21520xC6A50x7C08
Dataflash image segments21 and 2

Signature block structure for 16 bit ('F149/'F169) versions

typedef struct {
    word    CodeCRC;
    word    CheckWord;
    struct {
        word    StartAddr;
        word    EndAddr;
        } BlkCRC[2];
    char    Signature[34];
    } SPESigBlk;

Signature block structure for 20 bit ('F2618) version

In this version the fields have been re-ordered to put the CRC last. This allows for a single address range to cover from the start of code to the byte before the CRC. The second address range would normally cover the extended memory and the third would be spare. Note that the addresses are now extended to dwords.

typedef struct {
    char    Signature[48];
    struct {
        dword   StartAddr;
        dword   EndAddr;
        } BlkCRC[3];
    dword   SpareDWord;
    word    CheckWord;
    word    CodeCRC;
    } SPEXSigBlk;