[mbedmicro/pyOCD] Flash and Musca fixes (#620)

1 view
Skip to first unread message

Chris Reed

unread,
Apr 15, 2019, 8:29:59 PM4/15/19
to mbedmicro/pyOCD, Subscribed

Several fixes for flash related bugs, Musca target fixes, and some minor related enhancements.

  • Added a sector_size attribute for FlashRegion. blocksize and sector_size are aliases of each other, so the value set on one will be readable by the other. The intent is that devices that have equivalent erase and program block sizes will use blocksize, while sector_size should be paired with page_size if the sizes differ.
  • Added is_nonsecure attribute for memory regions.
  • FlashBuilder checks whether the flash region is readable before attempting to read from it.
  • Fixed basic_test.py to work properly with flash regions that have only a small number of sectors.
  • Updated Musca target memory maps to reflect the QSPI peripheral errata (only the first 256 kB is memory mapped) and RAM errata.
  • Set the vendor name for Musca targets to "Arm".

You can view, comment on, or merge this pull request online at:

  https://github.com/mbedmicro/pyOCD/pull/620

Commit Summary

  • Memory map attribute changes.
  • FlashBuilder checks is_readable attribute of flash region.
  • Fixed basic_test.py flash test for flash regions with few sectors.
  • Updated Musca memory maps to reflect errata.
  • Set vendor name for Musca targets.

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Chris Reed

unread,
Apr 15, 2019, 8:30:04 PM4/15/19
to mbedmicro/pyOCD, Subscribed

/morph test

Chris Reed

unread,
Apr 16, 2019, 12:22:32 PM4/16/19
to mbedmicro/pyOCD, Push

@flit pushed 1 commit.

  • f5e4eab Fixed memory map unit test.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Chris Reed

unread,
Apr 16, 2019, 12:22:40 PM4/16/19
to mbedmicro/pyOCD, Subscribed

/morph test

Chris Reed

unread,
Apr 16, 2019, 3:19:25 PM4/16/19
to mbedmicro/pyOCD, Subscribed

Merged #620 into master.

Reply all
Reply to author
Forward
0 new messages