When using CCS 5.5.0.00077 to attempt to run the SYS/BIOS Hello example on the ARM9 core of a LogicPD Zoom™ OMAP-L138 eXperimenter Kit, attempting to download the program fails with the errors:
The first error reported is from the EXPKITOMAPL138_ARM.gel script, when attempting to configure the PLL0. Since the gel script aborts with errors before configuring the mDDR the download of the program into DDR then fails.ARM9_0: Output: Memory Map Cleared.
ARM9_0: Output: ---------------------------------------------
ARM9_0: Output: Memory Map Setup Complete.
ARM9_0: Output: ---------------------------------------------
ARM9_0: Output: Enabling Experimenter PSCs...
ARM9_0: Output: PSC Enable Complete.
ARM9_0: Output: ---------------------------------------------
ARM9_0: GEL: Error while executing OnTargetConnect(): Target failed to write 0x01C11138 at (*((unsigned int *) (0x01C11000+0x138))|=0x1) [EXPKITOMAPL138_ARM.gel:25] at device_PLL0(0, 24, 1, 0, 1, 11, 5) [EXPKITOMAPL138_ARM.gel:405] at Set_Core_300MHz() [EXPKITOMAPL138_ARM.gel:464] at Core_300MHz_mDDR_150MHz() [EXPKITOMAPL138_ARM.gel:252] at OnTargetConnect() .
ARM9_0: Error: (Error -1060 @ 0x2E18) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.402.0)
ARM9_0: Unable to determine target status after 20 attempts
ARM9_0: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
Texas Instruments XDS100v2 USB Emulator_0/ARM9_0 : Target must be connected before loading program.
The onboard XDS100v1 is being used. Note that in the target configuration, a XDS100v2 was selected, since in CCS 5.5 where there is no driver support for a OMAP L138 with a XDS100v1.
I think the OMAP-L138 eXperimenter Kit DDR memory is working, since if download the LogicPD ARM eXp RAM test program, which runs in shared RAM and configures the mDDR via code on the ARM9 core rather than GEL script, the RAM test of the mDDR passes.
The debug server log for two failed download attempts is attached. 0066.debug_server_restart.zip
The debug server logging at the point the GEL script reported a failure executing the following line:
Is:/*Set the GOSET bit in PLLCMD to 1 to initiate a new divider transition.*/
PLL0_PLLCMD |= 0x1;
The GTI_WRITEMEM_WITH_STAT write to target address 0x01C11138 appears to have returned success (zero return status?) so not sure why the GEL script reported an error.0x000009EC 879406 4 IcePick_C_0 POLL I: TimeToPollAgain() target is idle and needs polling in 0 ms
0x000009EC 879406 4 POLL I: TimeToSleep() found shorter sleep time of 0 ms from class DevicePollFrequencyManager
0x000009EC 879406 4 POLL I: Yielding to other threads
0x000009EC 879406 3 ARM9_0 POLL C: Polling with state STATE_READ and status EVENT_DSP_HALT
0x000009EC 879406 3 ARM9_0 GTI C: GTI_READMEM_WITH_STAT( 0x348E55B0, 0x01C11138, 0x00000000, 0x00000004, 0x40000003, "R|W|AS4", 0x00000000, 0x00000004, *0x35F80214 = 0x00008005, 0xFFFFFFFF, *0x35FA0214 = ??? )
0x000009EC 880281 3 ARM9_0 GTI R: GTI_READMEM_WITH_STAT( 0x348E55B0, 0x01C11138, 0x00000000, 0x00000004, 0x40000003, "R|W|AS4", 0x00000000, 0x00000004, *0x35F80214 = 0x00000000, 0xFFFFFFFF, *0x35FA0214 = ??? ) = 0x00000000
0x000009EC 880281 3 ARM9_0 GTI C: GTI_GETERRSTR_EX3( 0x348E55B0, *0x30CFEB6C = 0x00000000, *0x30CFEB4C = 0x00000000, *0x30CFEB68 = 0x00000000, *0x30CFEB44 = 0x00000000, *0x30CFEB64 = 0x00000000, *0x30CFEB60 = 0x00000000, *0x30CFEB58 = 0x00000000, "", 0x00000040, "", 0x00000400 )
0x000009EC 880281 3 ARM9_0 GTI R: GTI_GETERRSTR_EX3( 0x348E55B0, *0x30CFEB6C = 0x00000000, *0x30CFEB4C = 0x00000000, *0x30CFEB68 = 0x00000000, *0x30CFEB44 = 0x00000002, *0x30CFEB64 = 0x00000000, *0x30CFEB60 = 0x00000008, *0x30CFEB58 = 0x00000000, "", 0x00000040, "", 0x00000400 ) = 0x00000000
0x000009EC 880281 3 ARM9_0 POLL D: New request of type DSP_RQ_WRITE_MEM added to polling loop by class VOT::DspAccessorSet
0x000009EC 880281 4 ARM9_0 POLL I: Yielding to other threads
0x000009EC 880281 3 ARM9_0 POLL R: Poll() returning
0x000009EC 880281 4 IcePick_C_0 POLL I: TimeToPollAgain() target is idle and needs polling in 0 ms
0x000009EC 880281 4 POLL I: TimeToSleep() found shorter sleep time of 0 ms from class DevicePollFrequencyManager
0x000009EC 880281 4 POLL I: Yielding to other threads
0x000009EC 880281 3 ARM9_0 POLL C: Polling with state STATE_WRITE and status EVENT_DSP_HALT
0x000009EC 880281 3 ARM9_0 GTI C: GTI_WRITEMEM_WITH_STAT( 0x348E55B0, 0x01C11138, 0x00000000, 0x00000004, 0x40000003, "R|W|AS4", 0x00000000, 0x00000004, *0x35F80214 = 0x00000001, 0xFFFFFFFF, *0x35FA0214 = ??? )
0x000009EC 894203 3 ARM9_0 GTI R: GTI_WRITEMEM_WITH_STAT( 0x348E55B0, 0x01C11138, 0x00000000, 0x00000004, 0x40000003, "R|W|AS4", 0x00000000, 0x00000004, *0x35F80214 = 0x00000001, 0xFFFFFFFF, *0x35FA0214 = ??? ) = 0x00000000
0x000009EC 894203 3 ARM9_0 GTI C: GTI_GETERRSTR_EX3( 0x348E55B0, *0x30CFEB2C = 0x00000000, *0x30CFEB0C = 0x00000000, *0x30CFEB28 = 0x00000000, *0x30CFEB04 = 0x00000000, *0x30CFEB24 = 0x00000000, *0x30CFEB20 = 0x00000000, *0x30CFEB18 = 0x00000000, "", 0x00000040, "", 0x00000400 )
0x000009EC 894203 3 ARM9_0 GTI R: GTI_GETERRSTR_EX3( 0x348E55B0, *0x30CFEB2C = 0x00000000, *0x30CFEB0C = 0x00000000, *0x30CFEB28 = 0x00000000, *0x30CFEB04 = 0x00000002, *0x30CFEB24 = 0x00000000, *0x30CFEB20 = 0x00000008, *0x30CFEB18 = 0x00000000, "", 0x00000040, "", 0x00000400 ) = 0x00000000
0x000009EC 894203 3 ARM9_0 GEL I: Evaluation of "OnTargetConnect()" failed: Target failed to write 0x01C11138
0x000009EC 894203 3 COM_DBG_IF C: class dsDebugger::OnError()
0x000009EC 894203 3 XPCOM C: ( (dsIStringEventCallback*)30677FE0 )->onEvent( ARM9_0: GEL: Error while executing OnTargetConnect(): Target failed to write 0x01C11138 at (*((unsigned int *) (0x01C11000+0x138))|=0x1) [EXPKITOMAPL138_ARM.gel:25] at device_PLL0(0, 24, 1, 0, 1, 11, 5) [EXPKITOMAPL138_ARM.gel:405] at Set_Core_300MHz() [EXPKITOMAPL138_ARM.gel:464] at Core_300MHz_mDDR_150MHz() [EXPKITOMAPL138_ARM.gel:252] at OnTargetConnect() .
)
0x000009EC 894203 3 XPCOM R: ( (dsIStringEventCallback*)30677FE0 )->onEvent( ARM9_0: GEL: Error while executing OnTargetConnect(): Target failed to write 0x01C11138 at (*((unsigned int *) (0x01C11000+0x138))|=0x1) [EXPKITOMAPL138_ARM.gel:25] at device_PLL0(0, 24, 1, 0, 1, 11, 5) [EXPKITOMAPL138_ARM.gel:405] at Set_Core_300MHz() [EXPKITOMAPL138_ARM.gel:464] at Core_300MHz_mDDR_150MHz() [EXPKITOMAPL138_ARM.gel:252] at OnTargetConnect() .
) = 0x00000000