13.5 About creating a new flash method
If the Keil flash method is inappropriate for your requirements, it is necessary to create a new custom flash method for your use.
Programming methods are implemented in Jython (Python, utilizing the Jython
runtime). The use of Jython allows access to the DTSL APIs used by DS-5 Debugger. DS-5 includes the PyDev
tools to assist in writing Python scripts.
In a DS-5 install, the
configdb\Flash\flashprogrammer directory holds a number of
Python files which contain utility methods used in the examples.
This section describes a default implementation of
com.arm.debug.flashprogrammer.FlashMethodv1 and creating a flash method
using a Python script.
This section contains the following subsections: