ARMmbed / mbed-js-example

Basic Example for JavaScript on mbed
16 stars 6 forks source link

The item “mbedos5.hex” can’t be copied because there isn’t enough free space. #10

Open solancer opened 7 years ago

solancer commented 7 years ago

Unable to transfer the compiled hex file to my NRF52_DK board.

janjongboom commented 7 years ago

Can you run the JLINK bootloader on your board and try again?

  1. Download this file.
  2. Restart the nRF52-DK while holding the reset button.
  3. Copy the file onto the board (mounted as BOOTLOADER or something similar).
  4. Restart the board.
solancer commented 7 years ago

@janjongboom thanks will try this out and share the update.

rvdende commented 6 years ago

Just a reset of the board solved this on my side. Not sure if its because I had an active serial connection to it as well. Is there a faster way to run new JS code on the board without going through this process?

janjongboom commented 6 years ago

@fluentart There's mbed-js-repl, which can interpret code. But I haven't changed it in a way that allows you to quickly flash a new app to it through serial.

rvdende commented 6 years ago

@janjongboom yeah thanks I found the REPL quite fun to test with.