Raspberry pico error?

Tried 2 different picos.

Submitted the “001-hello” example.
I get errors. Are the picos not supported? I just assumed they were, since you can select them in the xod menu.

I do remember the first time I plugged it in, it XOD wanted to download some additional stuff and I remember xod saying that it was deprecated. So now I have 2 version of the pico to select from. But none of the work. I get the same error. Seems one is the updated version, the other is the old deprecated version.

I can upload examples created with Arduino IDE fine when. But doesnt work when trying to upload stuff in XOD.
I can also get the onboard LED to light up when I program it via Thonny.

Thanks
This is with the first “Raspberry Pico” model selected (either the deprecated version or not). I get this error:

Begin compiling code for the board Raspberry Pi Pico :package:

C:\Users\TRJ1\xod_packages_\packages\arduino\hardware\mbed\3.3.0\cores\arduino\main.cpp:52:1: internal compiler error: in output_macinfo_op, at dwarf2out.c:26881
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See https://gcc.gnu.org/bugs/ for instructions.

C:\Users\TRJ1\xod_packages_\packages\arduino\hardware\mbed\3.3.0\cores\arduino\timer.cpp:37:1: internal compiler error: in output_macinfo_op, at dwarf2out.c:26881
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See https://gcc.gnu.org/bugs/ for instructions.

Error during build: exit status 1
Compilation failed
Command Process exited with code 1
The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.

If I then select the other Raspberry pico selected.

Begin compiling code for the board Raspberry Pi Pico :package:

: internal compiler error: in decl_attributes, at attribs.c:453

Please submit a full bug report,
with preprocessed source if appropriate.
See https://gcc.gnu.org/bugs/ for instructions.

C:\Users\TRJ1\xod_packages_\packages\arduino\hardware\mbed_rp2040\4.1.3\cores\arduino\api\Stream.cpp:321:1: internal compiler error: in output_macinfo_op, at dwarf2out.c:26881
}
^

Please submit a full bug report,
with preprocessed source if appropriate.
See https://gcc.gnu.org/bugs/ for instructions.

C:\Users\TRJ1\xod_packages_\packages\arduino\hardware\mbed_rp2040\4.1.3\cores\arduino\Interrupts.cpp:88:1: internal compiler error: in output_macinfo_op, at dwarf2out.c:26881
}
^

Please submit a full bug report,
with preprocessed source if appropriate.
See https://gcc.gnu.org/bugs/ for instructions.

C:\Users\TRJ1\xod_packages_\packages\arduino\hardware\mbed_rp2040\4.1.3\cores\arduino\Tone.cpp:65:2: internal compiler error: in output_macinfo_op, at dwarf2out.c:26881
};
^

Please submit a full bug report,
with preprocessed source if appropriate.
See https://gcc.gnu.org/bugs/ for instructions.

Error during build: exit status 1
Compilation failed
Command Process exited with code 1
The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.

Tried Macos and stuff worked. So it seems that something is wrong on the windows version of xod or some of the software tied to the pico acces… Who knows.

Update:
On windows, it only works if I hold down the boot button and connect the pico while the computer is compiling. Then plug in the pico (with boot held down) right before the computer actually uploads the code to the pico and release the boot button.

But on macos it works.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.