AnsweredAssumed Answered

ST-LINK_CLI.exe Mass erase locks core

Question asked by schneider.mathieu on Jan 11, 2013
Hi,
I am using the ST-LINK_CLI.exe utility with the ST-LINK/V2 in a production test fixture to program a STM32F107.  Everything seems to work fine but if I issue "ST-LINK_CLI.exe -ME" to mass erase it it reports succesfull but then the next time I try and reprogram it with:
ST-LINK_CLI.exe -c SWD -p "\filename.bin" -Rst -Run
I get this message:
"The Core is locked up!"

If I then use the  STM32 ST-LINK Utility.exe it programs fine.

How do I unlock the core?
How do I erase without locking the core?
Thanks
Mat

Outcomes