[Resolved] Can't flash firmware (wifi or USB)

Sorry about that guys, it was a silly issue with the code.
Everything works as it should

Hey all,

I’ve got another core here i’m having issues with. Same thing happens over usb and using the cloud.
Initially, the core connects fine, and it looks like the firmware flashes successfully (again, on usb and wifi).

The trouble comes when it tries to reconnect after flashing. It will flash green shortly, and then rapidly flash cyan and after that it cuts out completely, no more LEDs. It stays like this until I do a factory restore.

Any ideas on what’s going on here?