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

General • RP204 USB Port

$
0
0
Hello,

Hopefully a fairly simple question for someone to answer.

I am in the process of laying out a PCB based around a RP2040.
Initially, I intend to program it with using the Arduino IDE and maybe use the Pico Probe as a programmer or the Arduino Bootloader and usie the USB for programming it.

The project is requires a USB port to talk to a PC but does NOT require it to be USB powered.
The whole project is powered by a 5V/3.3V Supply for all I/O and the RP2040.

If I use the onboard RP2040 USB port for the comms to the PC, I don't want anyone to be able to fire up Arduino and reprogram the board or see it in the Arduino IDE.

My current prototype uses a separate UART/USB chip for the PC COMMS (using the separate RP2040 UART). I am only using the USB port (RP2040) for programming via Arduino, and will not connect it in the finished project.

But this of course uses a separate UART/USB chip, take up PCB space, and uses two of the I/O pins.

So, can I use the RP2040 USB port for PC comms but somehow block it for Arduino use (Maybe by using the Pico Probe for programming) so if the end uses fires up[ Arduino, they will not see the board?

Does that make some sort of sense?

Thanks

Statistics: Posted by hobbyelectronics — Sun Sep 08, 2024 6:11 pm — Replies 0 — Views 61



Viewing all articles
Browse latest Browse all 4474

Trending Articles