Skip to content

setting serial speed resets target #6

Description

@mmoskal

the Vendor2 command (0x82) which is used to set the line speed also sends a break:

https://github.com/microbit-foundation/DAPLink/blob/master/source/daplink/cmsis-dap/DAP_vendor.c#L93

this resets the target:

https://github.com/microbit-foundation/DAPLink/blob/master/source/daplink/usb2uart/usbd_user_cdc_acm.c#L130

I don't thinks v1 was doing this, and I think this is why makecode resets the board twice while flashing over WebUSB.

cc @jaustin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions