pyocd / pyOCD

Open source Python library for programming and debugging Arm Cortex-M microcontrollers
https://pyocd.io
Apache License 2.0
1.13k stars 484 forks source link

Unable to pass `basic_test.py` for `ARM_MUSCA_B1` - Erase #916

Open jainvikas8 opened 4 years ago

jainvikas8 commented 4 years ago

The erase of the sector is not passing for the ARM_MUSCA_B1 board.

Commit - https://github.com/mbedmicro/pyOCD/commit/6988dcc344aff081d1ede760970e3db3d591f1e2

Log - basic_test-pyocd.txt

The issue seems to be applicable for the full chip erase.

jainvikas8 commented 4 years ago

I think the issue is the flash algorithm used. The connected board is in eflash mode, but the flash algo that gets used is qspi - https://github.com/mbedmicro/pyOCD/blob/master/pyocd/target/builtin/target_musca_b1.py#L251

Is eflash mode supported?