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.

Device is held in reset. Take the device out of reset, and retry the operation.

Other Parts Discussed in Thread: OMAPL138

Hi,

I encountered the following error when I tried to debug my LCDK:

Error connecting to the target:
(Error -1180 @ 0x0)
Device is held in reset. Take the device out of reset, and retry the operation.
(Emulation package 5.1.232.0)

The DSP works fine before, but I am not sure if it was the code I loaded before change the DSP to some state that is mysterious. Does someone know how to reset the board to manufacturing state or simply take it out of reset. Highly appreciate it.

  • Hi Zhexin,

    I presume that you are using OMAPL138 LCDK board and you are trying to run DSP app on it.

    Generally, emulation or no boot mode (boot switch settings) would wakeup the all the cores (ARM+DSP) on the processors and you can run any app at any time but LCDK board doesn't have such boot mode settings to do that.

    So, we have to wakeup the ARM followed by DSP in case OMAPL138 and it is reverse in case OMAPL137(DSP is the master)

    Please refer to the following E2E post like yours.

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/p/359410/1282962.aspx#1282962

    The DSP works fine before, but I am not sure if it was the code I loaded before change the DSP to some state that is mysterious. Does someone know how to reset the board to manufacturing state or simply take it out of reset. Highly appreciate it.

    Could you elaborate a bit on what you have done.

  • Hi Titus,

    I tried to reflash the boot on LCDK using some some examples from a book I refer to. The reflash seemed not completed successfully. I am not sure if that is the problem causing the device held in reset. If so, do you know there's a way to reload the boot? I see you say run some Arm examples to wake up the DSP, can you give me some instructions about how to do that? Thanks a lot.

  • Hi Zhexin,

    Follow the below steps to run DSP app on OMAPL138 LCDK board.

    1) In CCS, you have to create new "target configuration" for your board and processor.

    Say OMAPL138 LCDK and XDS510USB emulator.

    2) Right click the target configuration and select "Launch Selected Configuration"

    3) Select ARM core and choose "Connect target" option, it will initialize the ARM core and wakeup the DSP by gel file.

    4) Now select DSP core and choose "Connect target" option to run the app.

    5) After DSP target connect, go to "run" option and "Load" then "Load program".

    Run -> Load -> Load program -> {select DSP app here}

  • Hi Zhexin,

    zhexin said:
    Error connecting to the target:
    (Error -1180 @ 0x0)
    Device is held in reset. Take the device out of reset, and retry the operation.
    (Emulation package 5.1.232.0)

    This can be easily fixed in two ways. Before that, I will give you some information on why that error comes.

    By the time you intend to run the DSP app on OMAPL138 LCDK, the DSP core is not yet ready to run the app.

    The OMAPL138 gel file will wake up the ARM core and then the DSP core. After when the DSP core will be ready to run the app.Check whether the appropriate gel file is loaded.

    Hit the reset button "S1" on the OMAPL138 LCDK board and then hit rerty button on the error screen on your host PC. 

    or

    Run any ARM app first, which invokes the gel to run automatically which wakes up DSP. Terminiate and run the DSP app secondly.

     

    Regards,

    Shankari

     

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

     

     

     

     

  • Hi Titus,

    I right clicked the configuration file, but there is not an option as "Launch Selected Configuration".

    I was using CCS5, is that a problem? I attach the screen here:

  • Hi Zhexin,

    please follow the navigational steps correctly as given below.

    1. In CCS screen, click view -->Target configuration

    ( You will observe the target configuration window on the right side)

    2. In the target configuration windoe, do a right click on projects--> New Target configuration

    ( Yo will observe that a new file has been created with the default name, NewTargetConfiguration.ccxml)

    3. Open that NewTargetConfiguration.ccxml and set the appropriate emulator and Board selection against the options, connections and Board or device respectively.

    4. Save andd do a test connection.

    5. Right click on the *.ccxml file and click the launch target configuration as below.

    6. connect to target, load the app and run.

    If you still not succeed, please refer to http://processors.wiki.ti.com/index.php/Quick_Tips#Target_Setup

    and a training video is available on how to create the target configuration manually. http://software-dl.ti.com/sdo/sdo_apps_public_sw/CCSv4/Demos/Manual_launch_of_target_configuration/Manual_launch_of_target_configuration.htm

    Regards,

    Shankari

     

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------