数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN4035 数据表(PDF) 39 Page - STMicroelectronics

部件名 AN4035
功能描述  Flash programming through
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN4035 数据表(HTML) 39 Page - STMicroelectronics

Back Button AN4035 Datasheet HTML 34Page - STMicroelectronics AN4035 Datasheet HTML 35Page - STMicroelectronics AN4035 Datasheet HTML 36Page - STMicroelectronics AN4035 Datasheet HTML 37Page - STMicroelectronics AN4035 Datasheet HTML 38Page - STMicroelectronics AN4035 Datasheet HTML 39Page - STMicroelectronics AN4035 Datasheet HTML 40Page - STMicroelectronics AN4035 Datasheet HTML 41Page - STMicroelectronics AN4035 Datasheet HTML 42Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 39 / 42 page
background image
AN4035
Creating the Flash programming tool
Doc ID 022669 Rev 2
39/41
1.
Setup r1 as the stack pointer.
2.
Setup r3 to point to the SSD_CONFIG structure in internal SRAM.
3.
Setup r4 to point to the destination address to be programmed in Flash. This address
must be aligned on a double word boundary.
4.
Setup r5 to the size of the data in bytes to be programmed to Flash. This size should be
a multiple of 8 and the combination of the destination address and size should be
entirely contained in the main array or shadow block.
5.
Setup r6 to point to the source buffer of data in internal SRAM to be programmed to
Flash. This address should be aligned on a word boundary.
6.
Setup r7 with the pointer to the call back function.
7.
Set the PC to the beginning of FlashProgram minus 0x4 and load the IR with a nop
(0x60000000).
8.
Exit debug mode and begin execution of the driver.
9.
Poll the OnCE Status Register to determine when debug mode has been re-entered.
10. When debug mode has been entered, read the return value in r3.
6.2.6
Using other drivers
There are other useful drivers provided with the driver set. For example, BlankCheck can be
used to verify that a particular region is erased, and ProgramVerify can be used to verify that
the data was programmed correctly. The method to use these other drivers is similar to the
above mentioned drivers except that the GPRs needs to be setup appropriately for that
particular driver.



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


数据表 下载

Go To PDF Page


链接网址



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