ARMmbed / mbed-os-tf-m-regression-tests

An Mbed OS application that runs the TF-M regression tests
2 stars 12 forks source link

Refactor `srec_cat` with `pyocd` in test_psa_target.py #46

Closed jainvikas8 closed 3 years ago

jainvikas8 commented 4 years ago

pyocd erase -c -t musca_b1 would seem to be a better approach as its more generic and erase the chip instead of configuring which sections to erase for the targets, but there seems to be a bug - mbedmicro/pyOCD#916 for ARM_MUSCA_B1.

So refactor this code for all targets to use pyocd.

LDong-Arm commented 3 years ago

As far as I understand and experimented, pyocd erase does not currently work on Musca S1. Since srec_cat is recommended by TF-M's documentation, it's okay to use it at this point.

jainvikas8 commented 3 years ago

As far as I understand and experimented, pyocd erase does not currently work on Musca S1. Since srec_cat is recommended by TF-M's documentation, it's okay to use it at this point.

Considering the comment above, closing the ticket.