I'm not familiar with the RP2040. Usual thing to check is what your operating system (which one) thinks of your board. In Windows, use device manager; in Linux, use lsusb and dmesg.
Have you tried a different cable? It's possible that you are using a charge-only cable.
Your topic has been moved to the dedicated RP2040 section on the forum.