Some more info about the jumpers of the programmer. If you connect JP2, you will have the following pinout at the 40 pin ZIF socket:
| pin | signal |
| 5 | VDD |
| 6 | PA7 |
| 7 | PA6 |
| 8 | PA5 |
| 33 | PA3 |
| 34 | PA4 |
| 35 | PA0 |
| 36 | GND |
As described in my last posting, the bottom 8 pins of the ZIF socket are always connected to the programmer signals, and the jumpers are just connecting it to the other pins. This means you can measure the pinout for the other jumpers with a continuity tester.
For my Padauk SOT-23-6 to DIP14 adapter this means I just have to insert the adapter with a shift of 1, see attached image. Then I can use this writer line in my PRE file and it works:
.writer package 14, 4, 32, 8, 9, 7, 6, 32, 11, 0x0000, 0x0000, 1
The last number 1 is for the IC shift. But the connections are defined by the jumpers, so you can't just set it to any value you want. I guess it is only used for the open/short tests and for the GUI.
So no need anymore for a custom connector board or the jumper wire mess on JP7

Maybe this helps someone who also have a PMS150C in SOT-23-6, the manual is not very clear about the required writer setup. BTW, when starting the writer software, it still says "Check Jump: S08: JP2 /IC Shift 4". I guess it reads this from an internal database for the PMS150C chip, and ignores the custom writer declaration of the PDK file. It still works, just insert it with a IC shift of 1.
PS: how were the nice chip diagrams at
https://free-pdk.github.io drawn? I used KiCad for my diagram and copied it to Gimp and then edited it there, but I guess there is some software out there which makes it easier?