Skip to main content
msureshkumar2610
Associate III
April 3, 2020
Question

In my Nucleo while debugging STLINK LD1(RED and GREEN) is not blinking

  • April 3, 2020
  • 4 replies
  • 2826 views

In my Nucleo while debugging STLINK LD1(RED and GREEN) is not blinking. I study with some of documents. it is communication error, But the debugging is is normal

Please tell me what is the problem ? Any settings to change ?

I have attached the photo. Now nucleo is debugging mode

This topic has been closed for replies.

4 replies

TDK
Super User
April 4, 2020

So st-link programming and debugging works okay but just the LED is unlit? Could probe the led to ensure it actually works. But I wouldn't spend time on it. There must be more important things to do.

"If you feel a post has answered your question, please click ""Accept as Solution""."
msureshkumar2610
Associate III
April 4, 2020

Ok, But it seems communication error I think. Ok how to flash my nucleo with stm32cubeide without debugging ?

Tesla DeLorean
Guru
April 4, 2020

Try updating ST-LINK firmware to current.​

Can it run Cube Programmer?​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
msureshkumar2610
Associate III
April 5, 2020

No I did't tried yet. But I would like to stay inside only cubeide. I want to learn all the things this cubeide. It is good for me. I wont migrate from cubeide.

Because already switched form KEIL(without proper use). At least I would like to learn all the things using this cubeide.

Thanks @Community member​ and @TDK​ :)

msureshkumar2610
Associate III
April 5, 2020

And I have some of the questions.

How do I generate 2Mhz frequency using timer. What is the timer calculation ?

I got calculation like from youtube.

Peripheral clock/Desired clock = value = PSC*ARR

Is it Correct ?.

In PIC timer(8bit) I know well

that is (4/FXT)*A*(256-B)

where

FXT = external clock

A = PSC

B = Timer counter

(4/16Mhz)*32*(256-100) = 0.001248 Means timer over flow every 1us

But in STM32 it is different.

Please ket me know the calculation

Thanks to every one.