Whether connecting the adapter board to a header on a PIC32M target board or to the trace port on a PIC32M PIM, the pin configuration should be the same.