• BTN1 is mapped to pin D0 https://github.com/espruino/Espruino/blo­b/master/boards/MDBT42Q.py#L80

    However there is also easy but destructive way, you can clear bootloader settings page containing firmware validity flag and checksum making the firmware invalid and then reboot. It should stay in DFU forever when there is no valid firmware.

    E.setFlags({unsafeFlash:1});
    var f=require("Flash");
    f.erasePage(0x7f000);
    E.reboot()
    

    Make sure you know how to upload new firmware over BLE before trying.

About

Avatar for fanoush @fanoush started