I’d be willing to bet that an answer to your problem lies within these threads @Dnollie.
Please stop trying to read/write configurations or do any more detections until you have the firmware sorted.