There is a little bit more details required to be of help to you...
There is always the fallback to basic technology to get firmware onto the device by using manufacturers provided tools. @Robin refers t this Puck https://www.espruino.com/Puck.js#firmware-updates page. Puck, Pjxle, and all the nRF52832 based device work for that the same way. And when bad comes to worse, use SWDIO/SWDCLK pins. Your SEGGER most most likely supports that option, but for debugging your case, you have to turn to their setup, operations and debugging section.
After all, SEGGER may be an excellent tool, but its main orientation is not to support (STM32/ nRF52832 thru) Espruino. Espruino is for most of the needs replacing all this tech oriented setup in order to provide easy access to micro controllers technology for anybody who can operate a browser (and a phone).
To get into the Espruino groove, take a look at reasoning/presentatios in @Gordon 's very successful Kickstarter campaigns - for his initial Original Espruino board, firmware and IDE as well as for the two other ones, Pico and Puck - latter nRF52832 based:
There is also the Espruino youtube site, and I'm not talking about the ones about a particular application but more so about @Gordon 's presentations of Espruino at various events.
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.
There is a little bit more details required to be of help to you...
There is always the fallback to basic technology to get firmware onto the device by using manufacturers provided tools. @Robin refers t this Puck https://www.espruino.com/Puck.js#firmware-updates page. Puck, Pjxle, and all the nRF52832 based device work for that the same way. And when bad comes to worse, use SWDIO/SWDCLK pins. Your SEGGER most most likely supports that option, but for debugging your case, you have to turn to their setup, operations and debugging section.
After all, SEGGER may be an excellent tool, but its main orientation is not to support (STM32/ nRF52832 thru) Espruino. Espruino is for most of the needs replacing all this tech oriented setup in order to provide easy access to micro controllers technology for anybody who can operate a browser (and a phone).
To get into the Espruino groove, take a look at reasoning/presentatios in @Gordon 's very successful Kickstarter campaigns - for his initial Original Espruino board, firmware and IDE as well as for the two other ones, Pico and Puck - latter nRF52832 based:
There is also the Espruino youtube site, and I'm not talking about the ones about a particular application but more so about @Gordon 's presentations of Espruino at various events.