2012-05-10 02:11 AM
Hi All,
I'm having a problem to the micro on my board. I'm using the ST-link debugger to debug the STM32F103ZGT6 over SWD. I'm working with Atollic. It was working fine until today, it worked a few times and I started to get that ''Error in initializing ST-link'' when trying to debug in Atollic. After that, I get this message ''Error in sourced command file:localhost:61234: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.'' in Atollic. I tried to connect to the micro with the ST-link utility and I get this error message ''Can't halt the core''.I would appreciate your help. Thank you.Joel #stm32-stlink2012-05-10 04:25 AM
Does the code you previously downloaded use DMA, WFI or reprogram SWD related pins?
Try getting BOOT0 high and rebooting into the System ROM to regain control of the part.2012-05-14 03:40 AM
Hi clive1,
Sorry to be late in my feedback. I was busy finishing some other projects. I did as you said, accessing the system memory and download the code and it worked. Yes the code I previously downloaded uses DMA. What can be the problem? Because I also used DMA in another project and I didn't get this error.thank you very much.Joel