Electronic Components Datasheet Search
  English  ▼

X  

TMP89FS60 Datasheet(PDF) 369 Page - Toshiba Semiconductor

Part # TMP89FS60
Description  8 Bit Microcontroller
PDF  410 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TOSHIBA [Toshiba Semiconductor]
Direct Link  http://www.semicon.toshiba.co.jp/eng
Logo TOSHIBA - Toshiba Semiconductor

TMP89FS60 Datasheet(HTML) 369 Page - Toshiba Semiconductor

Back Button TMP89FS60 Datasheet HTML 365Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 366Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 367Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 368Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 369Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 370Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 371Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 372Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 373Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 369 / 410 page
background image
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".



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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