Devices data


Devices data - schema (devices data model)

Type: object

Type: enum (of string)

Devices data - schema version (recommended 2.0.0)

Must be one of:

  • "2.0.0"

Type: object

Separate device/board definitions

Type: array of object

Device fragments

No Additional Items

Each item of this array must be:

Type: object

Type: object

Device specific information

No Additional Properties

Type: object

The following properties are required:

  • id
Type: object

The following properties are required:

  • name

Type: string

Device id

Type: string

User-friendly device name

Type: string

Device family

Type: array of object

Device memory map - flash/ram regions

No Additional Items

Each item of this array must be:

Type: object

Memory region info

No Additional Properties

Type: string

Start address (format: hex)

Must match regular expression: ^0x([a-fA-F0-9])+$

Type: string

Region size (format: hex)

Must match regular expression: ^0x([a-fA-F0-9])+$

Type: enum (of string)

Memory type

Must be one of:

  • "Flash"
  • "ExtFlash"
  • "RAM"

Type: string

Flash driver file name (*.cfx)

Type: array of string

Cores specific memory region. If needed, must be one of the keys from devices.cores

No Additional Items

Each item of this array must be:

Type: array of object

Cores topology (ordered by access port or TAP)

Must contain a minimum of 1 items

All items must be unique

No Additional Items

Each item of this array must be:

Type: object

Core information

No Additional Properties

Type: stringFormat: ^[A-Za-z0-9_\-]$

Core name, unique per device

Type: boolean

Is primary boot core. Only one core is allowed to be a primary boot core.

Type: string

Core index, used to specify a custom value or to change the default index. (format: n or nap:ntap. Where nap = n divided by 16, ntap = nt modulo 16. n, nap, n_tap are decimal numbers.)


Examples:

"1"
"1:2"

Type: object

Debug specific information

No Additional Properties

Type: object or null

Debug specific core options. The key must be a core name from device.cores

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^[A-Za-z0-9_\-]$
Type: object

Debug information for this core

No Additional Properties

Type: string

I-Cache/D-Cache handler library

Type: enum (of null or string)

Reset method on initial connection

Must be one of:

  • "system"
  • "core"
  • "default"
  • null

Type: enum (of null or string)

Reset method before running the RAM-loaded flash driver

Must be one of:

  • "system"
  • "core"
  • "soft"
  • null

Type: enum (of null or string)

Reset method used to start the image loaded into flash memory

Must be one of:

  • "system"
  • "core"
  • "soft"
  • null

Type: string or null

Pre-attach script

Type: string or null

Pre-connect script

Type: string or null

Connect script

Type: string or null

Reset script

Type: string or null

Mass erase script

Type: string or null

BootROM stall address (format: hex)

Must match regular expression: ^0x([a-fA-F0-9])+$

Type: integer or null

BootROM stall delay in milliseconds


Example:

200

Type: boolean or null Default: false

Disable flash hashing (enabled by default)

Type: boolean or null Default: false

Debug Access Port (DAP) does not support packed transfers

Type: enum (of null or string)

DAP stride

Must be one of:

  • "auto"
  • "standard"
  • "long"
  • "short"
  • null

Type: integer or null

DAP AP index limit

Type: integer or null

DAP AP index minimum value (start)

Type: array of integer or null

A list of DAP AP indexes allowed

Must contain a minimum of 1 items

Must contain a maximum of 256 items

No Additional Items

Each item of this array must be:

Type: integer

DAP AP index

Value must be greater or equal to 0 and lesser or equal to 255

Type: array of integer or null

A list of custom JTAG TAPs IR length

Must contain a minimum of 1 items

Must contain a maximum of 8 items

No Additional Items

Each item of this array must be:

Type: integer

TAP IR length

Value must be greater or equal to 1 and lesser or equal to 255

Type: array of string or null

A list of debug 32-bit unlock keys

Must contain a minimum of 1 items

Must contain a maximum of 8 items

No Additional Items

Each item of this array must be:

Type: string

32-bit unlock key (format: hex)

Must match regular expression: ^0x([a-fA-F0-9]{1,8})$

Type: boolean or null

Don't shutdown DAP when closing the probe

Type: enum (of null or string) Default: "swd"

Debug protocol

Must be one of:

  • "swd"
  • "jtag"
  • null

Type: boolean or null

Has SWO

Type: integer or null

Wire speed in Hz

Type: object or null

Boot configurations (name:<data> pairs) aimed to be used with MCU-Link on-board probes. <data> is a string of 4 characters ('x', '1' or '0') describing how each ISP_CTRL[3..0] pin should be handled.

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^[A-Za-z0-9_-]*$
Type: string

<data> for this boot configuration name

Must match regular expression: ^[x01]{4}$

Type: array of object

Board fragments

No Additional Items

Each item of this array must be:

Type: object

Type: object

Board data

No Additional Properties

Type: string

Board id. It can be an empty string if board id is not needed.

Type: array of object

Device memory map - flash/ram regions

Same definition as memory

Type: array of object

List of devices that can be paired with this board

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: array of object

List of standalone device & board pairs

No Additional Items

Each item of this array must be:

Type: object

Device-Board data

No Additional Properties

Type: object

Device specific information

Same definition as device

Type: object

Debug specific information

Same definition as debug
Type: object

Deprecated

Type: enum (of string)

Devices data - schema version (recommended 1.1.2)

Must be one of:

  • "1.1.2"
  • "1.1.1"
  • "1.1.0"
  • "1.0.0"
  • "0.0.1"

Type: array of object

List of devices

No Additional Items

Each item of this array must be:

Type: object

Device data

No Additional Properties

Type: string

Board name. It can be an empty string if board name is not needed.


Device specific information

No Additional Properties

Type: object

The following properties are required:

  • id
Type: object

The following properties are required:

  • name

Type: string

Device id

Type: string

User-friendly device name

Type: string

Device family

Type: array of object

Device memory map - flash/ram regions

No Additional Items

Each item of this array must be:

Type: object

Memory region info

No Additional Properties

Type: string

Start address (format: hex)

Must match regular expression: ^0x([a-fA-F0-9])+$

Type: string

Region size (format: hex)

Must match regular expression: ^0x([a-fA-F0-9])+$

Type: enum (of string)

Memory type

Must be one of:

  • "Flash"
  • "ExtFlash"
  • "RAM"

Type: string

Flash driver file name (*.cfx)

Type: string

Cores specific memory region. If needed, must be one of the keys from devices.cores

Type: array of object

Cores topology (ordered by access port or TAP)

Must contain a minimum of 1 items

All items must be unique

No Additional Items

Each item of this array must be:

Type: object

Core information

No Additional Properties

Type: stringFormat: ^[A-Za-z0-9_\-]$

Core name, unique per device

Type: boolean

Is primary boot core. Only one core is allowed to be a primary boot core.

Type: string

Core index, used to specify a custom value or to change the default index. (format: n or nap:ntap. Where nap = n divided by 16, ntap = nt modulo 16. n, nap, n_tap are decimal numbers.)


Examples:

"1"
"1:2"

Type: object

Debug specific information

Same definition as debug

The following properties are required:

Type: string

Devices data - SPDX-License-Identifier: BSD-3-Clause

Type: string

Devices data - vendor