This PR includes a number of flash related fixes. The most important is making use of erase sector vs program page sizes for .FLM flash algos coming from CMSIS Packs. This fixes issues with STM32 devices that have such large sector sizes that sector buffer won't fit in RAM. Now pyOCD will use the page size declared in the algo for buffers. This also enabled double buffer support, increasing flash programming speed.
Other included changes.
debug.log_flm_info
user option will cause details of an .FLM flash algo to be logged when it is loaded.show map
command prints both sector and page sizes.flash_loader_test.py
for the case where the test binary and generated test data would overlap.Session
object is available via Session.get_current()
, which allows code that doesn't have a direct reference to a session to make use of user options. This will mostly be used for debug or similar purposes.https://github.com/mbedmicro/pyOCD/pull/627
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
/morph test
/morph test
Merged #627 into master.