8 months, 1 week ago.

Flash vs. RAM

By "flashing", I suppose you mean programming tests into the flash memory of the boards. Did you consider running the tests from RAM instead? It ought to be faster to program RAM, and you won't be limited to 10000 erase/write cycles.

Question relating to:

Comment on this question

1 Answer

8 months, 1 week ago.

Good idea, and it's something we consider, but we have opted against it as this doesn't represent actual execution. Flash controller wait states, caches, all affect execution and we want to stay as close to the real environment as we can. Also RAM is much smaller than flash, so not all tests fit.

You could do it for your own use case through pyOCD. It has functions to read/write the RAM of Mbed boards.


You need to log in to post a question