Just going through making a custom cable for the ICE, I Though I would share the part numbers I used.
I am doing a Atmega328PB Qtouch PTC project and want to program and allow Qdebug datastreaming with one cable. I created a custom 8 pin header on my pcb.
Pin on the PCB Pin on ICE AVR Port
1 - VCC 4
2 - GND 2
3 - RESET 6
4 - SCK 1
5 - MISO 3
6 - MOSI 9
7 - SS 5
8 - NC -
PCB Header
Cable to Header connector
Cable
https://www.digikey.ca/product-detail/en/3m/3749-10-100/3M156019-5-ND/5308215
Cable to AVR header connector
https://www.digikey.ca/product-detail/en/cnc-tech/3230-10-0101-00/1175-1645-ND/3883465
Hope that helps someone, crap webcam pic below.
Adam