I'm a software engineer, in our team we want to develop autosar project on S32G27A Plattform.
I downloaded the S32DS for Plattform and additional Packages for S32G. And Try to debug the example project "hello_world_s32g27a" on the S32G plattform.
If you is working on this product of NXP, you may have the Trace32 package and probably figure out the flash scripts under below directory T32\demo\arm64\hardware\s32g2\s32g-vnp-evb\s32g-vnp-evb-m7-amp
I have no experience with lauterbach, however for the cmm files, you can download the source code from NXP software website (you need the access to the Automotive SW - S32G2 Standard Software).
In the Automotive SW - S32G2 Standard Software select the EVB DIAGONOSTIC TESTS
Then download the SW32G2-EVBDIAG-EAR-0.8.4, the cmm files is in the directory Tools\Scripts\cmm\Customer