You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It would be great if probe-rs run supported directly loading an image into sram (or as much of it as possible) for fast testing and debugging. Flashing QSPI flash can be painfully slow, these parts often have plenty of ram to run the entire image out of them. It would be great to have very fast turn around times on running things.
Describe the solution you'd like
probe-rs given an image that loads into ram succeeds, and maybe better yet understands its doing something a bit special
Additional context
Building an image for sram only for imxrt1010 and trying to run it gets me...
probe-rs run --probe 0d28:0204 --chip MIMXRT1010 target/thumbv7em-none-eabihf/debug/examples/hal_clock_out
Error: Error while flashing
Caused by:
No flash memory contains the entire requested memory range 0x20002000..0x20002400
Instead I wish it would simply load the image
pyocd does seem to at least load it successfully, though likely it gets vanquished on a reset.
That target does not contain the DTCM memory range that you expect as correctly told by the error message.
We can definitely improve the message to not mention flash and maybe print available ranges.
Is your feature request related to a problem? Please describe.
It would be great if probe-rs run supported directly loading an image into sram (or as much of it as possible) for fast testing and debugging. Flashing QSPI flash can be painfully slow, these parts often have plenty of ram to run the entire image out of them. It would be great to have very fast turn around times on running things.
Describe the solution you'd like
probe-rs given an image that loads into ram succeeds, and maybe better yet understands its doing something a bit special
Additional context
Building an image for sram only for imxrt1010 and trying to run it gets me...
Instead I wish it would simply load the image
pyocd does seem to at least load it successfully, though likely it gets vanquished on a reset.
So I suppose in this case what I'd love to see is maybe a special mode that loads to ram by doing the equivalent of gdb's
This does work using pyocd's gdb server
The text was updated successfully, but these errors were encountered: