Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Nightwalker-87
Copy link
Member

@Nightwalker-87 Nightwalker-87 commented Apr 21, 2020

grevaillot: stlink_open_usb now returns without failure when no target is detected, or when target is not fully handled. Fix behaviour of tools in that case.

nb: st-util handling should maybe be discussed. currently it allows to start with no supported flash, which is what i would expected from a debugging tool, but flashing wont work obvs.

(Closes #432, #835)

do not abort in case of load device param "error" :  this is supposed to return -1
if device is "unknown" or not detected, which is not reaaally an error.

we want probe to tell us what is the connected device even if we can not operate it
we want probe to tell us that it can not operate it, not to hide the connected stlink
check flash type before attempting to continue flash operations
Check if connected target chip id is known. Some more info regarding
connected chip should be set in chipid to know if debugging / attach
is possible, but not yet. some more checks should be done to generate
flash map / handle flashing if flash type is not supported..
@Nightwalker-87 Nightwalker-87 added this to the v1.6.1 milestone Apr 21, 2020
@Nightwalker-87 Nightwalker-87 merged commit 60be843 into stlink-org:develop Apr 21, 2020
@grevaillot grevaillot deleted the to_merge/probe_unconnected_target branch April 21, 2020 15:04
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Jun 28, 2020
@Nightwalker-87 Nightwalker-87 linked an issue Mar 7, 2021 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

stlink locks up when not connected to a device via JTAG / SWD [feature] Programmer serial should be displayed when no target is connected

2 participants