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.

CCS - Creating GEL file

I am trying to debug a part with Cortex-M0 and SWD interface.

I would like to ensure that certain registers are setup correctly before the code is downloaded into the device. The device has a 1-time programmable memory and a RAM which can be mapped to the 1-time programmable memory. This re-mapping is achieved by programming a configuration register within the device.

We would like CCS to download code to the RAM and would like to find out how to create a GEL file to do this. The device is a new device with Cortex-M0 and as such not template GEL files exist.

  • Hello,

    I suggest reading the section on GEL in the CCS Help that comes with CCS.

    Help -> CCS Help -> Code Composer Studio Help -> Tasks -> Automating Tasks with General Extension Language

    It should help you get started. I'd also look at existing GEL examples for other devices for additional reference.

    Thanks

    ki