cancel
Showing results for 
Search instead for 
Did you mean: 

MCUDEV no ST-LINK

SGold.3
Associate II

I just got an MCUDEV board for the STM32H743 chip. I have been using an eval board and have my code configured in the CubeIDE. When I connect the MCUDEV board to my computer via a Micro USB to USB cable, LED D1 turns on and LED D2 starts flashing. But when I press "Run" in the CubeIDE, I get an error of "No ST-LINK detected". I do not get this error when I use the eval board, and the MCUDEV board is not showing up in my COM ports. Is there a step I missed in getting my code onto the board and running it?

18 REPLIES 18

The DevEBox board has an SWD debug header, you need to attach an ST-LINK to that to do the debugging.

Via the USB, you're going to need to connect with BOOT0 High for it to enter the ROM loader, and then you'd need to use STM32 Cube Programmer in USB/DFU mode to push in the firmware. Jumper BT0 and 3V3 pin at the debug header

https://community.st.com/s/question/0D53W00000kvyZGSAY/are-there-resources-for-converting-from-using-the-evaluation-board-to-a-breadboard-setup

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

0693W00000AP5yzQAD.jpg

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

I hooked up BT0 to 3V3 but I do not see how to change to USB/DFU mode. I have been using the micro USB - USB cable to upload my code throughout, is this a new setting I need to change? Thanks

Make sure that the device is seen in Device Manager, something like "STM32 BOOT DEVICE"

Select USB connectivity mode, and select the device if there are multiple choices.

0693W00000AP6LeQAL.jpg

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

Do you have a recommendation if the device is not in the Device Manager? I can see the Eval boardin the Device Manager when I plug it in but not the MCUDEV board

Are you removing ALL sources of power from the board?

Is the cable known good?

I will have to try this later, don't have the board to hand currently.

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

Win 7 x64 initially reports as "DFU in FS Mode" then as Windows finds a driver we get "STM32 Bootloader"

Make sure you allow Windows to find/download the driver, and that you don't have some "Unknown USB' device in Device Manager.

0693W00000AP7SWQA1.jpg

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

I've tried this with both power to the board and no power to the board. I've been using the USB cable I had been using to program the Eval board so I know it works. When I open Device Manager, there is no Unknown USB or STM32. When I plug and unplug the device, device manager does not change.

Boot mode is entered with BT0/3V3 jumpered, and the board brought out of a cold powerless state by plugging in the USB connection to a host computer.

Windows should make its ding-**** attachment sound. You should ideally connect directly to the computer, avoiding docking stations or hubs.

The alternative connection method would be via the SWDIO/SWCLK connections of the debug header to an ST-LINK/V2 or V3

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