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.

RTOS/AM5718: convertion of gel file to c

Anonymous
Anonymous
Guru 17045 points
Part Number: AM5718

Tool/software: TI-RTOS

I need  to convert gel file to c.But i couldn't able to find the function definition named GEL_MapAddStr(); 

  • Hi Muhammad,

    I don't think you need to convert GEL_MapAddStr() to C file.

    Check if below e2e threads will be in help:

    e2e.ti.com/.../89595
    e2e.ti.com/.../1771114
    e2e.ti.com/.../2790366

    Regards,
    Pavel
  • Anonymous
    0 Anonymous in reply to Pavel Botev

    Hi,

    1.  I converted my gel file to c without including functions like GEL_MapAddStr(),GEL_MapOff(),GEL_MapReset(),memorymap_init(),GEL_MapOn() as per you mentioned earlier. I included OnTargetConnect() and associated functions to my main function.My code is for led blinking .but after 10-12 successful led blink it shows an error message like these..I think its due to the loss of JTag connection.

    CS_DAP_DebugSS: Error: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 8.0.903.4) 
    CortexA15_0: JTAG Communication Error: (Error -1170 @ 0x0) Unable to access the DAP. 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 8.0.903.4)

     how we resolve it??...Could you please give me a standard GEL script with its C converted code

    2. Currently i am using internal RAM for loading my code...when i am trying to load my code to DDR..It shows error message like these..

    CortexA15_0: File Loader: Verification failed: Values at address 0x80000000 do not match Please verify target memory and memory map.
    CortexA15_0: GEL: File: D:\AM5718_PROJECTS\ARM PROJECTS\GPIO\gpio_tested_out\Debug\gpio_tested_out.out: a data verification error occurred, file load failed.
    CortexA15_0: Unable to terminate memory download: NULL buffer pointer at 0x3aa4 (Emulation package 8.0.903.4

  • MUHAMMAD SHAN A S said:
    1.  I converted my gel file to c without including functions like GEL_MapAddStr(),GEL_MapOff(),GEL_MapReset(),memorymap_init(),GEL_MapOn() as per you mentioned earlier. I included OnTargetConnect() and associated functions to my main function.My code is for led blinking .but after 10-12 successful led blink it shows an error message like these..I think its due to the loss of JTag connection.

    Do you have any warnings during building your C file to out file?

    MUHAMMAD SHAN A S said:
    CS_DAP_DebugSS: Error: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 8.0.903.4) 

    If the hardware is not at fault (could you experiment with a different board?), I would recommend updating the components and maybe reducing the JTAG TCLK speed (check the tab Advanced of the .ccxml file) - sometimes this allows for a more stable connection.

    Check also below e2e threads:

    CCS: CortexA15_0: Trouble Reading Register CP15_Registers - Code Composer Studio forum - Code Composer...

    e2e.ti.com
    Tool/software: Code Composer Studio Hi, Unable to connect the target with CCS. When I am trying to connect the target i am getting following errors. Please update

    CCS/AM3352: cortexA8 error of CCS - Code Composer Studio forum - Code Composer Studio™︎ - TI E2E support...

    e2e.ti.com
    Part Number: AM3352 Tool/software: Code Composer Studio Hi, When executing the cortex A8 program, the following error occurs in console. Please tell me why it

    CCS: AM335x JTAG debug question - Processors forum - Processors - TI E2E support forums

    e2e.ti.com
    Tool/software: Code Composer Studio Hi, I'm debugging a very ugly crash on a am335x custom board that completely freeze the board. I attached an XDS100v2

    CCS/AM5728: JTAG connect error - Processors forum - Processors - TI E2E support forums

    e2e.ti.com
    Part Number: AM5728 Other Parts Discussed in Thread: AM1802 Tool/software: Code Composer Studio Hi When I try to connect to the CortexA15_0, the Console displays

    MUHAMMAD SHAN A S said:

    2. Currently i am using internal RAM for loading my code...when i am trying to load my code to DDR..It shows error message like these..

    CortexA15_0: File Loader: Verification failed: Values at address 0x80000000 do not match Please verify target memory and memory map.

    Sounds your DDR is not correctly initialized. The error you are getting is related to the inability to load code to the DDR memory.

    CCS/AM3358: Error when loading code to BBB with XDS100v2 - Code Composer Studio forum - Code Composer...

    e2e.ti.com
    Part Number: AM3358 Tool/software: Code Composer Studio I try to debug some code on a BeagleBone Black out of CCs but always get this error: CortxA8: GEL: Error

    HELP: Verification failed when loading .out file into ARM core - Code Composer Studio forum - Code Composer...

    e2e.ti.com
    Other Parts Discussed in Thread: 66AK2H12 , SYSBIOS I just tried to build and run example program from TI resource explorer based on guide ( processors.wiki.ti

    Regards,
    Pavel