Open haoxli opened 7 years ago
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?
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.
Note: we don't have this board but will look into getting one.
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
$ make JS=samples/HelloWorld.js BOARD=nucleo_f411re
$ cp outdir/nucleo_f411re/zephyr.bin /media/<username>/NODE_F411RE/
Actual Result
$ minicom -D /dev/ttyACM0
Expected Result
Flash image without error for every times, and execute the code with output 'Hello, ZJS world!'
Test Builds