J-Link DSK
The J-Link Device Support Kit (DSK) enables silicon vendors and customers to add support for new devices on their own.
Overview
A new device usually requires a flash loader and in some cases also a script defining special connect and reset sequences, required by the device. While SEGGER maintains the updating of J-Link software with new devices, some devices might be left out in the process. To enable customers to fill in the gaps on their own, the J-Link DSK is offered. To make creating support as easy as possible, the J-Link DSK comes with the SEGGER flash loader as well as a set of example script files for various devices that require special handling.
Key features
- Available for most cores currently supported by J-Link
- Enables ultra high speed programming of devices not yet added to the support database
SEGGER high-performance flash loader
A core component of the DSK is the SEGGER high-performance flash loader. It is responsible for the setup of the device for accessing flash memory via the debug interface of the microcontroller. The flash loader is a piece of code tailored to the supported device that is temporarily downloaded into RAM. It performs the programming of the flash.
Once a flash loader has been added for a new device, it is used by the J-Link flash download feature and flash download is available in all J-Link utilities (J-Link Commander, J-Flash, ...). The flash loader also enables the unlimited number of breakpoints in flash feature for the device. Direct download into flash memory via an IDE / Ozone is available as well.
Bottom line: The flash loader makes the flash download support behave as if device support had been added by SEGGER directly. For more information about the flash loader and how to write an algorithm, please refer to the SEGGER wiki.
J-Link script files
Some devices require special connect/reset sequences which are not covered by the generic sequences J-Link uses by default. For such devices, a J-Link script file may be needed to have proper device support in J-Link. The J-Link DSK includes examples of J-Link script files for various devices that require special handling. For more information about J-Link script files in general, please refer to the SEGGER wiki.
Third-party device additions
Silicon vendors or project managers who have device support files for new devices may require a way to distribute the files that include the support. The files can either be copied to the hard drive of the end user or added by simply running an installer. The J-Link DSK comes with a template for an installer setting this up within Microsoft Windows.
J-Link DSK Package
The J-Link DSK includes everything which is needed to add support for a new device to the J-Link software.
Name | Description |
---|---|
Flash loader templates | SEGGER Flash Loader templates. (At least one for each CPU architecture supported by the DSK) |
Reference device entries | Folders and files that demonstrate the structure that is required for the J-Link software to recognize and list a device added via the DSK. |
Installer | Source files and a build script for creating a custom Windows installer. The installer is intended can then be provided toend customers for automatically setting up everything necessary to integrate a device that was added via the DSK to an installation of the J-Link software. |
Support | Includes 6 months of free support (2h) and updates. |
FAQ
Q: I am using a device that incorporates CPU core / architecture XYZ but I cannot find that core on the list of Supported CPU architectures for the SEGGER flash loader. Can I still use the J-Link DSK + SEGGER flash loader?
A: Please get in touch with us. We will find a solution!
Q: I have an SPI flash connected to my Cortex-M4 based MCU but the SPI flash is not memory-mapped into the MCU address space. Can I still use the DSK + SEGGER flash loader?
A: Yes, the SEGGER flash loader also works with non-memory mapped flash devices. All that needs to be done is the assigning of a "virtual" address to such flash. The J-Link software uses these virtual addresses. The flash loader will then map the virtual address to the actual memory access.