| 전자부품 데이터시트 검색엔진 |
|
DSPIC33F 데이터시트(PDF) 60 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
DSPIC33F 데이터시트(HTML) 60 Page - Microchip Technology |
|
60 / 80 page ![]() dsPIC33F/PIC24H PROGRAMMING SPECIFICATION DS70152D-page 60 Preliminary © 2007 Microchip Technology Inc. TABLE 5-5: SERIAL INSTRUCTION EXECUTION FOR WRITING CODE 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: Set the NVMCON to program 64 instruction words. 0000 0000 24001A 883B0A MOV #0x4001, W10 MOV W10, NVMCON Step 3: Initialize the write pointer (W7) for TBLWT instruction. 0000 0000 0000 200xx0 880190 2xxxx7 MOV #<DestinationAddress23:16>, W0 MOV W0, TBLPAG MOV #<DestinationAddress15:0>, W7 Step 4: Initialize the read pointer (W6) and load W0:W5 with the next 4 instruction words to program. 0000 0000 0000 0000 0000 0000 2xxxx0 2xxxx1 2xxxx2 2xxxx3 2xxxx4 2xxxx5 MOV #<LSW0>, W0 MOV #<MSB1:MSB0>, W1 MOV #<LSW1>, W2 MOV #<LSW2>, W3 MOV #<MSB3:MSB2>, W4 MOV #<LSW3>, W5 Step 5: Set the read pointer (W6) and load the (next set of) write latches. 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 EB0300 000000 BB0BB6 000000 000000 BBDBB6 000000 000000 BBEBB6 000000 000000 BB1BB6 000000 000000 BB0BB6 000000 000000 BBDBB6 000000 000000 BBEBB6 000000 000000 BB1BB6 000000 000000 CLR W6 NOP TBLWTL [W6++], [W7] NOP NOP TBLWTH.B[W6++], [W7++] NOP NOP TBLWTH.B[W6++], [++W7] NOP NOP TBLWTL [W6++], [W7++] NOP NOP TBLWTL [W6++], [W7] NOP NOP TBLWTH.B[W6++], [W7++] NOP NOP TBLWTH.B[W6++], [++W7] NOP NOP TBLWTL [W6++], [W7++] NOP NOP Step 6: Repeat steps 4-5 sixteen times to load the write latches for 64 instructions. Step 7: Initiate the write cycle. 0000 0000 0000 A8E761 000000 000000 BSET NVMCON, #WR NOP NOP Step 8: Wait for Row Program operation to complete and make sure WR bit is clear. |
|
링크 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 |