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.

TMS570LC4357: reset

Part Number: TMS570LC4357


王工您好:

         我最近在调试TMS5704357芯片,我用Jlink进行调试,通过CCS的进行调试。

         

        执行getResetSource函数时,我看SYSESR寄存器的值为0x808,我查了一下手册分别对应EXTRST和DBGRST。

      

我想咨询一下:
       1)我进行debug调试的时候,为什么还会有EXTRST这个状态?此时是下列哪种状态发生了?
       
       2)什么时候SYSESR中的PORST会置1?断电上电后,PORST会是1吧。
  • Hi MingXi,

    The nRST is a bi-directional signal, and is asserted (driven low) as output by the processor for any system reset condition, including a reset caused by the debugger (DBGRST). This causes EXTRST to be set for all system reset conditions, as explained in the reference manual SPNU563A. See section 2.3.1 on page 139 of this reference manual for more information.

     2)什么时候SYSESR中的PORST会置1?断电上电后,PORST会是1吧。

    This flag is set by a power-on reset.