If you need to take control of operations with flash memory during debugging, you can do it using the flash programmer tool delivered with S32 Design Studio for S32 Platform Update 2. This tool enables read-write access to QSPI flash memory of the connected target. All operations are performed from the command line.