The best is to use the USB C power point because it offers also some protection to the board. However, Dupont wires can be used on a Rock 5 board, but it’s important to make sure that the wire gauge is appropriate for the amount of current being carried. Thicker wires (such as 22AWG) can carry more current than thinner wires (such as 26AWG). Check what you have/buy.
In general, a 22AWG Dupont wire can carry up to 2.5 amps of current, while a 26AWG Dupont wire can carry up to 1.5 amps of current. However, it’s always best to consult the specifications of the specific wire you’re using to ensure it can handle the current you need. The above is valid for a short wire (150mm).
It’s also important to ensure that the Dupont connector is properly connected and not loose on the Rock pin, as this can lead to resistance and overheating. Again ohm law applies here.
If you’re experiencing current issues, it may be helpful to connect multiple pins in parallel to increase the current-carrying capacity. For example, you could connect pins 2 and 4 in parallel for positive, and connect two ground pins (such as 34 and 39) in parallel as well. This will offer a larger cross-sectional area for the wires and reduce resistance, allowing for more current to flow without overheating. As said in the above posts, ohm law applies, thicker is the wire, more current you can carry. However you are still limited by the Dupoint connector and the size of the pin/copper on the board.
The above has been tested and works.