Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

TMP88CS38 Datasheet(PDF) 39 Page - Toshiba Semiconductor

Part # TMP88CS38
Description  8-bit single chip microcomputer
PDF  226 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

TMP88CS38 Datasheet(HTML) 39 Page - Toshiba Semiconductor

Back Button TMP88CS38 Datasheet HTML 35Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 36Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 37Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 38Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 39Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 40Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 41Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 42Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 43Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 39 / 226 page
background image
TMP88CS38/CM38A/CP38A
2007-09-12
88CS38-39
1.7.3
Functions
The ROM corrective function can correct maximum four ROM areas with their
corresponding four banks of ROM corrective registers. Either program jump mode or data
replacement mode is selected for each bank by CM0 to CM3 respectively.
(1) Program jump mode
In the program jump mode, the system executes a jump instruction when the
program execution reaches the instruction at the corrective ROM address, skips from
the instruction which would have been executed, and executes an instruction at a
preset jump address.
Clearing ROMCCR CMx (x: 0 to 3) to “0” puts the system in the program jump mode.
Use ROMCDR to set the corrective ROM address and jump address.
When the start address of an erroneous program is a corrective ROM address, and
that of the patch program is a jump address, the bug in the erroneous program can be
fixed. Note that the patch program should end with a jump instruction, which causes a
return to the built-in ROM.
Note:
For program jump mode, the address to be corrected must be the start address of the
instruction.
Example 1: Setting the program correction circuit with the initial routine
Using the initial routine program, which is executed right after reset, set the
program correction circuit's register and stores the patch program into the built-in
RAM as follows.
1. Read the flag, which indicates whether to use the program correction circuit, from
the external memory.
2. If that circuit is not used, perform normal initial processing.
3. If it is used, clear CMx to 0 to establish the program jump mode.
4. Read the corrective ROM address and jump address from the external memory.
5. Set the corrective ROM address and jump address, which were read in step “4.”, in
ROMCDR.
6. Read the number of bytes for the patch program from the external memory.
7. Read the program with a number of bytes, equal to the byte count read in step “6.”,
from the external memory, and store that program into the built-in RAM.
8. Repeat steps “4.” through “7.” as many times as there are required banks.
Example 2: There is bugs on the locations from 0C020H to 0C085H
The corrective address, the jump vector, the program patch codes and other
information to patch the ROM with the bugs must be read out from any of memory
storage that holds them during initial program routine. CMn
= 0 specifies the
program jump mode. Subsequently, the patch program codes are loaded into RAM
(00600H to 006EFH). The start address (0C020H) of the ROM necessary to patch
is written to the corrective ROM address registers, and the start address (00600H)
of the RAM area to patch is loaded onto the jump address registers. When the
instruction at 0C020H is fetched, the instruction to jump into 00600H is
unconditionally executed instead of the instruction at 0C020H, and the
subsequent patch program codes are executed. The jump instruction at the end of
the patch program codes returns to the ROM at 0C086H.



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