We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm using LoRa development board from Acsip based on STM32L073RZ micocontroller (ARM Cortex M0+ family). SWD pins on this board is as following: 3.3V, SWD(/A13), SWC(/A14), GND.
Initially swd connection was working fine, but after I flashed a simple blink program on pins A13 and A14, SWD is not detecting. Now I'm getting a message showing STLink USB communication error and STLink utility software got hanged.
Checked with cable replacement but no use. No problem with STlink device as it is working fine with other boards.
Is it the problem caused by flashing blink program? if so, how can I overcome it?
If the STLink utility has problems, then you know that this is nothing specifically to do with Keil - there is some underlying problem in the USB comms between the PC and the STLink, and/or some problem in the comms between the STLink and the target.
As already noted, low-power modes can disrupt the comms between the STLink and the target.
Also, if your code reconfigures the pins used by the SWD interface ...
Problem solved..
Problem was with my connection. I missed reset pin. After connecting reset pin and selecting option 'Connect under reset' it worked.
Thank you @Westonsupermare Pier and @Andrew Neil for your suggestions..