![]() CATEGORIES: BiologyChemistryConstructionCultureEcologyEconomyElectronicsFinanceGeographyHistoryInformaticsLawMathematicsMechanicsMedicineOtherPedagogyPhilosophyPhysicsPolicyPsychologySociologySportTourism |
Short Command Format
Long Command Format
Reply Format
POKE (0x03) The POKE command is used to write the device memory. The supervisor processor will not permit a POKE into flash memory when any Application Module is running. Each 512 byte block of supervisor processor flash memory has a lifetime of only 20,000 write cycles. One cycle is consumed for each POKE command that accesses a particular block. This lifetime is more than sufficient for occasional software patches, but the user is cautioned that a looping sequence of POKE commands could easily wear out a block. The supervisor processor has no restriction on the alignment or length of a poke. The functional processor can perform only the following pokes:
Command Format
Reply Format
DIAGNOSTIC Command (0x04) The DIAGNOSTIC command gathers error count data from the supervisor. Command Format
Reply Format
STORE Command (0x05) The STORE command saves the supervisor processor parameter file to non-volatile memory. It will only function in idle mode. Command Format
Reply Format
6.11. CRC Command (0x06) [Supervisor Processor Only] Command 0x06 is interpreted by the supervisor processor as a CRC request. The CRC command is used to calculate a checksum on an area of memory. Any of the memory spaces may be addressed, and the calculation window may be as large as desired provided that it does not contain any unimplemented memory. The CRC uses the same 16-bit polynomial, with the same bit order, as is used for NSP messages. The CRC command can potentially be used to request the CRC of the supervisor processors entire 128 kB flash memory. This can take a number of seconds, especially in bootloader mode where the system clock is much slower. Command Format
Reply Format
6.12. FLASH Command (0x06) [Functional Processor Only] Command 0x06 is interpreted by the functional processor as a FLASH request. The first byte of the data field is consulted to determine which subcommand is required. Table 27: FLASH Subcommands
The NAND flash memory is divided into pages (2 kB each), and blocks (128 kB each). A 2 kB page buffer is maintained in RAM, and allows multiple NSP messages to interact with individual pages. The NAND flash is protected by Error Correcting Codes (ECC) which are generally invisible to the user. The codes can correct 1 bit error in a 512 byte section. NAND flash can be additionally protected using the backup feature, where a block is assigned a second backup block to be used in case of failure. Read Page Buffer The Read Buffer subcommand reads the current contents of the page buffer. Note that this command is of no use until another command has been used to put data into the page buffer. The command is available in long and short variants. Date: 2015-12-17; view: 795
|