How to configure the cfg file to flash STN32L476 devices using Jlink mode

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale

Research direction

Start by reviewing the OpenOCD cfg configuration for Jlink mode and the transport-selection message shown in the issue. Reproduce the failure with an STN32L476 device and determine what configuration is required for a supported transport. Done means the working cfg settings and any necessary command changes are documented.

Written by the indexing model from the issue text.

Description

I want to use Jlink mode to flash my STN32L476 devices but failed, it indicates:
Info: auto-selecting first available session transport "jtag". To override use 'transport select '
Info: J-Link STLink V21 compiled Aug 12.....
Error: Selected transport is not supported by the device

How should I configure the cfg file?

Dominant language
C
Stars
202
Forks
57
PR merge metrics
No merged PRs in 30d

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.

More from STMicroelectronics/OpenOCD

All issues in STMicroelectronics/OpenOCD

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.