Hopefully on the Pico you don't need -k - not that it'll do any harm.
If this a binary that you built yourself? If so, you need to offset the address as well with -a 0x8004000, since the Espruino binary sits on top of the bootloader in memory (images from the Espruino site contain the bootloader as well)
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.
You probably want to erase first as well? see http://www.espruino.com/Serial+Bootloader
Hopefully on the Pico you don't need
-k
- not that it'll do any harm.If this a binary that you built yourself? If so, you need to offset the address as well with
-a 0x8004000
, since the Espruino binary sits on top of the bootloader in memory (images from the Espruino site contain the bootloader as well)