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

X  

ST10F272M Datasheet(PDF) 38 Page - STMicroelectronics

Part # ST10F272M
Description  16-bit MCU with 256 Kbyte Flash memory and 20 Kbyte RAM
PDF  176 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST10F272M Datasheet(HTML) 38 Page - STMicroelectronics

Back Button ST10F272M_12 Datasheet HTML 34Page - STMicroelectronics ST10F272M_12 Datasheet HTML 35Page - STMicroelectronics ST10F272M_12 Datasheet HTML 36Page - STMicroelectronics ST10F272M_12 Datasheet HTML 37Page - STMicroelectronics ST10F272M_12 Datasheet HTML 38Page - STMicroelectronics ST10F272M_12 Datasheet HTML 39Page - STMicroelectronics ST10F272M_12 Datasheet HTML 40Page - STMicroelectronics ST10F272M_12 Datasheet HTML 41Page - STMicroelectronics ST10F272M_12 Datasheet HTML 42Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 38 / 176 page
background image
Internal Flash memory
ST10F272M
38/176
Doc ID 12968 Rev 3
5.5.7
Access protection
The IFlash module has one level of access protection (access to data both in reading and
writing).
When bit ACCP of FNVAPR0 is programmed at 0 and bit TAUB in XFVTAUR0 is set at 0, the
IFlash module becomes access protected (data in the IFlash module can be read only if the
current execution is from the IFlash module itself).
Trying to read into the access protected Flash from internal RAM or external memories will
output a dummy data (software trap 009Bh).
When the Flash module is protected in access, data access through PEC transfers is also
forbidden. To read/write data through PEC in a protected bank, first it is necessary to
temporarily unprotect the Flash module.
To enable access protection, the following sequence of operations is recommended:
●
Execution from external memory or internal RAM
●
Program TAUB bit at 1 in XFVTAUR0 register
●
Program ACCP bit in FNVAPR0 to 0 using set protection operation
●
Program TAUB bit at 0 in XFVTAUR0 register
●
Access protection is active when both ACCP bit and TAUB bit are set to 0
Protection can be permanently disabled by programming bit PDS0 of FNVAPR1H, in order
to analyze rejects. Protection can be permanently enabled again by programming bit PEN0
of FNVAPR1L. The action to disable and enable again access protections in a permanent
way can be executed a maximum of 16 times. To execute the above described operations,
the Flash has to be temporarily unprotected (see Section 5.5.9: Temporary unprotection).
Trying to write into the access protected Flash from internal RAM or external memories will
be unsuccessful. Trying to read into the access protected Flash from internal RAM or
external memories will output dummy data (software trap 0x009Bh).
When the Flash module is protected in access, data access through PEC of a peripheral is
also forbidden. To read/write data in PEC mode from/to a protected bank, it is necessary to
first temporarily unprotect the Flash module.
The following table summarizes all possible access protection levels: In particular, it shows
what is possible and not possible to do when fetching from a memory (see fetch location
column) supposing all possible access protections are enabled.
Table 24.
Summary of access protection level
Fetch location
Read IFlash /
jump to IFlash
Read XRAM or
external memory/
jump to XRAM or
external memory
Read Flash
registers
Write Flash
registers
Fetching from IFlash
Yes/yes
Yes/yes
Yes
No
Fetching from IRAM
No/yes
Yes/yes
No
No
Fetching from XRAM
No/yes
Yes/yes
No
No
Fetching from external
memory
No/yes
Yes/yes
No
No



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