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.

CODECOMPOSER: Debugger javascript setup

Part Number: CODECOMPOSER

Tool/software:

Hi

I have read several places, and has been recommended in other threads to consider using a javascript file to control the debug session, in place of the GEL files.

My question is. Can you provide a template/scratch version of such javascript file?

I would expect such a template to just do what the default debug session does. Giving me a good starting point to start adding the changes to the debug session that I need.

examples of thing I would add:

  1. Swap the order in which the CPU's is flashed or ensure a system reset is issued when last flash/file is written.
  2. Add the flashing of additional files needed by my application.
  3. ....

Much easier and with less risks if I can start of with a default javascript file that does the default actions.