поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

M38049FFHKP датащи(PDF) 284 Page - Renesas Technology Corp

номер детали M38049FFHKP
подробное описание детали  8-BIT CISC SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
PDF  387 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  RENESAS [Renesas Technology Corp]
домашняя страница  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

M38049FFHKP датащи(HTML) 284 Page - Renesas Technology Corp

Back Button M38049FFHKP Datasheet HTML 280Page - Renesas Technology Corp M38049FFHKP Datasheet HTML 281Page - Renesas Technology Corp M38049FFHKP Datasheet HTML 282Page - Renesas Technology Corp M38049FFHKP Datasheet HTML 283Page - Renesas Technology Corp M38049FFHKP Datasheet HTML 284Page - Renesas Technology Corp M38049FFHKP Datasheet HTML 285Page - Renesas Technology Corp M38049FFHKP Datasheet HTML 286Page - Renesas Technology Corp M38049FFHKP Datasheet HTML 287Page - Renesas Technology Corp M38049FFHKP Datasheet HTML 288Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 284 / 387 page
background image
2-160
APPLICATION
2.13 Flash memory mode
Rev.1.00 Jan 14, 2005
REJ09B0212-0100Z
3804 Group (Spec.H)
2.13.6 CPU rewrite mode
In the CPU rewrite mode, issuing software commands through the Central Processing Unit (CPU) can
rewrite the built-in flash memory. Accordingly, the contents of the built-in flash memory can be rewritten
with the microcomputer itself mounted on board, without using the programmer.
Store the rewrite control program to the built-in flash memory in advance. The built-in flash memory cannot
be read in the CPU rewrite mode. Accordingly, after transferring the rewrite control program to RAM,
execute it on the RAM.
The following commands can be used in the CPU rewrite mode: read array, read status register, clear
status register, program, and block erase. For details concerning each command, refer to “CHAPTER 1
Flash memory mode (CPU rewrite mode)”.
(1)
CPU rewrite mode beginning/release procedures
Operation procedure in the CPU rewrite mode for the built-in flash memory is described below.
[Beginning procedure]
➀ Apply “H” to the CNVSS pin and P45/TxD1 pin (at selecting boot ROM area).
➁ Release reset.
➂ Set bits 6 and 7 (main clock division ratio selection bits) of the CPU mode register. (Make sure
that system clock
φ is less than 4.0 MHz.)
➃ After CPU rewrite mode control program is transferred to internal RAM, jump to this control
program on RAM. (The following operations are controlled by this control program).
➄ Set “1” to the CPU rewrite mode select bit (bit 1 of address 0FFE16).
For this bit to be set to “1”, the user needs to write “0” and then “1” to it in succession.
➅ Set “1” to the all user block E/W enable bit (bit 4 of address 0FE216). Set the 8 KB user block
E/W enable bit. (Set to “0” when E/W is disabled, and set to “1” when E/W is enabled.)
For these bits to be set to “1”, the user needs to write “0” and then “1” to those in succession.
➆ Flash memory operations are executed by using software commands.
Note 1: The following procedures are also necessary.
• Control for data which is input from the external (serial I/O etc.) and to be programmed
to the flash memory.
• Initial setting for ports, etc.
• Writing to the watchdog timer
[Release procedure]
➀ Execute the read array command.
➁ In order to disable E/W to the user ROM area (except for data block), set “0” to the all user block E/
W enable bit (bit 4 of 0FE216) and the 8 KB user block E/W enable bit (bit 2 of 0FE016) (Note 2).
➂ Set the CPU rewrite mode select bit (bit 1 of address 0FFE16) to “0”.
➃ Jump from the CPU rewriting control program on RAM to the user program on the flash memory.
Note 2: Although E/W inhibition is not indispensable, the safety of system improves by disabling
E/W except the time of E/W execution.



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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