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.

Question about connecting CCS while WinCE7 is running.

Guru 15520 points

Other Parts Discussed in Thread: AM3358

Hi,

I have a question about CCS connection.

In our system, Windows Compact 7 is runnging on the Cortex-A8(AM335x).
After booting up from SD card, WinCE7 is runnging and I want to be sure that
connecting to CCSv5 via XDS560v2 STM is allow or not.

Are we allow to connect the target to CCS while WinCE7 is running?

It seem that connecting is OK, but when executing OnTargetConnect()
the following error message have been displayed:
/////////////////////////////////////////////////////////////
CortxA8: Output: ****  AM3358_SK Initialization is in progress ..........
CortxA8: Output: ****  AM335x ALL PLL Config for OPP == OPP100 is in progress .........
CortxA8: GEL: Error while executing OnTargetConnect(): Target failed to
         read memory at 0x44E10040  at (*((unsigned int *) (0x44E10000+0x40))>>22)
[AM335x_SK_1.2.gel:765]  at GetInputClockFrequency()
[AM335x_SK_1.2.gel:836]  at ARM_OPP100_Config()
[AM335x_SK_1.2.gel:756]  at AM3358_SK_Initialization()
[AM335x_SK_1.2.gel:742]  at OnTargetConnect() .
////////////////////////////////////////////////////////////

Is this because WinCE7 is running?

best regards,
g.f.

  • Hi g.f.

    You need to be aware of what your startup GEL file is doing if you are booting from flash and trying to connect to a target running an OS. Many times, using a startup GEL file that tries to initialize the target when connecting to it (like what your GEL file is trying to do) will blow away any initialization already done by the bootloader and put the target in a bad state and you will not be able to connect. It is often recommend not to use any startup GEL file at all.

    Thanks

    ki

  • Hi Ki,

    Thank you for the reply.

    I'm so sorry.
    Yes , I understand that startup GEL file is not recommended and I forgot to remove the file.

    By the way, does CCSv5 support debugging the target while WinCE7 running?
    My recognition is that connecting target and CCSv5 via emulator is available but
    CCSv5 doesn't support the debugging so that user need the debugger for WinCE7.
    Is my recognition correct?

    best regards,
    g.f.

  • g.f. said:
    By the way, does CCSv5 support debugging the target while WinCE7 running?

    I assume you are basically looking for run-mode application debug support with CCS (debug a WinCE application that is running on a target without halting the WinCE7 kernel). This is not supported with CCS.

    ki

  • Hi Ki,

    Thank you for the reply.
    Now, I understood. Thank you so much.

    best regards,
    g.f.