Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3995 Datasheet(PDF) 2 Page - STMicroelectronics

Part # AN3995
Description  Getting started tutorial
PDF  49 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3995 Datasheet(HTML) 2 Page - STMicroelectronics

  AN3995 Datasheet HTML 1Page - STMicroelectronics AN3995 Datasheet HTML 2Page - STMicroelectronics AN3995 Datasheet HTML 3Page - STMicroelectronics AN3995 Datasheet HTML 4Page - STMicroelectronics AN3995 Datasheet HTML 5Page - STMicroelectronics AN3995 Datasheet HTML 6Page - STMicroelectronics AN3995 Datasheet HTML 7Page - STMicroelectronics AN3995 Datasheet HTML 8Page - STMicroelectronics AN3995 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 2 / 49 page
background image
Contents
AN3995
2/49
Doc ID 022384 Rev 2
Contents
1
Application example description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2
Microcontroller boot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1
Boot mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1.1
Bootable sectors and RCHW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3
e200z4d initialization and example code . . . . . . . . . . . . . . . . . . . . . . . 10
3.1
Creating e200z4d Flash boot file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1.1
MMU remarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1.2
Configure MMU for SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.1.3
Initialize the SRAM ECC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.1.4
Configure MMU for Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.1.5
Configure MMU for Peripheral Bridge . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1.6
Memory initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1.7
Performance Hints Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2
e200z4d device configuration from C code . . . . . . . . . . . . . . . . . . . . . . . 24
3.2.1
Disable watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.2.2
Mode configuration and clocking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.2.3
Clock & PLL configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.2.4
Configure Cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.2.5
Starting the e200z0h core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.3
The e200z4d example code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4
e200z0h Initializations and example code . . . . . . . . . . . . . . . . . . . . . . 32
4.1
e200z0h startup code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Appendix A
Application code example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
A.1
main.c file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
A.2
crt0_corez4_Flash.s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Appendix B
Linker file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Appendix C
Further information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
C.1
Reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47



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


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