cancel
Showing results for 
Search instead for 
Did you mean: 

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.

PKuma.12
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

5 REPLIES 5

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 Venmo
Up vote any posts that you find helpful, it shows what's working..

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

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.

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.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thank you for the answer

Now it is working.