2000系列dsp的MP/MC管腳[YC]
TI的DATAsheet說: MP/MC管腳:Microprocessor/microcomputer-mode-select pin. If MP/MC is low, the on-chip flash memory is mapped into program space. When MP/MC is high, the device accesses off-chip memory. This pin is only sampled at reset, and its value is latched into bit 0 of the PMST register. 偶翻譯:MP/MC是微處理器模式/微控制器模式選擇管腳。在復(fù)位時,如果MP/MC=L,為微控制器模式,則片上的Flash存儲器被影射為程序空間;如果MP/MC=H,為微處理器模式,則器件會訪問片外的存儲器空間。MP/MC管腳的狀態(tài)僅在復(fù)位時被采樣,它的狀態(tài)值會被鎖存到PMST寄存器的bit 0內(nèi)。 At reset, if the MP/MC pin is held high, the device is in microprocessor mode and the program address branches to 0x0000h (external program space). The MP/MC pin status is latched in the PMST register (bit 0). As long as this bit remains high, the device is in microprocessor mode. PMST register bits can be read and modified in software. If bit 0 is cleared to 0, the device enters microcontroller mode and transfers control to the on-chip flash memory at 0x0000. 偶翻譯:在復(fù)位時,如果MP/MC=H,為微處理器模式,則程序起始地址為0x0000h (外部程序存儲空間的)。MP/MC管腳狀態(tài)值被鎖存到PMST寄存器的bit 0內(nèi)。只要bit 0一直保持為高,器件就始終為微處理器模式。PMST寄存器可以被軟件讀寫。如果bit 0被清零,器件便進(jìn)入微控制器模式,并且轉(zhuǎn)到片內(nèi)Flash存儲器的地址0x0000h 。 說明:2000系列dsp的中斷向量只能從0000H處開始。所以在我們在調(diào)試程序時,可以把DSP選擇為MP(微處理器方式),即把片內(nèi)的Flash存儲器屏蔽掉,免得每次更改程序都要重新燒寫程序到Flash存儲器,這樣方便調(diào)試哦。 |
|