Difference between revisions of "Using Flashloader with different IDEs"

From SEGGER Wiki
Jump to: navigation, search
 
Line 5: Line 5:
 
If your flashloader package does not already include such a file, check the J-Link User Manual (UM08001) for more information.
 
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:
+
A JLinkDevices.xml should be loaded from these locations:
  +
* [[J-Link_Device_Support_Kit#JLinkDevices_folder | JLinkDevices]] folder (recommended)
* The J-Link Library Directory
 
* The J-Link Software Installation Directory
 
 
* The J-Link Settings File directory
 
* The J-Link Settings File directory
 
* A directory added with the command JLinkDevicesXMLPath
 
* A directory added with the command JLinkDevicesXMLPath
  +
* The J-Link Library Directory (deprecated and no longer recommended)
  +
* The J-Link Software Installation Directory (deprecated and no longer recommended)
   
 
If the same memory region for the same device is specified in multiple files, the latter loaded description is used.
 
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 [https://wiki.segger.com/Open_Flashloader#Using_a_Precompiled_Flashloader here].
 

Latest revision as of 09:50, 9 December 2022

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 should be loaded from these locations:

  • JLinkDevices folder (recommended)
  • The J-Link Settings File directory
  • A directory added with the command JLinkDevicesXMLPath
  • The J-Link Library Directory (deprecated and no longer recommended)
  • The J-Link Software Installation Directory (deprecated and no longer recommended)

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