Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

TMP89FS60 Datasheet(PDF) 322 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) 322 Page - Toshiba Semiconductor

Back Button TMP89FS60 Datasheet HTML 318Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 319Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 320Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 321Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 322Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 323Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 324Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 325Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 326Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 322 / 410 page
background image
Page 308
21. Flash Memory
TMP89FS60
RA003
21.2.2 Flash memory area switching (FLSCR1<FAREA>)
To perform an erase or write on the flash memory, a memory transfer instruction (command sequence) must
be executed. If a memory transfer instruction is used to read or write data, a read or write can be performed
only on the data area. To perform an erase or write on the code area, therefore, part of the code area must be
temporarily switched to the data area. This switching between data and code areas is performed by making the
appropriate FLSCR1<FAREA> setting.
By setting "0xD5" on FLSCR2<CR1EN> after setting FLSCR1<FAREA> to "10", 0x8000 through 0xFFFF
(AREA C1) in the code area is mapped to 0x8000 through 0xFFFF (AREA D1) in the data area.
To restore the flash memory to the initial state of mapping, set FLSCR1<FAREA> to "00", and then set
"0xD5" on FLSCR2<CR1EN>.
All flash memory areas can be accessed by performing the appropriate steps described above and then exe-
cuting the memory transfer instruction on 0x8000 through 0xFFFF (AREA D1) in the data area.
Additionally, access to areas to which memory is not assigned should be avoided by executing an instruction
or specifying such an area by using jump or call instructions.
By setting "0xD5" on FLSCR2<CR1EN> after setting FLSCR1<FAREA> to "01", 0x1000 through 0x7FFF
(AREA D0) in the data area is mapped to 0x9000 through 0xFFFF (AREA D1) in the data area.
By setting "0xD5" on FLSCR2<CR1EN> after setting FLSCR1<FAREA> to "11", 0x1000 through 0x7FFF
(AREA C0) in the code area is mapped to 0x9000 through 0xFFFF (AREA D1) in the data area.
For example, to access 0x4000 in the code area, set "0xD5" on FLSCR2<CR1EN> after setting
FLSCR1<FAREA> to "10", and then execute the memory transfer instruction on 0xC000.
0x1000 through 0xFFFF (AREA D1) in the data area and 0x1000 through 0xFFFF (AREA C1) in the code
area are mirror areas; these two areas refer to the same physical address in memory. Therefore, an erase or write
must be performed on one of these two mirror areas. For example, If a write is performed on 0x8000 in the data
area with FLSCR1<FAREA> set to "10" after performing a write on 0x8000 in the data area with
FLSCR1<FAREA> set to "00", data is overwritten. To write data to the flash memory that already has data writ-
ten to it, existing data must first be erased from the flash memory by performing a sector erase or chip erase, and
then data must be written.



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