Detailed description
This PR addresses the Flash write speed problem on the RP2040 by moving a pile of the logic into a RAM stub executed on device. With this PR the speed via BMDA over BMP goes from 220B/s to 1KB/s in the first generation of stub (0a1a384), and then all the way to 12KB/s in the second and final generation of the stub.
Your checklist for this pull request
Closing issues
## Detailed description
This PR addresses the Flash write speed problem on the RP2040 by moving a pile of the logic into a RAM stub executed on device. With this PR the speed via BMDA over BMP goes from 220B/s to 1KB/s in the first generation of stub (0a1a384), and then all the way to 12KB/s in the second and final generation of the stub.
## Your checklist for this pull request
* [x] I've read the [Code of Conduct](https://github.com/blackmagic-debug/blackmagic/blob/main/CODE_OF_CONDUCT.md)
* [x] I've read the [guidelines for contributing](https://github.com/blackmagic-debug/blackmagic/blob/main/CONTRIBUTING.md) to this repository
* [x] It builds for hardware native (`make PROBE_HOST=native`)
* [x] It builds as BMDA (`make PROBE_HOST=hosted`)
* [x] I've tested it to the best of my ability
* [x] My commit messages provide a useful short description of what the commits do
## Closing issues
<!-- put "fixes #XXXX" here to auto-close the issue(s) that your PR fixes (if any). -->