Electronic Components Datasheet Search
  English  ▼

X  

ST9 Datasheet(PDF) 125 Page - STMicroelectronics

Part # ST9
Description  USER GUIDE
PDF  146 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST9 Datasheet(HTML) 125 Page - STMicroelectronics

Back Button ST9 Datasheet HTML 121Page - STMicroelectronics ST9 Datasheet HTML 122Page - STMicroelectronics ST9 Datasheet HTML 123Page - STMicroelectronics ST9 Datasheet HTML 124Page - STMicroelectronics ST9 Datasheet HTML 125Page - STMicroelectronics ST9 Datasheet HTML 126Page - STMicroelectronics ST9 Datasheet HTML 127Page - STMicroelectronics ST9 Datasheet HTML 128Page - STMicroelectronics ST9 Datasheet HTML 129Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 125 / 146 page
background image
125/146
ST9 USER GUIDE
Once you have set these registers, the core is in good shape to start work. The next task is to
initialise the data memory and/or register file by entering a loop that writes zeroes into all lo-
cations used for data storage. This may seem superfluous, but there are two reasons for this:
– In C language, any non-initialized variable is supposed to contain zero at as an initial value.
– In any case, this makes the program behavior reproducible, even if not all variables are ini-
tialized explicitly.
Then, the table of initial values for the initialized variable (in the C language sense) is copied
to the location in RAM where the variables are positioned. The linker puts the initial values in
the same order as the variables in RAM, so a mere block copy is sufficient for this initialisation.
Eventually, the entry point of the main program written in C or assembler can be called. The
main program should be a closed loop and should not return. Typically in the start-up code,
the call to the main routine is followed by a halt instruction.
5.4.3.3 Start-up File Customization
A generic start-up file is included with the Toolchain: crtbegin.spp. This file has to be modified
in order to fit the needs of your application.
In most cases, only two parts should be modified: part 2 (interrupt vectors declaration) and
part 6 (MMU setup).
Note:
The start-up file initializes the “ST9” mode (ENCSR bit of EMR2 to 0) to be compatible with the
previous ST9 version. In the main program you have to initialise this bit to 1 for “ST9” mode if
you want the MMU working with segments during interrupts.



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