Public bug reported:

This bug happens when trying to flash tock (https://www.tockos.org/) on
a Nucleo STM32F446RE board which may bring up the MCU in a state where
the on-board STLink can't talk to it.

To reproduce, you need the tock source (commit
2d1bbdd7f3000f71e57ef5abc1d3846f67807f8a shows the problem) and the
build environment (
https://github.com/tock/tock/blob/master/doc/Getting_Started.md ), the
named nucleo board, and a mini-USB cable.

Then do

Connect the board via USB
cd <path to tock>/boards/nucleo_f446re
make flash

Unplug and reconnect the board

make flash

Some more details (and how to get your nucleo board in a usable state
again) in
https://github.com/tock/tock/issues/1843#issuecomment-627924162

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: openocd 0.10.0-6build1
ProcVersionSignature: Ubuntu 5.4.0-29.33-lowlatency 5.4.30
Uname: Linux 5.4.0-29-lowlatency x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Wed May 13 13:38:42 2020
InstallationDate: Installed on 2014-04-14 (2220 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326)
ProcEnviron:
 TERM=screen-256color-bce
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: openocd
UpgradeStatus: Upgraded to focal on 2020-05-08 (4 days ago)

** Affects: openocd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

** Attachment added: "core.bz2"
   https://bugs.launchpad.net/bugs/1878404/+attachment/5370900/+files/core.bz2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878404

Title:
  double free on certain types of STLink-board communication failures

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openocd/+bug/1878404/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to