ADSP-21573 Debug timeout

Hi,

I had a problem with the custom board (adsp-21573 +MCU) simulation.The simulator type is ice-1000.

When the board is powered on, MCU controls SYS_HWRST pin and reset DSP.When I start debugging for a while, CCES will pop up the warning "Timeout waiting for processor to halt".

The following is the waveform captured by the logic analyzer:

I don't have this question on the sc573-ezkit evaluation board.

May I ask what is the possible cause of this?

Best,

Kevin

Parents
  • +1
    •  Analog Employees 
    on May 13, 2020 9:36 AM

    Hi,

    We suspect that you have disabled the 'Run immediately after load' option in the Debug Configurations Dialog Box.

    Are you attempting to load more than one DXE in series? For example, trying to load an Initialization Code DXE, followed by your application? If you are using this dialog to 'Load prerequisite code', a breakpoint is set at lib_prog_term after loading, and the program runs to the breakpoint. Execution times out if the program does not pause within 10 seconds.That is any application that runs before your main application, it must exit by hitting a breakpoint at __lib_prog_term within 10 seconds or this error will be issued.

    Could you please try with enabling the 'Run immediately after load' option.

    For more information on loading multiple DXEs, see the 'Run Immediately After Load' option in the help here:

    Help > Contents > CrossCore Embedded Studio <version> > Integrated Development Environment > Debugging Executable Files > Run/Debug Configurations Dialog Box-Session Tab > Select a Program to Load Into Processor Dialog Box

    If you are trying to load only 1 DXE, what options do you have set if you highlight the DXE in the Launch Configuration and select "Edit".

    Also, could you please confirm whether your using Emulator-ICE-1000 or simulator session.
    If you're using simulator, could you please verify whether your application is working in simulator session.

    If you are using custom board, We recommend you to confirm that your custom board complies with the JTAG Technical Reference Guide EE-68, which is available online at the following location:
    http://www.analog.com/ee68

    If you are still facing the issues, please share us the example project with the steps to reproduce the issue. This will help us to assist you further.

    Regards,
    Nishanthi.V

Reply
  • +1
    •  Analog Employees 
    on May 13, 2020 9:36 AM

    Hi,

    We suspect that you have disabled the 'Run immediately after load' option in the Debug Configurations Dialog Box.

    Are you attempting to load more than one DXE in series? For example, trying to load an Initialization Code DXE, followed by your application? If you are using this dialog to 'Load prerequisite code', a breakpoint is set at lib_prog_term after loading, and the program runs to the breakpoint. Execution times out if the program does not pause within 10 seconds.That is any application that runs before your main application, it must exit by hitting a breakpoint at __lib_prog_term within 10 seconds or this error will be issued.

    Could you please try with enabling the 'Run immediately after load' option.

    For more information on loading multiple DXEs, see the 'Run Immediately After Load' option in the help here:

    Help > Contents > CrossCore Embedded Studio <version> > Integrated Development Environment > Debugging Executable Files > Run/Debug Configurations Dialog Box-Session Tab > Select a Program to Load Into Processor Dialog Box

    If you are trying to load only 1 DXE, what options do you have set if you highlight the DXE in the Launch Configuration and select "Edit".

    Also, could you please confirm whether your using Emulator-ICE-1000 or simulator session.
    If you're using simulator, could you please verify whether your application is working in simulator session.

    If you are using custom board, We recommend you to confirm that your custom board complies with the JTAG Technical Reference Guide EE-68, which is available online at the following location:
    http://www.analog.com/ee68

    If you are still facing the issues, please share us the example project with the steps to reproduce the issue. This will help us to assist you further.

    Regards,
    Nishanthi.V

Children