5 years, 9 months 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:

1 Answer

5 years, 9 months 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.