Problems trying to wire a USB-C cable
There are two types of Type-C to Type-A cables, one is Type-C to Type-A plug, and another is Type-C to Type-A receptacle. The cables play two different roles, and must be built differently.


The Type-C to Type-A plug cable is used to connect a legacy USB-A host to modern Type-C device, because the Type-A plug goes only to USB hosts receptacles, and nowhere else. In  this case the Type-C end of cable must look like it is USB host, and therefore must have a pull-up to +5V VBUS on CC1 pin. Since the the cable goes to regular USB host with generic capability of 500 mA, the Type-C end of cable must have a 56k pull-up resistor, not 22k, not 10k, to prevent port overcurrent and potential damage to the host.
The Type-C to Type-A receptacle cable is used to connect USB Type-C host to any legacy device like a flash drive with Type-A plug. Other legacy devices would require either extra legacy cable, or a different Type-C legacy cable. To make a Type-C host to act as host, the C-end must look as a device, and therefore must have a 5.1k pull-down on CC pin. Essentially this cable is like a legacy "OTG adapter", it converts Type-C host port into Type-A host port.