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
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:

    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.

    Regards,
    Pavel