Home ·

# JLinkConnection QML Type

JLinkConnection represents a JTAG connection to a programmable device using SEGGER J-Link adapter. More...

Import Statement: | import SAMBA.Connection.JLink 3.7
Inherits: | Connection

- List of all members, including inherited members

## Properties

- serialNumber : string
- speed : string
- swd : bool

## Methods

- close()
- getDeviceVersion()
- go(address)
- open()
- read(address, length, timeout)
- readu8(address, timeout)
- readu16(address, timeout)
- readu32(address, timeout)
- waitForMonitor(timeout)
- write(address, data)
- writeu8(address, data)
- writeu16(address, data)
- writeu32(address, data)

## Detailed Description

JLinkConnection can be used to connect to a device using SEGGER J-Link Adapter.

The device must have its JTAG port enabled. For example the SAMA5D4 device needs to recieve a command on the SAM-BA Monitor in order to enable its JTAG port. Please see the datasheet/manual of the device for more information.

## Property Documentation

serialNumber : string

The serialNumber to use for the connection.

This property contains the serial number of the SEGGER J-Link Adapter to use for the connection, for example "12345678".

speed : string

The speed of connection in kHz.

swd : bool

Whether the connection should be done using SWD mode or JTAG mode.

## Method Documentation

close()

See also Connection::close().

getDeviceVersion()

See also Connection::getDeviceVersion().

go(address)

See also Connection::go().

open()

See also Connection::open().

read(address, length, timeout)

See also Connection::read().

readu8(address, timeout)

See also Connection::readu8().

readu16(address, timeout)

See also Connection::readu16().

readu32(address, timeout)

See also Connection::readu32().

waitForMonitor(timeout)

See also Connection::waitForMonitor().

write(address, data)

See also Connection::write().

writeu8(address, data)

See also Connection::writeu8().

writeu16(address, data)

See also Connection::writeu16().

writeu32(address, data)

See also Connection::writeu32().