Intel 81342 Developer's Manual page 733

Table of Contents

Advertisement

E x c e p t i o n I n i t i a t o r a n d B o o t S e q u e n c e — I n t e l
1 0 . 3 . 2
8 1 3 4 1 a n d 8 1 3 4 2 B o o t S e q u e n c e
T h e n e x t s e c t i o n s d e s c r i b e t h e b o o t s e q u e n c e o p t i o n s f o r 8 1 3 4 1 a n d 8 1 3 4 2 . 8 1 3 4 1 a n d
8 1 3 4 2 c o n s i s t s o f t w o I n t e l X S c a l e
1 0 . 3 . 2 . 1
B o o t S e q u e n c e — c o r e I D 0 a n d c o r e I D 1 s i m u l t a n e o u s s t a r t r u n n i n g
f r o m F l a s h M e m o r y
T h e f o l l o w i n g s t e p s c a n a p p l y t o e i t h e r c o r e r u n n i n g f i r s t . F o r e x a m p l e , t h e r e i s n o
r e s t r i c t i o n o n w h i c h c o r e s t a r t s r u n n i n g f i r s t . S o f t w a r e c a n c o n t r o l h o w t o s y n c h r o n i z e
t h e t w o c o r e s . T h i s i s a s c e n a r i o w h e r e b o t h c o r e s a r e a l l o w e d t o r u n a f t e r r e s e t i s d e -
a s s e r t e d . T h i s e x a m p l e a l s o d e m o n s t r a t e s h o w o n e c o r e ( c o r e I D 0 ) i n t h e s y s t e m c a n
a c t a s a m a s t e r c o r e a n d b e a b l e t o s y n c h r o n i z e w i t h t h e s l a v e c o r e ( c o r e I D 1 ) d u r i n g
t h e i n i t i a l i z a t i o n s e q u e n c e . T h e s y n c h r o n i z a t i o n i s d o n e b y s o f t w a r e u s i n g t h e c o r e I D s .
1 . P u l l e x t e r n a l s t r a p s H O L D _ X 0 _ I N _ R S T # a n d H O L D _ X 1 _ I N _ R S T # h i g h i n o r d e r t o
a l l o w c o r e I D 0 a n d c o r e I D 1 t o s t a r t r u n n i n g a f t e r r e s e t i s d e a s s e r t e d .
2 . c o r e I D 0 ( m a s t e r c o r e ) w o u l d r u n b y i n i t i a l i z i n g a d e q u a t e e l e m e n t s o f t h e s y s t e m ,
w h i l e c o r e I D 1 ( s l a v e c o r e ) w o u l d a l s o r u n b u t e v e n t u a l l y w a i t i n a s o f t w a r e l o o p —
w a i t i n g f o r t h e s o f t w a r e i n t e r r u p t p e n d i n g r e g i s t e r t o b e w r i t t e n b y t h e m a s t e r c o r e .
3 . A f t e r t h e m a s t e r c o r e ( c o r e I D 0 ) h a s c o m p l e t e d e n o u g h i n i t i a l i z a t i o n , i t c a n i n i t i a t e
a s o f t w a r e i n t e r r u p t t o t h e s l a v e c o r e ( c o r e I D 1 ) w h i c h w i l l c a u s e t h e s o f t w a r e
i n t e r r u p t p e n d i n g r e g i s t e r t o a l t e r . T h e s l a v e c o r e w o u l d t h e n e x i t t h e s o f t w a r e l o o p
a n d p r o c e e d w i t h i t s n o r m a l e x e c u t i o n b a s e d o n t h e c o n t e n t o f t h e s o f t w a r e
i n t e r r u p t p e n d i n g r e g i s t e r .
1 0 . 3 . 2 . 2
B o o t S e q u e n c e — B o t h c o r e I D 0 a n d c o r e I D 1 r u n f r o m S R A M M e m o r y
( n o F l a s h M e m o r y )
T h e f o l l o w i n g s t e p s c a n a p p l y t o e i t h e r c o r e r u n n i n g f i r s t . F o r e x a m p l e , t h e r e i s n o
r e s t r i c t i o n o n w h i c h c o r e s t a r t s r u n n i n g f i r s t . S o f t w a r e c a n c o n t r o l h o w t o s y n c h r o n i z e
t h e t w o c o r e s .
1 . P u l l e x t e r n a l s t r a p s H O L D _ X 0 _ I N _ R S T # a n d H O L D _ X 1 _ I N _ R S T # l o w i n o r d e r t o
h o l d c o r e I D 0 a n d C o r e I D 1 i n r e s e t .
2 . T h e H o s t p r o c e s s o r , v i a t h e h o s t i n t e r f a c e , w o u l d s c r u b t h e S R A M m e m o r y ,
d o w n l o a d c o d e i n t o S R A M , a n d s e t u p t h e S R A M B a s e A d d r e s s R e g i s t e r s t o 0 0 0 0 0
0 0 0 0 H . T h i s w o u l d a l l o w t h e c o r e a c c e s s t o b e c l a i m e d b y t h e S R A M M C U d u r i n g
b o o t .
3 . T h e H o s t p r o c e s s o r w o u l d t h e n c l e a r t h e H O L D _ X 0 _ I N _ R S T # b i t w h i l e s t i l l k e e p i n g
c o r e I D 1 i n r e s e t .
4 . c o r e I D 0 w o u l d s t a r t t o r u n f r o m S R A M m e m o r y , i n i t i a l i z e t h e s y s t e m .
5 . c o r e I D 0 w o u l d t h e n c l e a r t h e H O L D _ X 1 _ I N _ R S T # b i t t o r e l e a s e c o r e I D 1 f r o m r e s e t .
6 . c o r e I D 1 w o u l d s t a r t r u n n i n g f r o m S R A M M e m o r y a d d r e s s .
D e c e m b e r 2 0 0 7
O r d e r N u m b e r : 3 1 5 0 3 7 - 0 0 2 U S
®
8 1 3 4 1 a n d 8 1 3 4 2
®
p r o c e s s o r s ( c o r e I D 0 a n d c o r e I D 1 ) .
®
I n t e l
8 1 3 4 1 a n d 8 1 3 4 2 I / O P r o c e s s o r s
D e v e l o p e r ' s M a n u a l
7 3 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

81341

Table of Contents