Could it be that you once flashed firmware for other board like PUCKJS or MDBT42Q and then reflashed it with BANGLEJS again? pin 21 which is normally a reset pin is used as flash CS pin https://github.com/espruino/Espruino/blob/master/boards/BANGLEJS.py#L142 and most other builds would reconfigure it back as reset pin which would make flash CS pin not working. You can verify by running peek32(0x10001200) If it prints 21 then it is this issue and can be fixed.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Could it be that you once flashed firmware for other board like PUCKJS or MDBT42Q and then reflashed it with BANGLEJS again? pin 21 which is normally a reset pin is used as flash CS pin https://github.com/espruino/Espruino/blob/master/boards/BANGLEJS.py#L142 and most other builds would reconfigure it back as reset pin which would make flash CS pin not working. You can verify by running
peek32(0x10001200)
If it prints21
then it is this issue and can be fixed.