fw test: Flash in photon mode and improved documentation