2.4.6 Programming the ID Device

The ID device can be programmed via the Embedded Debugger that is mounted on Xplained Pro MCU boards. That means all Xplained Pro MCU boards can act as a programmer for the ID device by connecting one of the ID signals.

Atmel provides a Python® CLI for reading and programming ID devices called id_tool. The CLI is tested with Python 2.7.101. The latest version of the id_tool package can be downloaded from the Atmel Gallery developer page.

The Python CLI is distributed as source and split in two files; edbg_driver and id_tool. edbg_driver interfaces cmsis_dap.dll to communicate with an embedded debugger and provides the required functions to read and program Xplained Pro ID devices. id_tool contains the CLI and that interfaces the edbg_driver. To get started, run the following command:

C:\Python27\python.exe id_tool.py -h

Info:

The id_tool is provided as a CLI that can be used to read and program Xplained Pro ID devices. The code may be altered to fit a specific manufacturing setup.

Questions or issues regarding Xplained Pro ID programming can be directed to edbg@atmel.com.

1

The module should be compatible with other 2.7.x versions of Python too.