Ok I have some data on the JTAG headers. I assigned the pin numbers to read out as a dip IC(bottom left corner is pin 1, top left corner is pin 20). As said before it is a 2 row 20 pin header. Pins 11 - 19 are confirmed to be GND and pins 20 and 8 as NC.
I would put this data using the table but I don't know how to use it.
Pin Voltage to GND Suspected Use Confirmed Use Resistance to GND Adjacent resistor
1 3.29 VCC VCC 442ohm 0 ohm
2 0.27 TCLK? - 4.67 Kohm Pull Down
3 3.27 TDI? - 5.55 Kohm Pull Up to pin 1
4 3.27 TMS? - 5.47 Kohm Pull Up to pin 1
5 3.00 TRST? - 5.48 Kohm Pull Up to pin 1
6 0 ? - 4.71 Kohm Pull Down
7 3.27 TDO? - 5.55 Kohm RC to GND
8 0 NC NC INF -
9 0 ? - 4.70 Kohm Pull Down
10 0 ? - 4.69 Kohm Pull Down
20 0 NC NC INF -
From what I looked up from the 20 pin ARM header (note pin order is different from mine) it is not exactly the same match. This based on the info given here:
https://developer.arm.com/documentation/101416/0100/Hardware-Description/Target-Interfaces/ARM-Standard-JTAG