You are reading a single comment by @fanoush and its replies.
Click here to read the full conversation.
-
I have used 2v08.117. My code:
NRF.restart(function(){ poke32(0x4001e504,1);while(!peek32(0x4001e400)); // enable flash writing poke32(0x10001014,0x7A000);while(!peek32(0x4001e400)); // set bootloader address poke32(0x10001018,0x7E000);while(!peek32(0x4001e400)); // set mbr settings poke32(0x10001200,21);while(!peek32(0x4001e400)); // enable reset pin 21 poke32(0x10001204,21);while(!peek32(0x4001e400)); // confirm reset pin poke32(0x1000120c,0xfffffffe);while(!peek32(0x4001e400)); // NFC pins as GPIO poke32(0x4001e504, 0);while(!peek32(0x4001e400)); // disable flash writing }); NRF.restart();
The code
peek32(0x10001204).toString(16)
returns 15.
There seems to be a timeout on jshflashwrite which is displayed after a reconnect to IDE.
so most probably firmware in your bangle does not have that feature, you need cutting-edge build as mentioned in that forum topic, it is not in 2.08 yet