You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Nothing added yet - I have avoided doing this precisely because you could do firmware updates with no physical access. It seems like a bit of a worry.

    The bootloader would be pretty easy to modify though. For instance we check the 'reset reason' at https://github.com/espruino/Espruino/blo­b/master/targets/nrf5x_dfu/main.c#L283

    It's easy enough to check if the reset reason is SW_RESET and then enter bootloader. But to avoid accidental entry you could also set the GPREGRET register in Espruino, and then check it in the bootloader before entering automatically?

About

Avatar for Gordon @Gordon started