Hello @passman,
If you debug an SDK example, such as hello_world_cm7 without modifications, does the same issue occur?
Also, the SDK (version 26.09) provides an example in Keil for using the ROM_API called "fsl_romapi_cm7", which could be helpful.
Additionally, Chapter 10.13, called "ROM APIs", offers detailed information and code examples for its usage.
BR
Habib