cancel
Showing results for 
Search instead for 
Did you mean: 

STM32429I-EVAL1 getting started error: ST-Link is not in the DFU mode

Unlimit
Associate

Hello, 

 

I'm trying to getting started with STm32429I-EVAL1 board with CubeIDE.

I coded a simple hello world program and built it, then I encountered error that "ST-Link is not in the DFU mode. Please restart it."

 

I did followings to solve it:

- restart the board

- unplug then plug the all cables (PSU, ST-Link V2, and USART)

- restart CubeIDE and rebuild the prohect

 

None of them worked, I don't know how to enter the DFU mode.

Also, I cannot find Port(COM&UPT) in the Windows device manager even I connected USART cable.

All the cables are connected into USB port on the PC.

 

Can anyone help me?

1 ACCEPTED SOLUTION

Accepted Solutions

Hello,

No need to to but an ST-LINK as there is an embedded one on the board and you need to connect USB cable to CN21 connector.

Sorry I meant these two switches. They need to be at position 0 as following:

SofLit_0-1719476031358.png

Also How you did configure the power supply? i.e. what about JP12 position?

You need to fit it at that position: "STlk":

SofLit_1-1719476225196.png

And no need to connect the other cables as they are not needed for just to launch a debug session/program the board.

 

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.

View solution in original post

4 REPLIES 4
SofLit
ST Employee

How did you connect the board to the PC?

This is the ST-LINK connector you need to connect to.

SofLit_0-1719390888317.png

No need for DFU mode (bootloader over USB) as you are using ST-LINK.

What about Boot switch position? position 0?

SofLit_1-1719391021988.png

 

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.

I did nothing to boot position as following picture:

Unlimit_0-1719419550741.png

 

And I connected all of ports(ST-Link, PSU, and USART RS-232) to my PC.

Should I buy a new ST-Link? or can I do it without buying it?

Hello,

No need to to but an ST-LINK as there is an embedded one on the board and you need to connect USB cable to CN21 connector.

Sorry I meant these two switches. They need to be at position 0 as following:

SofLit_0-1719476031358.png

Also How you did configure the power supply? i.e. what about JP12 position?

You need to fit it at that position: "STlk":

SofLit_1-1719476225196.png

And no need to connect the other cables as they are not needed for just to launch a debug session/program the board.

 

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.

Hello,

Now my board working well. I unplugged and plugged ST-Link cable before update.

Now all the board features seems okay.

But when I try to do USART transfer, I got some problem and I will open with new topic.

Thanks for your concern.