zephyr.js icon indicating copy to clipboard operation
zephyr.js copied to clipboard

[f411re] No enough space for flash Nucleo F411RE many times

Open haoxli opened this issue 7 years ago • 3 comments

Description

After flash image to Nucleo F411RE board for many times(>5), it will report that no space left on board, we need to reset the board for next flash.

Test Code

HelloWorld.js

Steps to Reproduction

  1. $ make JS=samples/HelloWorld.js BOARD=nucleo_f411re
  2. $ cp outdir/nucleo_f411re/zephyr.bin /media/<username>/NODE_F411RE/
  3. Repeat the 2nd step for more than 5 times

Actual Result

screenshot from 2017-05-27 16-50-05

$ minicom -D /dev/ttyACM0 screenshot from 2017-05-27 16-49-39

Expected Result

Flash image without error for every times, and execute the code with output 'Hello, ZJS world!'

Test Builds

Branch Build ID Target Device Date Result
master 6180fec ST Nucleo F411RE May 27, 2017 Fail

haoxli avatar May 28 '17 15:05 haoxli

This sounds like maybe it's a problem with the board's flashing mechanism, not our code? Could you try this with some native Zephyr images or even non-Zephyr images?

grgustaf avatar Jun 07 '17 23:06 grgustaf

Yes, I've tried the native sample application Hello World.

$ cd <zephyr_root_path>
$ source zephyr-env.sh
$ cd $ZEPHYR_BASE/samples/hello_world/
$ make BOARD=nucleo_f411re

After flash many times, this still work normally. f411re

haoxli avatar Jun 08 '17 14:06 haoxli

Note: we don't have this board but will look into getting one.

grgustaf avatar Jun 08 '17 17:06 grgustaf