Target Script Interface
The target script interface allows Embedded Studio to interact with a device before and in-between some steps of a debug session, including before the attach or after the load to the target has finished. This way targets may be prepared for some specific use-cases, e.g. initializing external RAM so the application may be loaded directly into it.
To use target scripts in Embedded Studio the project needs to be configured correctly in the "Debug > Target Script" section. Simply set the setting with the intended step to one of the available functions, or alternatively set the target script file to a more complex script to implement your own functions.
All available functions may be found in the Embedded Studio reference manual in the Script classes section