Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

EB632 Datasheet(PDF) 104 Page - Freescale Semiconductor, Inc

Part # EB632
Description  Functional Differences Between MSC8101 (Mask 2K42A) and MSC8103 (Mask 2K87M)
PDF  112 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

EB632 Datasheet(HTML) 104 Page - Freescale Semiconductor, Inc

Back Button EB632 Datasheet HTML 100Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 101Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 102Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 103Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 104Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 105Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 106Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 107Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 108Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 104 / 112 page
background image
Functional Differences Between MSC8101 (Mask 2K42A) and MSC8103 (Mask 2K87M), Rev. 2
104
Freescale Semiconductor
Bootloader Program
move.l #$0,d6
;reset the word count
cs_loop
move.l (r1)+,d3;read long data into d3
add
#$4,d6
cmpeq
d6,d7
;if d6 = d7 ->Last Block word ( CS )
jt
calc_rchecksum;
then jump to calc_checksum
nop
;due to restriction 6.4.4.a.3
eor
d3,d1
;
else CS <- ( CS xor data )
jmp
cs_loop
nop
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
calc_rchecksum
aslw
d1,d6
;shift left word d1 into d6
eor
d1,d6
extractu #$20,#0,d6,d6;remove the extend bits
bmclr
#$FFFF,d6.l;Leave only the checksum on d6.h
asrw
d6,d1
;Move it (word shift right) to d1
not
d1.l
;Obtain inverted CS (CS_b)
on d1
add
d1,d6,d6;Obtain CS|CS_b
on d6
extractu #$20,#0,d3,d3;remove the extend bits
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
CheckSum Ok ?
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
cmpeq
d6,d3
;Compare to received CS
jt
PrepareNextBAdd;if equal jump to received BD
nop
;due to restriction 6.4.4.a.3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Got a CS Error
;If
this is the first CS error for this BD , Set Flag and Retry
;
Else jmp to CS error
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
bmtsts
#$0001,d0.l;Test with previous CS error ocurr
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; First error
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
jt
cs_error;If yes jump to CS error routine
nop
; due to restriction 6.4.4.a.3
bmset #$0001,d0.l;set CS Fail flag
jmp
read_block2;retry to read the block
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Set bit 1 in d0 ( to indicate a CS error) and abort
cs_error
bmset #$0002,d0.l;set CS Error flag
jmp reset
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;**************************************************
read_bd
;This Routine will read a BD



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