Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

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

Part # M68HC08
Description  M68HC08 Microcontrollers
PDF  172 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) 29 Page - Freescale Semiconductor, Inc

Back Button M68HC08 Datasheet HTML 25Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 26Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 27Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 28Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 29Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 30Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 31Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 32Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 33Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 172 page
background image
FLASH Page Erase Operation
MC68HC908JL3E Family Data Sheet, Rev. 3
Freescale Semiconductor
29
PGM — Program Control Bit
This read/write bit configures the memory for program operation. This bit and the ERASE bit should
not be set to 1 at the same time.
1 = Program operation selected
0 = Program operation not selected
2.8 FLASH Page Erase Operation
Use the following procedure to erase a page of FLASH memory. A page consists of 64 consecutive bytes
starting from addresses $XX00, $XX40, $XX80 or $XXC0. The 48-byte user interrupt vectors area also
forms a page. Any page within the 4K bytes user memory area ($EC00–$FBFF) can be erased alone.
The 48-byte user interrupt vectors cannot be erased by the page erase operation because of security
reasons. Mass erase is required to erase this page.
1.
Set the ERASE bit and clear the MASS bit in the FLASH Control Register.
2.
Write any data to any FLASH address within the page address range desired.
3.
Wait for a time, tnvs (10µs).
4.
Set the HVEN bit.
5.
Wait for a time tErase (1ms).
6.
Clear the ERASE bit.
7.
Wait for a time, tnvh (5µs).
8.
Clear the HVEN bit.
9.
After time, trcv (1µs), the memory can be accessed in read mode again.
NOTE
Programming and erasing of FLASH locations cannot be performed by
code being executed from the FLASH memory. While these operations
must be performed in the order as shown, but other unrelated operations
may occur between the steps.
2.9 FLASH Mass Erase Operation
Use the following procedure to erase the entire FLASH memory:
1.
Set both the ERASE bit and the MASS bit in the FLASH Control Register.
2.
Write any data to any FLASH location within the FLASH memory address range.
3.
Wait for a time, tnvs (10µs).
4.
Set the HVEN bit.
5.
Wait for a time tMErase (4ms).
6.
Clear the ERASE bit.
7.
Wait for a time, tnvh1 (100µs).
8.
Clear the HVEN bit.
9.
After time, trcv (1µs), the memory can be accessed in read mode again.
NOTE
Programming and erasing of FLASH locations cannot be performed by
code being executed from the FLASH memory. While these operations
must be performed in the order as shown, but other unrelated operations
may occur between the steps.



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