[riot-notifications] [RIOT-OS/RIOT] boards/stm32f3: fix openocd config to flash from invalid state (#11550)

Gaƫtan Harter notifications at github.com
Mon May 20 14:30:04 CEST 2019


### Contribution description

When flashing multiple times the flasher sometimes gets stuck which
prevents flashing after.
It may be from a specific firmware or operation but do not have one yet.
Connect under reset fix flashing from this state.
-c 'reset halt' is needed to support debug with the new configuration.

It was found after the `stm32f3discovery` get stuck in a non-flashable mode
after some firmwares.

This was adapted from `stm3f103c8` configuration and commit.

Co-authored-by: MrKevinWeiss <weiss.kevin604 at gmail.com>

### TODO

This only updates the `stm32f3discovery` despite changing `stm32f3.cfg` for all boards using it.

The goal is to make this known so it can be addressed properly for the whole family.

### Testing procedure

TODO: find a firmware that prevents re-flashing it


### Issues/PRs references

Found while running the test suite on the board in #10870
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11550

-- Commit Summary --

  * boards/stm32f3: fix openocd config to flash from invalid state

-- File Changes --

    M boards/common/stm32/dist/stm32f3.cfg (4)
    M boards/stm32f3discovery/Makefile.include (4)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11550.patch
https://github.com/RIOT-OS/RIOT/pull/11550.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11550
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190520/3fb91f1e/attachment.html>


More information about the notifications mailing list