Skip to content

[Improvement] Template support for quick development via USB (BOOTSEL) #9

@migueleliasweb

Description

@migueleliasweb

Hi all,

I'm a bit new to rust and no_std embedded development.

I have recently stumbled across the fact that one would need to constantly reconnect the rp2350 (or any Pico for this matter) and hold BOOTSEL in order for the flashing via PICOTOOL to work. Otherwise a message such as No accessible RP-series devices in BOOTSEL mode were found. is shown. This gets a bit tedious and slows downs the dev process substantially.

I did a bit of research and it seems that there is a way for the flashed firmware to play nice with USB via some kind of code that automatically puts the Pico into a mode that allows new code to be flashed directly via the USB interface without basically "resetting" the device (when pressing BOOTSEL). This means the user would have to press BOOTSEL once and as long as the firmware is not horribly crashing inside the MCU, they would be able to re-flash it without pressing the button and reconnecting the Pico.

As the Raspberry Pi foundation and the community want to lower the barrier to entry for projects using the Pico, would it make sense to incorportate this code onto the rust templates to simplify and speed up the development process?

I believe this is related to:

Thanks in advance.

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