The pins are almost always numbered sequentially in a clockwise direction:

If you have a connector with "YP-05" stamped on it, here is the informative guide to the pinout, wiring, and usage.

This is the classic Arduino error. Usually, it means your TX and RX wires are swapped, or the DTR pin isn't triggering a reset.