Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Unique Board Identifier to <board> description #141

Closed
jkrech opened this issue Jul 4, 2022 · 1 comment · Fixed by #146
Closed

Add Unique Board Identifier to <board> description #141

jkrech opened this issue Jul 4, 2022 · 1 comment · Fixed by #146
Labels
enhancement New feature or request Proposal Issue that contains a proposal for change of specification Specification Issue related to specification

Comments

@jkrech
Copy link
Member

jkrech commented Jul 4, 2022

Background:

Create a link between a physical board being connected to a host via an on board debugger and the corresponding Open-CMSIS-Pack compliant board description such that board (as well as mounted device) information can be automatically selected by tools.
The board vendor creates a 128 bit UUID for each board revision and embeds it in the debugger firmware and the package description as part of the board tag.
Universally Uniqe Identifier
Format: 8-4-4-4-12 for a total of 36 characters (32 hexadecimal characters and 4 hyphens).
For example:

    123e4567-e89b-12d3-a456-426614174000
    xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx

Change request:

Add new optional attribute Buuid of type string (36 characters long [0-9a-f-] to the specification of the board element.
E.g.:

   <board Bvendor="MyVendor" Bname="MyName" Brevision="Rev A" Buuid="123e4567-e89b-12d3-a456-426614174000">

Implementation:

E.g. in CMSIS-DAP:
Add a new CMSIS DAP_Info field to return the UUID
Corresponding request for extension in CMSIS-DAP: ARM-software/CMSIS_5#1433

Known limitations:

In case multiple boards are connected concurrently, the user needs to chose the active board from the list of the connected boards.

@jkrech jkrech added enhancement New feature or request Specification Issue related to specification Proposal Issue that contains a proposal for change of specification labels Jul 4, 2022
@jkrech jkrech self-assigned this Jul 4, 2022
@ReinhardKeil
Copy link
Collaborator

Added Attribute "uuid" to boards element in Open-CMSIS-Spec

ReinhardKeil added a commit to ReinhardKeil/Open-CMSIS-Pack-Spec that referenced this issue Jul 19, 2022
…S-Pack#141

     - added 'uuid' to boards element to indicate a 128-bit universal ID in the debug firmware of the board
     - added 'memory' and 'algorithm' child elements to the boards element to describe board-specific memory
     - added 'Bvendor', 'Bname', 'Brevision' attribute to conditions element to allow board specific filtering.
JonatanAntoni added a commit that referenced this issue Jul 19, 2022
- added 'uuid' to boards element to indicate a 128-bit universal ID in the debug firmware of the board
- added 'memory' and 'algorithm' child elements to the boards element to describe board-specific memory
- added 'Bvendor', 'Bname', 'Brevision' attribute to conditions element to allow board specific filtering.

Co-authored-by: Reinhard Keil <reinhard.keil@arm.com>
@jkrech jkrech removed their assignment Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Proposal Issue that contains a proposal for change of specification Specification Issue related to specification
Projects
Development

Successfully merging a pull request may close this issue.

2 participants