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

X  

DSPIC33F 数据表(PDF) 64 Page - Microchip Technology

部件名 DSPIC33F
功能描述  Flash Programming Specification
PDF  80 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

DSPIC33F 数据表(HTML) 64 Page - Microchip Technology

Back Button DSPIC33F Datasheet HTML 60Page - Microchip Technology DSPIC33F Datasheet HTML 61Page - Microchip Technology DSPIC33F Datasheet HTML 62Page - Microchip Technology DSPIC33F Datasheet HTML 63Page - Microchip Technology DSPIC33F Datasheet HTML 64Page - Microchip Technology DSPIC33F Datasheet HTML 65Page - Microchip Technology DSPIC33F Datasheet HTML 66Page - Microchip Technology DSPIC33F Datasheet HTML 67Page - Microchip Technology DSPIC33F Datasheet HTML 68Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 64 / 80 page
background image
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
DS70152D-page 64
Preliminary
© 2007 Microchip Technology Inc.
5.8
Reading Code Memory
Reading from code memory is performed by executing
a series of TBLRD instructions and clocking out the data
using the REGOUT command.
Table 5-9 shows the ICSP programming details for
reading code memory. In Step 1, the Reset vector is
exited. In Step 2, the 24-bit starting source address for
reading is loaded into the TBLPAG register and W6
register. The upper byte of the starting source address
is stored in TBLPAG and the lower 16 bits of the source
address are stored in W6.
To minimize the reading time, the packed instruction
word format that was utilized for writing is also used for
reading (see Figure 5-6). In Step 3, the write pointer,
W7, is initialized. In Step 4, two instruction words are
read from code memory and clocked out of the device,
through the VISI register, using the REGOUT command.
Step 4 is repeated until the desired amount of code
memory is read.
TABLE 5-9:
SERIAL INSTRUCTION EXECUTION FOR READING CODE MEMORY
Command
(Binary)
Data
(Hex)
Description
Step 1: Exit Reset vector.
0000
0000
0000
0000
000000
000000
040200
000000
NOP
NOP
GOTO
0x200
NOP
Step 2: Initialize TBLPAG and the read pointer (W6) for TBLRD instruction.
0000
0000
0000
200xx0
880190
2xxxx6
MOV
#<SourceAddress23:16>, W0
MOV
W0, TBLPAG
MOV
#<SourceAddress15:0>, W6
Step 3: Initialize the write pointer (W7) to point to the VISI register.
0000
0000
207847
000000
MOV
#VISI, W7
NOP
Step 4: Read and clock out the contents of the next two locations of code memory, through the VISI register, using
the REGOUT command.
0000
0000
0000
0001
0000
0000
0000
0001
BA1B96
000000
000000
<VISI>
BA9BB6
000000
000000
<VISI>
TBLRDL [W6], [W7]
NOP
NOP
Clock out contents of VISI register
TBLRDH [W6++], [W7]
NOP
NOP
Clock out contents of VISI register
Step 5: Repeat step 4 until all desired code memory is read.
Step 6: Reset device internal PC.
0000
0000
040200
000000
GOTO
0x200
NOP



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


数据表 下载

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