2024-06-26 01:08 AM
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?
Solved! Go to Solution.
2024-06-27 01:19 AM
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:
Also How you did configure the power supply? i.e. what about JP12 position?
You need to fit it at that position: "STlk":
And no need to connect the other cables as they are not needed for just to launch a debug session/program the board.
2024-06-26 01:37 AM
How did you connect the board to the PC?
This is the ST-LINK connector you need to connect to.
No need for DFU mode (bootloader over USB) as you are using ST-LINK.
What about Boot switch position? position 0?
2024-06-26 06:34 PM
I did nothing to boot position as following picture:
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?
2024-06-27 01:19 AM
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:
Also How you did configure the power supply? i.e. what about JP12 position?
You need to fit it at that position: "STlk":
And no need to connect the other cables as they are not needed for just to launch a debug session/program the board.
2024-06-27 07:04 PM
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.