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

X  

R8C2K Datasheet(PDF) 398 Page - Renesas Technology Corp

Part # R8C2K
Description  RENESAS MCU R8C FAMILY / R8C/2x SERIES
PDF  471 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R8C2K Datasheet(HTML) 398 Page - Renesas Technology Corp

Back Button R8C2K Datasheet HTML 394Page - Renesas Technology Corp R8C2K Datasheet HTML 395Page - Renesas Technology Corp R8C2K Datasheet HTML 396Page - Renesas Technology Corp R8C2K Datasheet HTML 397Page - Renesas Technology Corp R8C2K Datasheet HTML 398Page - Renesas Technology Corp R8C2K Datasheet HTML 399Page - Renesas Technology Corp R8C2K Datasheet HTML 400Page - Renesas Technology Corp R8C2K Datasheet HTML 401Page - Renesas Technology Corp R8C2K Datasheet HTML 402Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 398 / 471 page
background image
R8C/2K Group, R8C/2L Group
20. Flash Memory
Rev.1.10
Dec 21, 2007
Page 381 of 450
REJ09B0406-0110
20.4.3.2
Suspend Function
The suspend function halts auto-erasure and auto-programming temporarily while these operations are in
progress. This function is used for interrupt handling as the user ROM area can be read after the above
operations have been suspended.
When using erase-suspend or program-suspend in EW0 mode, first check the status of the flash memory in the
interrupt routine and then enter erase-suspend or program-suspend. Figure 20.15 shows the Timing of Suspend
Operation in EW0 Mode.
The procedure for entering erase-suspend during auto-erase operation is as follows:
(1) Set the FMR40 bit to 1 (suspend enabled)
(2) Set the FMR41 bit to 1 (erase-suspend request).
(3) Wait for td (SR-SUS).
(4) Confirm that the FMR46 bit is set to 1 (reading enabled)
(5) Access the user ROM area.
(6) When the FMR41 bit is set to 0 (erasure restarts), auto-erase operation restarts.
The procedure for entering program-suspend during auto-programming operation is as follows:
(1) Set the FMR40 bit to 1 (suspend enabled)
(2) Set the FMR42 bit to 1 (program-suspend request).
(3) Wait for td (SR-SUS).
(4) Confirm that the FMR46 bit is set to 1 (reading enabled)
(5) Access the user ROM area.
(6) When the FMR42 bit is set to 0 (programming restarts), auto-programming operation restarts.
Figure 20.15
Timing of Suspend Operation in EW0 Mode
FMR00 bit in
FMR0 register
FMR46 bit in
FMR4 register
FMR44 bit in
FMR4 register
FMR43 bit in
FMR4 register
1
0
1
0
1
0
1
0
Erasure
starts
Erasure
suspends
Programming
starts
Programming
suspends
Programming
restarts(1)
Programming
ends
During erasure
During programming
During programming
Erasure
restarts
Erasure
ends
During erasure
Check that the
FMR43 bit is set to 1
(during erase
execution), and that
the erase-operation
has not ended.
Check that the
FMR44 bit is set to 1
(during program
execution), and that
the program has not
ended.
Check the status,
and that the
programming ends
normally.
Check the status,
and that the
erasure ends
normally.
NOTE:
1. If program-suspend is entered during erase-suspend, restart programming first.
The above figure shows an example of the use of program-suspend during programming following erase-suspend.
FMR41 bit in
FMR4 register
FMR42 bit in
FMR4 register
1
0
1
0
Set to 1 by a program
Set to 1 by
a program
Set to 0 by a program
Set to 0 by a program
Remains 1 during suspend
Remains 0 during suspend



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