SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By szszszsz
After issuing 'stm32f1x lock 0', the 'reset run' command is not working (device is not enumerated on USB) and I need to reinsert my device to USB slot to be seen by the OS again. Everything works as expected until lock command is issued.
Is this normal? I would prefer the 'reset run' would work (as usual) so the device would be reset and I could connect to it without making a power-cycle.
I use SWD, ST-Link v2 (original) and STM32F103TB, OpenOCD v0.10.
Here is my debug log:

Commands I use:
Code: Select all
# lock device           
reset halt              
stm32f1x lock 0         
# try to run the device 
reset run               
# finish connection     
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]