Closed jainvikas8 closed 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.
As far as I understand and experimented,
pyocd erase
does not currently work on Musca S1. Sincesrec_cat
is recommended by TF-M's documentation, it's okay to use it at this point.
Considering the comment above, closing the ticket.
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 forARM_MUSCA_B1
.So refactor this code for all targets to use
pyocd
.