Closed LittleYe233 closed 1 day ago
Thanks for reporting the issue. Are you on arm64 or x86 (from the logs I assume x86)?
Yes, it should work if you download and extract it into .pico-sdk\toolchain\RISCV_RPI_2_0_0_2
so the bin folder and everything is in this folder.
Can you try out the debug version of this release and see if you get any more logging output when reproducing the error? https://github.com/raspberrypi/pico-vscode/releases/tag/0.16.2
Can you try this debug build, it also includes a small change that might solve the issue for you: debug-raspberry-pi-pico-0.16.2-1.zip Have you setup a GitHub PAT for the extension?
@paulober Thank you for your fast reply! I have tested the debug version and it works as expected. (BTW I recommend to add a progress indicator in the console if possible, for the download operation may take long.)
I haven't set up a GitHub PAT yet because I thought it might not be very necessary. I don't know whether it affects the download operation or not.
I haven't set up a GitHub PAT yet because I thought it might not be very necessary. I don't know whether it affects the download operation or not.
That normally not required but it was just interesting for tracing down the issue.
I have tested the debug version and it works as expected. (BTW I recommend to add a progress indicator in the console if possible, for the download operation may take long.)
Great. What do you mean by in the console? You currently should get a progress bar in the notifications area when downloading SDK and Toolchain.
@paulober I have checked the console of developer tools and the pop-ups at the right bottom corner of VS Code (screenshots attached). I think there is nothing to indicate the detailed download progress like 10%, 20%, etc. If there is a progress bar elsewhere, please forgive my fault.
I meant the one shown on your first screenshot. We currently don't have a detailed one.
I am using the latest VS Code Insiders and Arch Linux, and trying to create an RISC-V example project for Pico 2, but the extension complained that "Failed to download and install SDK and/or toolchain". The selected RISC-V toolchain version is RISCV.RPI.2.0.0.2. Downloading ARM toolchain is always successful. I have found some similar issues and tried to downgrade to something like v0.15.1, but it still failed. I tried to directly download the toolchain file defined in
data
folder of this repo, and it seemed accessible.Here is the full log:
BTW, can I directly download the toolchain file and extract it to
~/.pico-sdk/toolchain/<RISCV-TOOLCHAIN-VERSION>
?