전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

ST10F168-Q3 데이터시트(PDF) 17 Page - STMicroelectronics

부품명 ST10F168-Q3
상세설명  16-BIT MCU WITH 256K BYTE FLASH MEMORY AND 8K BYTE RAM
PDF  74 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST10F168-Q3 데이터시트(HTML) 17 Page - STMicroelectronics

Back Button ST10F168-Q3 Datasheet HTML 13Page - STMicroelectronics ST10F168-Q3 Datasheet HTML 14Page - STMicroelectronics ST10F168-Q3 Datasheet HTML 15Page - STMicroelectronics ST10F168-Q3 Datasheet HTML 16Page - STMicroelectronics ST10F168-Q3 Datasheet HTML 17Page - STMicroelectronics ST10F168-Q3 Datasheet HTML 18Page - STMicroelectronics ST10F168-Q3 Datasheet HTML 19Page - STMicroelectronics ST10F168-Q3 Datasheet HTML 20Page - STMicroelectronics ST10F168-Q3 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 74 page
background image
ST10F168
17/74
Programming a block of data
The following code is provided as an example to program a block of data. Flash to be programmed is from
address 01’9000h to 01’9FFEh (included). Source data (data to be copied into flash) is located in external
RAM from address 05’1000h (to 05’1FFEh, implicitly) :
; code shown below assumes that flash is mapped in segment 1
; ie. bit ROMS1 = ‘1’ in SYSCON register
; Flash must be enabled, ie. bit ROMEN = ‘1’ in SYSCON.
MOV
R0, #0AA50h
; AA5xh : Multi Word programming command
OR
R0, #01h
; Selects segment 1 in Flash memory
MOV
R1, #09000h
; First Flash Segment Offset Address
MOV
R2, #09FFEh
; Last Flash Segment Offset Address
MOV
R3, #09000h
; Source data address: use DPP2 as
; data page pointer
SCXT
DPP2,#20d
; Source is in page 20 (first page of
; segment 5): save previous DPP2 value
; and load it with source page number
MOV
R4, #050d
; 50ns is 20MHz CPU clock frequency
MOV
R7, #08000h
; R7 used for Flash trigger sequence
#define FCR 08000h
EXTS
#1, #2
; Flash can be mapped in segment 0 or 1
MOV
FCR, R7
; first part
MOV
[R7], R7
; second part
NOP
; WARNING: place 2 NOP operations after
NOP
; the Unlock sequence to avoid all possible
; pipeline conflicts in STEAK programs
POP
DPP2
; restore DPP2



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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