You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • I'll try it but for the production pcbs this will be a pain to connect serial and override the register.

    It shouldn't be required, but hopefully this will help to narrow down if it is the issue.

    Actually I just had a thought. Try:

    NRF.disconnect();setTimeout(function() { NRF.restart(function(){ LED.set();
    poke32(0x4001e504,1);while(!peek32(0x400­1e400)); // enable flash writing
    poke32(0x1000120c,0xfffffffe);while(!pee­k32(0x4001e400)); // NFC pins as GPIO
    poke32(0x4001e504, 0);while(!peek32(0x4001e400)); // disable flash writing
    })}, 1000)
    

    It's possible the disconnect isn't instant and so NRF.restart doesn't get called.

About

Avatar for Gordon @Gordon started