Using Flashloader with different IDEs

From SEGGER Wiki
Jump to: navigation, search

For officially supported device, the flashloaders which are available, are already configured to be used by the J-Link software. Other flashloaders for new devices or additional memory regions can be added.

New devices are always described in an xml file JLinkDevices.xml. If your flashloader package does not already include such a file, check the J-Link User Manual (UM08001) for more information.

A JLinkDevices.xml can be loaded from these locations:

  • The J-Link Library Directory
  • The J-Link Software Installation Directory
  • The J-Link Settings File directory
  • A directory added with the command JLinkDevicesXMLPath

If the same memory region for the same device is specified in multiple files, the latter loaded description is used.

Adding a Flashloader globally

To use a flashloader from any debugger or other tool, it can be copied into the J-Link installation directory. Copy the referenced flashloader files and add the description from the JLinkDevices.xml to the JLinkDevices.xml in the installation directory. For more information see here.