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.

Flashing OMAPL138 using CCS

Other Parts Discussed in Thread: OMAPL138

Hi all,

I am trying to flash OMAPL138 in CCS.After doing Run-->Load Program(in which i am loading .out file) i am getting the below error.

C674X_0: Trouble Writing Register PC: Error 0x00001006/-1137 Error during: Memory, Register, Target,  It appears that the target is being held in reset.  This may be due to Wait-In-Reset (WIR) configuration set by the EMU 0/1 pin settings.  If this is the case, press Cancel and disconnect all connected devices to attempt to clear the WIR configuration.  If this is a multi-core system, the master CPU or ICEPick may not be releasing the target from reset.  Please check your configuration and/or your GEL files to ensure that nothing is blocking the target from being released from reset.

Please guide me regarding solution for this.Please guide me to any link or document that explain the steps to flash OMAP L138 by loading .out file.

Someone told that we have to disable the watchdog timer from teraterm in order to get the device out of reset
Could you please tell me the procedure of disabling the watchdog timer from teraterm.
Regards
Mayank

  • Hi Mayank,

    These are the steps for loading the binary into OMAPl138 using CCS.

    1. Check whether you use the appropriate gel file for OMAPL138. In *.cxml file -->advanced --> Load the gel file.

    2. In *.cxml file, select the appropriate "connection" and "device". Make sure the Boot switch settings are right. (For example for OMAPL138 LCDK, it is 0101)

    3. Do "test connection". Which confirms that the CCS can establish a connection with the target board.

    4. If "test connection is successful, launch the target configuration file and do "connect target" which will run the gel file and run the initialization  code.

    5. Now, load the binary using CCS-->Run-->Load --> Load program --><locate the binary>.

    6. Press play button.

    Let me know how it goes and reply if you are stuck in any of the steps.

     

  •  Hi,

    After doing Run-->Load program i am getting the following error:

    C674X_0: Trouble Writing Register PC: Error 0x00001006/-1137 Error during: Memory, Register, Target, It appears that the target is being held in reset. This may be due to Wait-In-Reset (WIR) configuration set by the EMU 0/1 pin settings. If this is the case, press Cancel and disconnect all connected devices to attempt to clear the WIR configuration. If this is a multi-core system, the master CPU or ICEPick may not be releasing the target from reset. Please check your configuration and/or your GEL files to ensure that nothing is blocking the target from being released from reset.

    Please also find the pic of error i am getting

    And i am stuck after that.

    Regards
    Mayank

  • For OMAPL138 device, ARM is the master so you need to connect ARM core first then try to connect DSP core then load the code on it.
    When you connect ARM core, the ARM gel will initialize all the peripherals on board and wakeup the DSP.
  • Hi,

    Please find the logs i am getting after connect ARM first and then DSP core.Still i am getting the same error on loading .out file.

    ARM9_0: Output: Memory Map Cleared.
    ARM9_0: Output: ---------------------------------------------
    ARM9_0: Output: Memory Map Setup Complete.
    ARM9_0: Output: ---------------------------------------------
    ARM9_0: Output: PSC Enable Complete.
    ARM9_0: Output: ---------------------------------------------
    ARM9_0: Output: PLL0 init done for Core:300MHz, EMIFA:25MHz
    ARM9_0: Output: mDDR initialization is in progress....
    ARM9_0: Output: PLL1 init done for DDR:150MHz
    ARM9_0: Output: Using mDDR settings
    ARM9_0: Output: mDDR init for 150 MHz is done
    ARM9_0: Output: ---------------------------------------------
    ARM9_0: Output: DSP Wake Complete.
    ARM9_0: Output: ---------------------------------------------
    C674X_0: Output: Target Connected.
    C674X_0: Output: ---------------------------------------------
    C674X_0: Output: Memory Map Cleared.
    C674X_0: Output: ---------------------------------------------
    C674X_0: Output: Memory Map Setup Complete.
    C674X_0: Output: ---------------------------------------------
    C674X_0: Output: KICK Unlocked.
    C674X_0: Output: ---------------------------------------------
    C674X_0: Trouble Writing Register PC: Error 0x00001006/-1137 Error during: Memory, Register, Target, It appears that the target is being held in reset. This may be due to Wait-In-Reset (WIR) configuration set by the EMU 0/1 pin settings. If this is the case, press Cancel and disconnect all connected devices to attempt to clear the WIR configuration. If this is a multi-core system, the master CPU or ICEPick may not be releasing the target from reset. Please check your configuration and/or your GEL files to ensure that nothing is blocking the target from being released from reset.
    ARM9_0: Output: Memory Map Cleared.
    ARM9_0: Output: ---------------------------------------------
    ARM9_0: Output: Memory Map Setup Complete.
    ARM9_0: Output: ---------------------------------------------
    ARM9_0: Output: PSC Enable Complete.
    ARM9_0: Output: ---------------------------------------------
    ARM9_0: Output: PLL0 init done for Core:300MHz, EMIFA:25MHz
    ARM9_0: Output: mDDR initialization is in progress....
    ARM9_0: Output: PLL1 init done for DDR:150MHz
    ARM9_0: Output: Using mDDR settings
    ARM9_0: Output: mDDR init for 150 MHz is done
    ARM9_0: Output: ---------------------------------------------
    ARM9_0: Output: DSP Wake Complete.
    ARM9_0: Output: ---------------------------------------------
    C674X_0: Output: Target Connected.
    C674X_0: Output: ---------------------------------------------
    C674X_0: Output: Memory Map Cleared.
    C674X_0: Output: ---------------------------------------------
    C674X_0: Output: Memory Map Setup Complete.
    C674X_0: Output: ---------------------------------------------
    C674X_0: Output: KICK Unlocked.
    C674X_0: Output: ---------------------------------------------
    C674X_0: Trouble Writing Register PC: Error 0x00001004/-1137 Error during: Register, Target, It appears that the target is being held in reset. This may be due to Wait-In-Reset (WIR) configuration set by the EMU 0/1 pin settings. If this is the case, press Cancel and disconnect all connected devices to attempt to clear the WIR configuration. If this is a multi-core system, the master CPU or ICEPick may not be releasing the target from reset. Please check your configuration and/or your GEL files to ensure that nothing is blocking the target from being released from reset.

    Hope it helps you to understand where i am getting wrong.

    Regards
    Mayank
  • Dear Mayank,
    What EVM are you using and which example are you trying to run?