Skip to content

WebUSB for Segger devices #248

@Amerlander

Description

@Amerlander

Calliope mini 2 is based on J-Link by segger instead of CMSIS-DAP.

The current implementation of WebUSB in pxt only supports dapjs and therefore webUSB is not working in MakeCode for the Calliope mini 2.

We tryed to implement J-Link WebUSB, but it seems like the interfaces are hard coded somewhere in pxt and it is not possible to do this only in the pxt-calliope target.

image

@jwunderl could you help us to figgure out if and how J-Link webUSB could be implemented into pxt and our pxt target, to support the webUSB capabilitys of the Calliope mini 2?


Sample implementation of J-Link webUSB: https://www.segger.com/jlink_webusb_update_target_firmware.html

Implementation of WebUSB API: https://www.segger.com/seggerbulk.js
https://www.segger.com/programming.js

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