The MDBT42Q doesn't have a bootloader in it as it comes, and even if it did, stm32loader.py is for different kind of chip (STM32 vs nRF52).
You'll need to buy an nRF52DK and connect it up to the special SWD pins on the module, then you can just copy the firmware to the nRF52DK's flash drive. However you'll need either to build your own bootloader, or to use the nRF52832DK firmware that doesn't use a bootloader.
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.
Hi,
The MDBT42Q doesn't have a bootloader in it as it comes, and even if it did,
stm32loader.py
is for different kind of chip (STM32 vs nRF52).You'll need to buy an nRF52DK and connect it up to the special SWD pins on the module, then you can just copy the firmware to the nRF52DK's flash drive. However you'll need either to build your own bootloader, or to use the nRF52832DK firmware that doesn't use a bootloader.