| Electronic Components Datasheet Search |
|
TMP89FS60 Datasheet(PDF) 369 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP89FS60 Datasheet(HTML) 369 Page - Toshiba Semiconductor |
|
369 / 410 page ![]() Page 355 TMP89FS60 RA002 22.10Checksum (SUM) For the following operation commands, a checksum is returned to verify the appropriateness of the result of com- mand execution: - Flash memory erase command (0xF0) - Flash memory write command (0x30) - Flash memory SUM output command (0x30) - Flash memory read command (0x40) - RAM loader command (0x60) - Product ID code output command (0xC0) - Flash memory status output command (0xC3) 22.10.1Calculation method The checksum (SUM) is calculated with the sum of all bytes, and the obtained result is returned as a word. The data is read in single-byte units, and the calculated result is returned as a word. Example: In the case of the product ID code output command and flash memory status output command, however, a different calculation method is used. For more information, refer to Table 22-19. 22.10.2Calculation data Table 22-19 shows the data for which a checksum is calculated for each command. 0xA1 If the data to be calculated consists of four bytes as shown on the left, the checksum of the data is as follows: 0xB2 0xA1 + 0xB2 + 0xC3 + 0xD4 = 0x02EA SUM (HIGH)= 0x02 SUM (LOW)= 0xEA 0xC3 0xD4 Table 22-19 Data for which a Checksum Is Calculated Operation command Calculation data Description Flash memory erase command All data in the erased area of flash mem- ory (whole or part of flash memory) When the sector erase is executed, only the erased area is used to calculate the checksum. In the case of the chip erase, an entire area of the flash memory is used. Flash memory write command Data in the entire area of flash memory Even if a part of the flash memory is written, the checksum of the entire flash memory area (0x1000 to 0xFFFF) is calcu- lated. The data length, address, record type and checksum in Intel Hex format are not included in the checksum. Flash memory SUM output com- mand Flash memory read command Data in the read area of flash memory RAM loader command RAM data written in the first received RAM address through the last received RAM address The length of data, address, record type and checksum in Intel Hex format are not included in the checksum. Product ID code output command 9th through 18th bytes of transferred data For details, refer to "22.8.6 Product ID code output command (operation command: 0xC0)". Flash memory status output com- mand 9th through 12th bytes of transferred data For details, refer to Table "Table 22-14 Flash Memory Status Output Commands". |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |