This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F28235上电无法正确启动问题



您好,最近我们用的一块板卡上带有F28235,现在出现有时候上电DSP无法正常启动问题,具体表现为:

         DSP程序里做了点灯程序,并且正常情况下DSP的CLKOUT输出是37.5MHz,但是上电几十次会出现一次上电灯不亮,CLKOUT输出为高电平或者低电平,有时候也是个几M的时钟,特别是在复杂电子环境下出现几率很大。

        后来检查发现JTAG的TRST管脚没有下拉,接了2K电阻下拉,出现起不来的现象变很少了,但是还是有起不来的现象。

1.检查时钟正常。

2.电源3.3V和1.9V都正常。

3.有FPGA给DSP进行复位,上电复位时间10ms,启动不起来时把DSP重新复位一次就好了。

4.电源上电顺序有些问题,3.3V先于1.9V。但是FPGA重新复位DSP后其实是同时上电,不知道这个会不会有影响,但是每次起不来重新复位下又好了。

5.DSP的JTAG管脚过了245的驱动器,并没有将TMS和TCK上拉,不知道这个会不会有影响,因为我们发现把仿真器插到板子上,另外一段USB不接电脑,DSP就会起不来,如果把TMS上拉下就会变好,所以不知道JTAG管脚过驱动器后没有上下拉会不会影响启动。

6.我看硬件手册上TRST状态不固定会让DSP进入测试模式,后来做实验将TRST跟地短接就好了,会不会是感受的噪声太大,现在接2K电阻下拉不行??但是在小电阻会影响在线加载。

所以想请教IT员工大神们到底是出现了什么问题造成有时候DSP无法正常启动,JTAG的管脚没有上下拉会引起这些吗??还是复位时间太短?

  • qing,

    JTAG的TRST引脚不接下拉确实会有干扰。

    你的设计中是否有使用到XINTF去访问FPGA?如果有的话,屏蔽掉访问代码,是否就没有这个问题?

    F2823x有一个勘误表中的现象,当上电后访问XINTF,会导致C2000挂起,详情如下

    The XINTF module may not get reset properly upon power up. When this happens, accesses to XINTF addresses may cause the CPU to hang. This issue occurs only upon power up. It does not happen for other resets such as a reset initiated by the watchdog or an external (warm) reset using the XRS pin。

    work around:

    After coming out of reset, software should force a watchdog (WD) reset if WDFLAG = 0 in the WDCR register. WDFLAG = 0 implies that an external reset occurred, for example, a power-on reset. After exiting the WD reset, WDFLAG will be 1. In this case, software should clear the WDFLAG bit before continuing normal code execution. This issue affects only the XINTF module.

    Eric