Replies: 4 comments 1 reply
-
|
I haven't played with it for a couple years, but with a suitable version of openocd you should be able to do things like: Last time i played with it, you needed a custom / non-released version of openocd - but it looks like the 0.12.0 release should have everything needed: https://openocd.org/openocd-0120-released.html |
Beta Was this translation helpful? Give feedback.
-
|
Why do you use probe-rs ? |
Beta Was this translation helpful? Give feedback.
-
|
Usually (I think |
Beta Was this translation helpful? Give feedback.
-
|
Hi there, I'm moving the first steps with TinyGo in order to evaluate performance and development effort for a new project based on RP2040 (or maybe 2350). Looks very easy to manage source code and tool-chain. What is pedantic, in my opinion, especially on first usage is compiling as UF2, press BOOT/RUN and flash the image to the target. I'm used to compile directly to a binary image (evt. HEX format) then upload via SWD and have an UART monitor always connected to the PC instead of going through the USB device. According to the documentation, it is possible to specify a .bin extension to the -o option in order to generate a binary image. So I just got the basic blinky example to compile then upload with two simple bash scripts. Build script: Upload script: Loading generated .bin with a simple EDBG (CLI tool) the target device remains mute even after successful programming and verification. Here the full output for reference: Loading the bin image to Hex Editor (VS Code extension), this file appears as 12 consecutives UF2 header blocks of 512 bytes. May be the .bin export broken for "pico" target? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings, I'm coming from Rust so Go + Embedded is still a bit new for me. I have a Raspberry Pi Pico linked up with a Pi Debug Probe. Currently, I do
tinygo build -target=pico main.go, followed withprobe-rs run --chip RP2040 main.elf.Is there any way to make
tinygo flashcall theprobe-rscommand via any config file? Or is there any other tooling better integrated?Beta Was this translation helpful? Give feedback.
All reactions