OpenSDA / OpenSDA V2 Firmware
SEGGER offers a firmware running on the NXP OpenSDA platform which makes OpenSDA compatible with J-Link LITE.
- Supports all ARM based NXP boards which come with on-board OpenSDA
- Implements SWD debug protocol and virtual COM port functionality
This firmware allows users to take advantage of most J-Link features like the ultra fast flash download and debugging speed or the free-to-use GDBServer, by using a low-cost OpenSDA platform for developing on evaluation boards.
Due to limitations of the OpenSDA bootloader replacing the firmware to use it as a J-Link can only be done on Windows and Linux systems. When the firmware is replaced, it can be used like any J-Link on macOS, too.
In order to get started with OpenSDA just a few steps are necessary:
- Make sure that the latest J-Link software package is installed: J-Link software package download
- Take the eval board which supports OpenSDA and connect it to the PC via USB while keeping the reset button of the board pushed. This will start the OpenSDA platform in MSD mode.
- The OpenSDA platform will show up as mass storage device (MSD) on the PC just like an USB stick.
- Download and extract the appropriate OpenSDA image
- Load the firmware by simply drag & drop the *.bin file on the device.
- After power-cycling the hardware, the OpenSDA platform will show up as J-Link on the PC.
- The firmware is only to be used with NXP target devices. Using it with other devices is prohibited and illegal.
- The firmware is for use with evaluation boards only. It is not for use with custom hardware.
- The firmware may only be used for development and/or evaluation purposes. It may not be used for production purposes.
- The firmware is made available without any warranty and without support.
If there is any doubt if a certain use may be considered within the foregoing scope it is strongly recommended to consult SEGGER prior to use.
When starting a debug session, the following license dialog shows up which must be accepted in order to be able to work with OpenSDA:
Drag-And-Drop is a an additional feature of the J-Link OpenSDA firmware which adds a very intuitive programming feature. It allows programming your target MCU in a very simple way.
J-Link with Drag-And-Drop capability appears both as a debug probe and as a flash drive on the user's computer - similar to a USB stick. The J-Link's high performance and functionality for programming and debugging remain unchanged! The additional flash drive capability simplifies programming the target to dragging a Motorola S-record, Intel Hex, or plain binary file onto the J-Link Drive using the desktop.
Note: Drag-And-Drop support is not mandatory to debug and flash your target via a debugger/IDE.
Compatible Evaluation Boards
The following eval boards have been tested with the J-Link OB firmware and are known to be working. Other eval board may work as well but are not guaranteed to do so. In case of doubt, please consult SEGGER.
|Evaluation Board||OpenSDA bootloader version|
Upgrading from 3rd Party Firmware to J-Link OpenSDA Firmware
Follow the steps above to bring the OpenSDA into bootloader mode. Select the appropriate firmware image for the board you are using: Firmware download
Note: Programming a board-specific firmware will also update the MSD configuration of the OpenSDA, meaning the old configuration is overwritten and updated to the one that comes with the image. The MSD configuration is there to support drag and drop programming. If a custom MSD config is used etc., please follow the instructions at "Updating board that is already running J-Link OpenSDA firmware" which will only update the firmware, by prevsering the MSD ocnfiguration.
Updating a Board That is Already Running J-Link OpenSDA Firmware
Follow the steps above to bring the OpenSDA into bootloader mode. Check the table above to determine which OpenSDA bootloader version is running on the board. Select the appropriate generic OpenSDA firmware image for the OpenSDA bootloader version you are using: Firmware download
Note: Programming a generic firmware will only update the firmware, not the MSD config. In case the MSD config shall also be updated, please follow the instructions at "Updating board that is already running J-Link OpenSDA firmware".
Firmware Version History and Limitations
Firmware Version History
- Added firmware for MIMXRT1020-EVK
- Added firmware for MIMXRT1050-EVK
- Some boards could hang when trying to open the virtual COM port in a terminal application (e.g. FRDM-K22F) fixed.
- Under special circumstances, the feature area of the J-Link contained garbage which could result in incorrect behavior of the firmware. Fixed.
- Added image for FRDM-KW24D512
- Under very special circumstances it could happen that when sending data to the target via VCOM, the second byte sent after powering up OpenSDA was swallowed. Fixed.
- Firmware could crash because unaligned accesses crossing SRAM_L/SRAM_U inside the firmware could happen. Fixed.
- Under special circumstances, flash download could report an error during erase even if erasure worked fine.
(Introduced with firmware from 16-07-12) Fixed.
- Added firmware for Open SDA V3.2
- Added VMSD config for USB-KW41Z board
- MSD volume label can be defined by MSD config
- MSD is not enabled, if no valid MSD config is found
- Changed LED pin configuration to open drain
- Changed RESET pin configuration to open drain and high drive strength
- MSD detach + reattach after MSD programming did not work properly. Fixed.
(MSD task and timeout task had the same priority and round robin is not supported in release build)
- Added MSD programming
- Pull-up on VCOM Tx and Rx lines were not enabled by J-Link OB firmware. This could cause problems (target received NULL characters all the time) on some boards that do not have external pull-ups (e.g. FRDM-KW24D512). Fixed.
The firmware that makes the OpenSDA platform J-Link compatible has some limitations in contrast to an original, industry leading SEGGER J-Link:
- May be used with ARM based NXP devices only.
- Only debugging on evaluation boards is allowed. Debugging on custom hardware is not supported and not allowed.
- No production flash programming support.
- Unlimited breakpoints in flash available for evaluation only.
- No support is given.
By using an original SEGGER J-Link PRO, J-Link ULTRA+ or J-Link PLUS, all these limitations will be gone. Learn more about J-Link