| 전자부품 데이터시트 검색엔진 |
|
DSPIC33F 데이터시트(PDF) 71 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
DSPIC33F 데이터시트(HTML) 71 Page - Microchip Technology |
|
71 / 80 page ![]() © 2007 Microchip Technology Inc. Preliminary DS70152D-page 71 dsPIC33F/PIC24H PROGRAMMING SPECIFICATION 6.2 Programming Verification After the programming executive has been programmed to executive memory using ICSP, it must be verified. Verification is performed by reading out the contents of executive memory and comparing it with the image of the programming executive stored in the programmer. Reading the contents of executive memory can be performed using the same technique described in Section 5.8 “Reading Code Memory”. A procedure for reading executive memory is shown in Table 6-2. Note that in Step 2, the TBLPAG register is set to 0x80, such that executive memory may be read. TABLE 6-2: READING EXECUTIVE MEMORY Command (Binary) Data (Hex) Description Step 1: Exit the 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 200800 880190 EB0300 MOV #0x80, W0 MOV W0, TBLPAG CLR W6 Step 3: Initialize the write pointer (W7) to point to the VISI register. 0000 207847 MOV #VISI, W7 Step 4: Read and clock out the contents of the next two locations of executive memory through the VISI register using the REGOUT command. 0000 0000 0000 0000 0001 0000 0000 0000 0001 000000 BA1B96 000000 000000 <VISI> BA9BB6 000000 000000 <VISI> NOP TBLRDL [W6], [W7] NOP NOP Clock out contents of VISI register TBLRDH [W6++], [W7] NOP NOP Clock out contents of VISI register Step 5: Reset the device internal PC. 0000 0000 040200 000000 GOTO 0x200 NOP Step 6: Repeat Steps 4-5 until all 2048 instruction words of executive memory are read. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |