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.

INT-GEL script

Other Parts Discussed in Thread: TMS320F28335

Hi

 

Need help to resolve GEL error, following are the issues

The following are the errors we are facing after the execution of scripts.

 

1)      !!! Differences between "CC1/INP/002/cWinCCF28335/phase.1.err" (<)

and "CC1/INP/002/phase.1.err.p.ref" (>):

33,37d32

< TestRT attolcci: "file.c",line 6: warning #940-D: missing return statement at

<        end of non-void function "f"

<   }

<   ^

 

Reason: There should be a return statement because function "f" returns 'int' value.

 

Query: How we need to resolve the problem, we can update the source file.

 

 

2)      Some Test cases doesn’t have phase.1.err, phase.1.err.p and c source file. How to proceed with this.

 

3)      !!! Differences between "COV/COM/010/cWinCCF28335/phase.1.err" (<)

and "COV/COM/010/phase.1.err.ref" (>):

1,13d0

< JTRACE: GetConnectedCPUNames: channelServer = 00000000

< JTRACE: GetConnectedCPUNames: channelServer = 00000000

< JTRACE: GetConnectedCPUNames: channelServer = 1B6B7440

< SEVERE: C28xx: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x328024: Error 0x00000008/-1066 Error during: Break Point,  Cannot set/verify breakpoint at 0x00328024 

<

< SEVERE: C28xx: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x328020: Error 0x00000008/-1066 Error during: Break Point,  Cannot set/verify breakpoint at 0x00328020 

<

< SEVERE: C28xx: Trouble Setting Breakpoint with the Action "Terminate GEL_Go()" at 0x328024: Error 0x00000008/-1066 Error during: Break Point,  Cannot set/verify breakpoint at 0x00328024 

<

< SEVERE: C28xx: Trouble Setting Breakpoint with the Action "Terminate GEL_Go()" at 0x328024: Error 0x00000008/-1066 Error during: Break Point,  Cannot set/verify breakpoint at 0x00328024 

<

< SEVERE: C28xx: Trouble Setting Breakpoint with the Action "Terminate GEL_Go()" at 0x328024: Error 0x00000008/-1066 Error during: Break Point,  Cannot set/verify breakpoint at 0x00328024 

 

Plese provide some pointers.

 

Thankds and Warm Regards

Venkat

  • Hi Venkat,

    The only GEL reference I can recognize is the "GEL_Go" reference and that is not really an issue with GEL but more that the target could not be executed. Most likely it is some issue related to your script. The other issues are related to your source and test cases. I suggest contacting the people who developed the test environment or perhaps posting in the device forum if the source and scripts are part of some SW package for the device.

    Thanks

    ki

  • 1033.startup_gel.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    StartUp()
    {
    GEL_Load("_EXE_"); // This would be the executable .out file loaded on the target.
    }
    OnFileLoaded(int nErrorCode, int bSymbolsOnly)
    {
    int BREAKPTS_SET = 0;
    //GEL_Reset();
    //GEL_Restart();
    if(!BREAKPTS_SET)
    {
    GEL_BreakPtAdd(priv_writeln);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    7610.memorymap.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    MEMORY
    {
    PAGE 0: /* Program Memory */
    M0_SARAM : origin = 0x00040, length = 0x000010 /* Stack Area */
    /* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE1 for data allocation */
    STACK_AREA : origin = 0x00400, length = 0x000400 /* Stack Area */
    ZONE0 : origin = 0x004000, length = 0x001000 /* XINTF zone 0 */
    BT_TL_RAM : origin = 0x008000, length = 0x000400 /* on-chip RAM block part of L0. RAM for Boot and Test link CSCI(1K). */
    RSVD_RAM1 : origin = 0x008700, length = 0x000900 /* on-chip RAM block part of L0. Reserved RAM (3K). */
    APP_RAM_FUNC : origin = 0x009000, length = 0x001000 /* on-chip RAM block L1. App RAM functions (4K). */
    RSVD_RAM2 : origin = 0x00A000, length = 0x002000 /* on-chip RAM block L2 & L3. Reserved RAM (8K). */
    ZONE6 : origin = 0x0100000, length = 0x100000 /* XINTF zone 6 */
    ZONE7A : origin = 0x0200000, length = 0x00FC00 /* XINTF zone 7 - program space */
    RSVD_FLASH : origin = 0x300000, length = 0x020000 /* on-chip FLASH E, F, G, H. Reserved FLASH (128K) */
    APP_FLASH : origin = 0x320000, length = 0x008000 /* on-chip FLASH D. Flash for application CSCI sections (32K) */
    APP_BEGIN : origin = 0x328000, length = 0x000002 /* Part of FLASH C. Used for boot to application jump. */
    APP_TXT_FLASH : origin = 0x328002, length = 0x007FFE /* on-chip FLASH C. Flash for Application text(31.99K) */
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

     

    Hi

     

    Thanks lot, I still need some more guidence, can you please provide suggestion, please find below for customer question, also two attachements, Is there any good document for this anywhere, please suggest.

     

    Issue #1:

    =========

     

    We are using IBM RTRT Tool for module testing. In order to achieve the structural coverage, we need to set two breakpoints- one at priv_writeln and second at priv_close.

    We set the breakpoints through the F28335_StartUp.gel file which is attached for your reference. Also we have attached the linker command file which we use.

     

    while executing the test, the following errors are observed. We are unable to resolve these errors.

     

     

    < JTRACE: GetConnectedCPUNames: channelServer = 00000000

    < JTRACE: GetConnectedCPUNames: channelServer = 00000000

    < JTRACE: GetConnectedCPUNames: channelServer = 1BA61D68

    <

    < JTRACE: GetConnectedCPUNames: channelServer = 1BA61D68

    < JTRACE: GetConnectedCPUNames: channelServer = 1BA61D68

    < SEVERE: C28xx: Trouble Setting Breakpoint with the Action "Finish Auto Run" at 0x3283b5: Error 0x00000008/-1066 Error during: Break Point, Cannot set/verify breakpoint at 0x003283B5

    <

    < SEVERE: C28xx: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x328024: Error 0x00000008/-1066 Error during: Break Point, Cannot set/verify breakpoint at 0x00328024

    <

    < SEVERE: C28xx: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x328020: Error 0x00000008/-1066 Error during: Break Point, Cannot set/verify breakpoint at 0x00328020

    <

    < SEVERE: C28xx: Trouble Setting Breakpoint with the Action "Terminate GEL_Go()" at 0x328024: Error 0x00000008/-1066 Error during: Break Point, Cannot set/verify breakpoint at 0x00328024

    <

    < SEVERE: C28xx: Trouble Setting Breakpoint with the Action "Terminate GEL_Go()" at 0x328024: Error 0x00000008/-1066 Error during: Break Point, Cannot set/verify breakpoint at 0x00328024

    <

    < SEVERE: C28xx: Trouble Setting Breakpoint with the Action "Terminate GEL_Go()" at 0x328024: Error 0x00000008/-1066 Error during: Break Point, Cannot set/verify breakpoint at 0x00328024

     

     

     

    Issue#2

    ======

    We are trying to load and execute the sample programs from the Control Suite of Texas Instruments for Serial communications such as RS232(sci_echoback) and CAN(‘ecan_a_to_b_xmit’  and ‘ecan_back2back’ )

    on the A5 Board which is having a DSP processor(TMS320F28335), but we am not able to see any  data Tx and Rx over the respective ports.

     

  • Hi

     

    Please ignore issu#2, I will take care, i pasted entire mail without noticing it.