2015-12-13 02:55 AM
Hi,
I am new to STM32 controllers. I was doing blinking code. while debugging i got error as cannot access target.Shutting down debug session. I am using ST-Link2 for debugger and board is from - http://www.dhgate.com/product/stm32-board-core103v-stm32f103vet6-stm32f103/229294742.html#myaccount_orderdetail-1-nullI am using Keil V5.While debugging i observed in the command window, there was error like - Internal Command error.I have attached screenshot and code too.2015-12-13 06:01 AM
Such things usually occur if you reprogram the pins used for the JTAG/SWD debug interface, or you enter a low power mode (turn off the pins/core)
2015-12-13 08:05 AM
Hi,
Thanks.I m using code which is generated by Cubemx. I disabled the function which was disabling the debugging. and the function as __HAL_AFIO_REMAP_SWJ_DISABLE();I am facing one more problem. if i use any code from internet. Then this code doesn't work for me. What could be the problem?2015-12-13 08:37 AM
I am facing one more problem. if i use any code from internet. Then this code doesn't work for me. What could be the problem?
Ok, that's a bit like try to guess what your favorite colour is, and why, you're going to have to get a lot more specific about what code you're using, and what's not working about it, or what errors you're getting.2015-12-13 09:14 AM
http://www.waveshare.com/core103v.htm