This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ST-LINK fails to be detected!

Hi
I have been working with ST-Link V2 programmer to program STM32L1 discovery board.
after a month or so yesterday I faces a problem I get error when trying to download the flash:
"Flash download failed-Target dll has been canceled"
in tools in debug window I see this "No Cortex-M SW Device Found"
Max clock is on 1MHz. Any one knows what the problem is!!
Could it be related to the software license? cause I used another ST-LINK V2 and the problem exists.

Parents
  • Dear Westonsupermare,
    I did not use any of PA13 and PA14 pins.
    I had another STM32L discovery board of same type I programmed it with another firmware and saw that it is no longer able to be programmed. how ever they work properly by their last firmware now. the ST-LINK programmer is okay since I can program Discovery board for STM32f103RE.
    Is there any way to make my faulty boards back to their early state?
    I remember in AVR I had same problem when fusebits set by fault so I need to give an external clock!
    But I don't know is there some way like that?

Reply
  • Dear Westonsupermare,
    I did not use any of PA13 and PA14 pins.
    I had another STM32L discovery board of same type I programmed it with another firmware and saw that it is no longer able to be programmed. how ever they work properly by their last firmware now. the ST-LINK programmer is okay since I can program Discovery board for STM32f103RE.
    Is there any way to make my faulty boards back to their early state?
    I remember in AVR I had same problem when fusebits set by fault so I need to give an external clock!
    But I don't know is there some way like that?

Children