This is a Xprog-m wiring diagram for BMW CAS4 5M48H, and also a user manual is available here, of how to use Xprog programmer to read/write 5M48H.
Xprog wiring diagram for CAS4 5M48H:
Process: Xprog v5.70 read/write CAS4 5M48H
Xprog price: €132
Note: 5.7.0 is the only version XPROG-M can decypt BMW CAS4
How to r/w 5M48H:
Run xprog software
Click on New
Then write 5M48H
Again, click on Read after verifying the device
Xprog read and write CAS4 5M48H successfully.