pylink icon indicating copy to clipboard operation
pylink copied to clipboard

Unlocking STM32L0

Open witc opened this issue 1 year ago • 1 comments

Hi, I would like to unlock/erase locked STM32L0. When I call a standard erase, it doesn't work. However, when I run for example J-Flash Lite and select erase chip, it reliably deletes everything. Could this function be implemented? What commands does that button call?

image

Thank you. Jan.

witc avatar Jan 15 '24 18:01 witc

You could implement it as part of the unlock(); see here. Behaviour would have to be implemented for unlocking the STM32; likely using the CoreSight APIs.

hkpeprah avatar Jan 22 '24 16:01 hkpeprah