Read & Download schematic below, it covers the connection between the RM-Primis ECU and the GEN1 8HP Transmission TCU along with the BMW F-series Shifter, 10 and 8 Pin versions.
Right click to download: 8hp_schematic.pdf