• I tried loading it up to the RAM and also tried loading it up to Flash. In both cases it disconnects after the upload and on reconnecting it appears as no code has been uploaded.

    And yes - I did soft reset and hard reset. And I tried re-uploading the firmware. I would have guessed that at least one of these would erase every malfunctioning code I had uploaded before.

    I have one more clue: I just looked at the JS console of the IDE and it says

    SEND ERROR: NotSupportedError: GATT operation failed for unknown reason.
    

    Sorry - sould have looked there earlier. :/

About