@ScruffR, got it.
Moving right along, I now have another opportunity to chase the issue on a different Photon… This time it is not in production, so have an opportunity to dig in even more now.
I was able to run the serial inspect once on this unit:
Platform: 6 - Photon
Modules
Bootloader module #0 - version 200, main location, 16384 bytes max size
Integrity: PASS
Address Range: PASS
Platform: PASS
Dependencies: PASS
System module #1 - version 300, main location, 262144 bytes max size
Integrity: PASS
Address Range: PASS
Platform: PASS
Dependencies: PASS
System module #2 - version 204
System module #2 - version 300, main location, 262144 bytes max size
Integrity: PASS
Address Range: PASS
Platform: PASS
Dependencies: PASS
System module #1 - version 300
Bootloader module #0 - version 101
User module #1 - version 5, main location, 131072 bytes max size
UUID: 00DF321072740C53930XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX96871
Integrity: PASS
Address Range: PASS
Platform: PASS
Dependencies: PASS
System module #2 - version 300
empty - factory location, 131072 bytes max size
@ScruffR, did you notice this line in the above:
System module #2 - version
204
Whereas all the other lines are:
System module #2 - version
300
Anyhow thereafter, “particle serial inspect” was returning “serial: Serial timed out” and could not program via serial nor OTA, just DFU.
I think this is issue with serial flashing may be a piece in the puzzle…
Thinking about the serial issue… the unit is soft configured to use USBSerial1 for logging. I disabled logging and reset, which meant that only Serial is exposed. I can now get output from “particle serial inspect”.
Next, without changing anything else, I *enabled logging on USBSerial1 and reset; “particle serial inspect” was returning “serial: Serial timed out” and, I assume, would not be able to program via serial.
I disabled logging and reset, which meant that only Serial is exposed. I can now get output from “particle serial inspect”. Unfortunately serial and OTA still FAILED, but DFU worked (of course). So drats, there goes that theory.
Anyhow, will raise a bug report regarding USBSerial1 and access to the Serial port in listening mode.