Skip to main content
PKuma.12
Associate III
May 16, 2019
Solved

Hello I am using the STM32L152 discovery board but suddenly is not detected by my PC. I am also using STM32F407 Discovery board but there is not any problem like this.

  • May 16, 2019
  • 1 reply
  • 2177 views

0690X000008vyWFQAY.jpg0690X000008vyXNQAY.jpgSo why this issue in the STM32L1 discovery board.I also uploaded images regarding the problem in the board. 

This topic has been closed for replies.
Best answer by Tesla DeLorean

Ok, so try changing the connection settings to connect under reset, or try pulling BOOT0 high so your current code load doesn't run.

Then look at your code for low power modes or GPIO configuration that might break the debug interface.​

1 reply

Tesla DeLorean
Guru
May 16, 2019

Perhaps you just broke it?

Try different cable, USB port, or on another system.

Avoid using a hub or docking station.

If it still fails and you want more answers, pull the schematic and probe voltages present on the boards and at critical nodes.​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
PKuma.12
PKuma.12Author
Associate III
May 16, 2019

ST link is detected but the code is not able to load in device and getting this error.0690X000008vyt4QAA.jpg

Ozone
Principal
May 16, 2019

Perhaps the current application on the target (L152) "misbehaves", like going into sleep mode ?

Try booting the target into system mode, and do a Flash mass erase.