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.
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
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); GEL_BreakPtAdd(priv_close); //GEL_MemoryFill(atl_buffer,0,64,0); BREAKPTS_SET = 1; //GEL_TextOut("\nBP are set"); } while((PC!=C$$EXIT) && (PC!=abort)) { while(PC==priv_writeln) { //GEL_TextOut("priv_writeln - dumping data\n"); GEL_MemorySave(atl_buffer,0,0x40,"log.dat"); GEL_System("type log.dat >> RTRT.dat"); GEL_Go(priv_writeln); //GEL_MemoryFill(atl_buffer,0,64,0); // } if(PC == priv_close) { GEL_TextOut("\nTestRT:Program Executed Normally\n"); GEL_Halt(); //GEL_Exit(); break; } //GEL_Go(); GEL_Go(priv_writeln); } GEL_Halt(); //GEL_BreakPtDel(priv_writeln); //GEL_BreakPtDel(priv_close); //GEL_Exit(); }
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) */ BT_TL_FLASH : origin = 0x338000, length = 0x007F80 /* on-chip FLASH part of FLASH A. Flash for Boot and Test Link CSCI(31.875K) */ CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */ CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */ OTP : origin = 0x380400, length = 0x000400 /* on-chip OTP */ ADC_CAL : origin = 0x380080, length = 0x000009 /* ADC_cal function in Reserved memory */ APP_DATA_FLASH : origin = 0x330000, length = 0x007FEF /* on-chip FLASH B. Flash for application constant data(32K) */ APP_RAM : origin = 0x00C000, length = 0x004800 /* on-chip RAM block L4, L5 and part of L6. RAM for Application CSCI(10K). Modified 2800 to 4800*/ APP_SW_PART_NUMBER : origin = 0x337FF0 , length = 0x00000F /* Application Software Part Number */ IQTABLES : origin = 0x3FE000, length = 0x000b50 /* IQ Math Tables in Boot ROM */ IQTABLES2 : origin = 0x3FEB50, length = 0x00008c /* IQ Math Tables in Boot ROM */ FPUTABLES : origin = 0x3FEBDC, length = 0x0006A0 /* FPU Tables in Boot ROM */ ROM : origin = 0x3FF27C, length = 0x000D44 /* Boot ROM */ RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM */ VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM */ PAGE 1 : /* Data Memory */ /* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE0 for program allocation */ /* Registers remain on PAGE1 */ BOOT_RSVD : origin = 0x000000, length = 0x000050 /* Part of M0, BOOT rom will use this for stack */ RAMM0 : origin = 0x000050, length = 0x0003B0 /* on-chip RAM block M0 */ RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */ RSVD_RAM3 : origin = 0x00E800, length = 0x001800 /* on-chip RAM block part of L6, L7. Reserved RAM (6K). */ ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 - data space */ } SECTIONS { /* Allocate program areas: */ .cinit : > APP_FLASH PAGE = 0 .pinit : > APP_FLASH, PAGE = 0 .text : > APP_TXT_FLASH PAGE = 0 codestart : > APP_BEGIN PAGE = 0 ramfuncs : LOAD = APP_TXT_FLASH, RUN = APP_RAM_FUNC, LOAD_START(_RamfuncsLoadStart), LOAD_END(_RamfuncsLoadEnd), RUN_START(_RamfuncsRunStart), PAGE = 0 csmpasswds : > CSM_PWL PAGE = 0 csm_rsvd : > CSM_RSVD PAGE = 0 /* Allocate uninitalized data sections: */ .stack : > STACK_AREA PAGE = 0 .ebss : > APP_RAM PAGE = 0 .esysmem : > APP_RAM PAGE = 0 /* Initalized sections go in Flash */ /* For SDFlash to program these, they must be allocated to page 0 */ .econst : > APP_DATA_FLASH PAGE = 0 .switch : > APP_FLASH PAGE = 0 ANALOGDATA : > APP_RAM PAGE = 0 CRITICAL_RAM : > M0_SARAM PAGE = 0 APP_SW_PART_NUMBER : > APP_SW_PART_NUMBER PAGE = 0 /* Allocate IQ math areas: */ IQmath : > APP_RAM PAGE = 0 /* Math Code */ IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD _sincos : > APP_RAM_FUNC, PAGE = 0, TYPE = NOLOAD /* Uncomment the section below if calling the IQNexp() or IQexp() functions from the IQMath.lib library in order to utilize the relevant IQ Math table in Boot ROM (This saves space and Boot ROM is 1 wait-state). If this section is not uncommented, IQmathTables2 will be loaded into other memory (SARAM, Flash, etc.) and will take up space, but 0 wait-state is possible. */ /* IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD { IQmath.lib<IQNexpTable.obj> (IQmathTablesRam) } */ FPUmathTables : > FPUTABLES, PAGE = 0, TYPE = NOLOAD /* Allocate DMA-accessible RAM sections: */ /* DMARAML4 : > RAML4, PAGE = 1 */ /* DMARAML5 : > RAML5, PAGE = 1 */ /* DMARAML6 : > RAML6, PAGE = 1 */ /* DMARAML7 : > RAML7, PAGE = 1 */ /* Allocate 0x400 of XINTF Zone 7 to storing data */ ZONE7DATA : > ZONE7B, PAGE = 1 /* .reset is a standard section used by the compiler. It contains the */ /* the address of the start of _c_int00 for C Code. /* /* When using the boot ROM this section and the CPU vector */ /* table is not needed. Thus the default type is set here to */ /* DSECT */ .reset : > RESET, PAGE = 0, TYPE = DSECT vectors : > VECTORS PAGE = 0, TYPE = DSECT /* Allocate ADC_cal function (pre-programmed by factory into TI reserved memory) */ .adc_cal : load = ADC_CAL, PAGE = 0, TYPE = NOLOAD }
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.