tock / tock/tockloader

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

Open
#140 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
44
Forks
59
Avg merge
20h 33m
Merged PRs (30d)
2

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the tockloader entry points for erase-apps and list-attributes, comparing their --board nucleo_u545re_q path with the working install command. Reproduce the commands on a Nucleo STM32U545RE-Q and trace the OpenOCD connection behavior; done means both commands work for this board without breaking installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.