Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7995

General • Re: Update: Simple serial connection not working (PR2350/Pico2)

$
0
0
1. I tried compiling the "hello_usb" example. For some reason this particular example did not compile at all.
Perhaps tell us why it didn't compile; what errors you got ?

That will help others ascertain what the reason is, what the problem is, and how to resolve it.

Unfortunately most of the official examples are not intended to work with USB serial but "hello_usb" is. If you can't get that working I doubt you will get any others working with USB serial, are just wasting time and effort trying to.
To be precise, I did not get any errors while compiling. It just had 2 Tasks insted of the 60-ish tasks it normalls has. When trying to hit "run project (USB) i get the following error:

Code:

Executing task: C:\Users\nicoz/.pico-sdk/picotool/2.0.0/picotool/picotool.exe load c:/VSPico/hello_usb/build/hello_usb.elf -fx ERROR: Could not open 'c:/VSPico/hello_usb/build/hello_usb.elf' *  The terminal process "C:\Users\nicoz\.pico-sdk\picotool\2.0.0\picotool\picotool.exe 'load', 'c:/VSPico/hello_usb/build/hello_usb.elf', '-fx'" terminated with exit code: -4.  

Statistics: Posted by ni.c00 — Thu Nov 21, 2024 1:54 pm



Viewing all articles
Browse latest Browse all 7995

Trending Articles