Investigations of GFlash for electromagnetic calorimeter modules in COMPASS Home