Skip to content

CPU Core can be running during flash #242

@chanqueo

Description

@chanqueo

As documented, JLink.halted() method can raise an exception, leading in the method JLink.halt() not called.

        try:
            # Stop the target before flashing.  This is required to be in a
            # try-catch as the 'halted()' check may fail with an exception.
            if not self.halted():
                self.halt()
        except errors.JLinkException:
            pass

Why not calling JLink.halt() systematicaly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions