改了一个DM6437_EMIF接口例程,读写sdram都没有问题,在与FPGA的FIFO连调时就出现了掉线的问题。
有两种情况掉线:
1. fpga先烧程序,dsp再系统初始化就掉线。(后来我们就先系统初始化,再给fpga烧数据,dsp再读数据。)
2. dsp在读取数据的时候,就自动掉线。
CCS提示如下错误:
Power Failure on Target CPU
Failed to remove the debug state from the target before disconnecting…
Other Parts Discussed in Thread: MSP430G2553 , MSP430G2253 【芯片型号】MSP430G2553
【CCS版本】 Code Composer Studio v4 Core Edition(但没有用这个)
【软件平台】IAR for MSP430 5.5
【问题描述】从网上复制了一个程序如下:
//****************************************************************************…