分享

2000系列dsp的MP/MC管脚 zz

 chuanshaoke 2010-04-22
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是微处理器模式/微控制器模式选择管脚。在复位时,如果MP/MC=L,为微控制器模式,则片上的Flash存储器被影射为程序空间;如果MP/MC=H,为微处理器模式,则器件会访问片外的存储器空间。MP/MC管脚的状态仅在复位时被采样,它的状态值会被锁存到PMST寄存器的bit 0内。

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.

偶翻译:在复位时,如果MP/MC=H,为微处理器模式,则程序起始地址为0x0000h (外部程序存储空间的)。MP/MC管脚状态值被锁存到PMST寄存器的bit 0内。只要bit 0一直保持为高,器件就始终为微处理器模式。PMST寄存器可以被软件读写。如果bit 0被清零,器件便进入微控制器模式,并且转到片内Flash存储器的地址0x0000h 。

说明:2000系列dsp的中断向量只能从0000H处开始。所以在我们在调试程序时,可以把DSP选择为MP(微处理器方式),即把片内的Flash存储器屏蔽掉,免得每次更改程序都要重新烧写程序到Flash存储器,这样方便调试哦。

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多