pylink icon indicating copy to clipboard operation
pylink copied to clipboard

can not erase by pylink

Open zengjiawei opened this issue 6 years ago • 4 comments

i use jlink.JLink.erase() in my project but i found it is useless by reading memory.why is that?

zengjiawei avatar Sep 04 '18 02:09 zengjiawei

Not sure. If you configure the logger, it should print out with some informative messages.

hkpeprah avatar Sep 04 '18 03:09 hkpeprah

@hkpeprah nothing, it looks ok,but the code still exist after reading memory. The key code: jlk.erase() mem = jlk.memory_read8(0, 1337) print(mem) It doesn't return 0xff

zengjiawei avatar Sep 04 '18 06:09 zengjiawei

Do you have the logs associated with this?

hkpeprah avatar Sep 07 '18 23:09 hkpeprah

@hkpeprah all right, no error, my kernel is cortex m0

zengjiawei avatar Sep 18 '18 01:09 zengjiawei