Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

flash.h

00001 /* The flash header is filled in by the coffConv program, and read by the
00002    MDSP loadCode routine. It is the 1st entry after the 64K internal program
00003    memory (IPRAM) section in the program's 512K flash ROM. Directly after the
00004    header is a small amount of memory reseved for the .cinit (c initialization)
00005    table. The last word of the header contains the checksum; this is skipped
00006    over by loadCode's checksum calculation routines & is compared with the
00007    final computed checksum. */
00008 
00009 #define FLASH_SIZE             0x80000
00010 #define FLASH_HEADER_REVISION  100
00011 
00012 typedef struct FlashHeader {
00013     UINT32 revision;
00014     UINT32 headerSize;    //In words.
00015     UINT32 cinitSize;     //In words.
00016     UINT32 nSect;
00017 
00018     UINT32 flashUsed;
00019     UINT32 flashSize;
00020     UINT32 unused;
00021     UINT32 checksum;
00022 } FlashHeader;

Generated on Thu Dec 15 21:14:26 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5