Electronic Components Datasheet Search
  English  ▼

X  

M68HC08 Datasheet(PDF) 38 Page - Freescale Semiconductor, Inc

Part # M68HC08
Description  Microcontrollers
PDF  188 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

M68HC08 Datasheet(HTML) 38 Page - Freescale Semiconductor, Inc

Back Button M68HC08 Datasheet HTML 34Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 35Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 36Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 37Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 38Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 39Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 40Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 41Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 42Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 38 / 188 page
background image
Memory
Data Sheet
MC68HC908RF2 — Rev. 4.0
38
Memory
MOTOROLA
This routine erases the block of FLASH defined by H:X and CTLBYTE. The
algorithm defined in 2.5.3 FLASH 2TS Erase Operation is used.
Preserves the contents of H:X (address passed)
2.5.8.4 REDPROG Routine
Name:
REDPROG
Purpose:
This routine will use a range of multiple rows in the FLASH array to emulate
increased write/erase cycling capability of one row.
Entry conditions:
H:X
Contains the address of the first row in the range. This address must
be the first address of a row (multiple of eight bytes)
LADDR
Address of last row in the range; must be the first address of a row
(multiple of eight bytes)
DATA
Data to program in the row (bit 7 of DATA + 0 is used internally and
will be overwritten). Routine will always use 8 bytes starting at DATA
BUMPS
Contains the maximum allowable number of programming bumps to
use
CPUSPD
Contains the bus frequency times 4 in MHz
DERASE
Contains the erase delay time in
µs/24
Exit conditions:
C bit
Set if successful program; cleared otherwise
I bit
Set, masking interrupts
This routine uses a range of the FLASH array containing multiple rows to emulate
increased write/erase cycling capability for data storage. The routine will write data
to each row of the FLASH array (in the range defined) upon subsequent calls. The
number of rows is the difference between the value in H:X and LADDR, divided
by 8.
A row is the minimum range that can be programmed with the REDPROG routine.
All rows in the range will be programmed once before any are programmed again.
This approach is taken to ensure that all rows reach the end of lifetime at
approximately the same time.
A special bit will be maintained by the routine, called a cycling bit, in each row. This
bit is used to ensure that the data is programmed to all the rows defined in the
range. This is the high bit of the first byte in each row. This bit cannot be used to
store user data. It will be modified by the REDPROG routine. This is at bit 7 of the
byte at address DATA+0.
To determine which row to program, the algorithm will step from the first to the last
row in a range looking for the first row whose cycling bit is different from the first. If
all rows contain the same cycling bit, then the first row will be used.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



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