Skip to content

openocd recipe has bootloader 0 (no prot?) #124

Closed
@ladyada

Description

@ladyada

heya folx - i was writing a tutorial and noticed that your recipe for openocd programming the bootloader is

tools.openocd.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -s "{path}/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "telnet_port disabled; init; halt; at91samd bootloader 0; program {{{runtime.platform.path}/bootloaders/{bootloader.file}}} verify reset; shutdown"

in particular the "at91samd bootloader 0" is required to unset bootloader protection before uploading, so thats good. however, that protection is never re-set with "at91samd bootloader 8192" or something after programverify.... I'm pretty new to openocd but thought it was worth checking :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions