cancel
Showing results for 
Search instead for 
Did you mean: 

Error 'Invalid Delay value' when connect using UART protocol

Phumphathai
Associate II

STM32CubeProgrammer v2.21.0

Phumphathai_1-1748572020298.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Phumphathai
Associate II

Hello

 

I update to this version 2 day ago. Now I uninstall and reinstall with v2.19.0

I haven't found any new updates.

Maybe I update to Test on Production Version.

 

Thank you.

View solution in original post

9 REPLIES 9
KDJEM.1
ST Employee

Hello @Phumphathai and welcome to the community;

 

Could you please give more detail about the issue, which STM32 are you using? Are you using STM32 board?

Could you please check the STM32CubeProgrammer version? The latest STM32CubeProgrammer version is 2.19.0.

KDJEM1_0-1748602882135.png

 

Could you please try to update your toolchain and to use STM32CubeProgrammer 2.19.0 version 

Please let me know if the issue is solved or not?

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Andrew Neil
Super User

Welcome to the forum.

As @KDJEM.1 said, you need to give some more details - Please see How to write your question to maximize your chances to find a solution for best results.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Pavel A.
Super User

PavelA_0-1748606280165.png

 

Hello

 

I use STM32L476VG with custom board. But without any board connect to USB to UART this still happen.

Animation.gif

I use STM32CubeProgrammer v2.21.0 I think this is latest version

Phumphathai_0-1748618084017.png

 

As @Pavel A. show. Delay Pulse text box is read only and cannot fill any value

Thank you

 


@Phumphathai wrote:

Delay Pulse text box is read only and cannot fill any value


So, presumably, this must be coming from some configuration that you should supply?

And that value is missing or invalid.

The first message just tells you that it's using a default instead.

 

The rest of the video shows that there is no response from your target.

 


@Phumphathai wrote:

without any board connect to USB to UART this still happen.


Of course it would - with no board connected, there will certainly be no reply!

 


@Phumphathai wrote:

I use STM32L476VG with custom board.


So please give details - schematic?

Are you using the System Bootloader, or a custom bootloader?

How to write your question to maximize your chances to find a solution.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

 


@Andrew Neil wrote:


So, presumably, this must be coming from some configuration that you should supply?

And that value is missing or invalid.

The first message just tells you that it's using a default instead.

How can I supply?

Text box is read only. I cannot fill value. And it so annoys when I use.

 

Phumphathai_0-1748620295771.png

Delay Pulse can be fill when RTS or DTS have set to pulse. But I don't want any RTS DTR pulse.

 



@Phumphathai wrote:

without any board connect to USB to UART this still happen.



I show to connect without board. Invalid Delay Value Error still show. So, this does not depend on board I use.

 

Thank you

Hello @Phumphathai,

 

Could you please try to download the STM32CubeProgrammer from this link.

I'm using STM32CubeProgrammer2.19.0 version and Nucleo-L476RG.

KDJEM1_2-1748622091421.png

I connect boot0(pin) to VDD as mentioned in AN2606.

KDJEM1_0-1748621962148.png

And I'm able to connect board using UART

KDJEM1_1-1748621998915.png

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Where did you get v2.21.0 from? 

The latest that I see that can be downloaded is 2.19.0 for all OS

I was told that if a devices starts to smoke, put the smoke back in. I guess I never got all the smoke because the device never worked afterwards.
Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle tutorial!

If you find my solution useful, please click the Accept as Solution so others see the solution.
Phumphathai
Associate II

Hello

 

I update to this version 2 day ago. Now I uninstall and reinstall with v2.19.0

I haven't found any new updates.

Maybe I update to Test on Production Version.

 

Thank you.