Skip to content

nucleo_u545re_q OpenOCD commands (erase-apps, list-attributes) fail #140

Description

@K-Nicolas-10

Context

There is a mismatch in behaviour depending on the communication channel used:
Flashing / Installing Apps: Works perfectly since OpenOCD is bypassed.
Erase-Apps / List-Attributes: When I try to run erase-apps or list-attributes and pass the --board nucleo_u545re_q flag, tockloader automatically tries to connect using OpenOCD. This forces it to use the default stlink.cfg file, which instantly crashes OpenOCD with a target identification / write data error.

Steps to Reproduce

  1. Connect a Nucleo STM32U545RE-Q board over USB.
  2. Run tockloader install <app> --board nucleo_u545re_q. (works)
  3. Attempt to read attributes or erase apps: tockloader list-attributes --board nucleo_u545re_q

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions