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

X  

EB632 数据表(PDF) 90 Page - Freescale Semiconductor, Inc

部件名 EB632
功能描述  Functional Differences Between MSC8101 (Mask 2K42A) and MSC8103 (Mask 2K87M)
PDF  112 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  FREESCALE [Freescale Semiconductor, Inc]
网页  http://www.freescale.com
标志 FREESCALE - Freescale Semiconductor, Inc

EB632 数据表(HTML) 90 Page - Freescale Semiconductor, Inc

Back Button EB632 Datasheet HTML 86Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 87Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 88Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 89Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 90Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 91Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 92Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 93Page - Freescale Semiconductor, Inc EB632 Datasheet HTML 94Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 90 / 112 page
background image
Functional Differences Between MSC8101 (Mask 2K42A) and MSC8103 (Mask 2K87M), Rev. 2
90
Freescale Semiconductor
Bootloader Program
; check if the finished bit (HF4)is set ,if it is set clear it
; and the sticky bit .( it means there was an error and
; the blocks are being loaded for the second time
move.w HCR,d6
bmtsts.w #$8000,d6.l
jf continue_loading_8
move.w HCR,d6
and #$6fff,d6.l
move.w d6,HCR
continue_loading_8
eor d5,d7
;checksum is calculated
on size
move.l d5,d6
;if (size == 0) it means the last block was loaded
;so goto end_of_loading
tsteq
d6
jt
end_of_loading
;load the address
jsr load_from_fifo
move.l d5,r3
eor d5,d7 ;checksum is calculated on address
load_loop_8
;load data word
jsr load_from_fifo
move.l d5,(r3)
;add 4 bytes to the address
adda #$4,r3
;CALCULATE_CHECKSUM d7 = d7 ^ d5
eor d5,d7
;subtract 2 words from the size
sub #$2,d6
;if ( size | = 0) go to load_loop_8
tsteq
d6
jf
load_loop_8
;get the checksum into d7.l
;d2 = (0xffff0000 & d7)>>16
extractu #16,#16,d7,d2
;d2 = d2 & 0x0000ffff
and #$0000ffff,d2,d2
;d7 = d7 & 0x0000ffff
and #$0000ffff,d7,d7
;d7 = d7 ^ d2
eor d2,d7
;d2 = (~d7 & 0x0000ffff) = ~checksum
not d7,d2
and #$0000ffff,d2,d2
;load the checksum ,~checksum
jsr load_from_fifo
;get ~checksum into d4
extractu #16,#16,d5,d4
;delete the ~checksum from d4



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


数据表 下载

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