Skip to main content
ThePUP
Associate III
May 14, 2020
Question

STMCubeProgrammer, STMCubeProgrammer_CLI cannot attach to EV1 DFU port

  • May 14, 2020
  • 1 reply
  • 878 views

Running Ubuntu-18.0.4LTS native on Dell latitude 5480.

Using STM32MP157A-EV1, Following instructions (still), Ch6@https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-EV1/Let%27s_start/Populate_the_target_and_boot_the_image#Populate_the_SDCard

Selecting connection type USB in the GUI, the status is "no DFU detected"

and similarly in CLI

bob@LapBuntu:> STM32_Programmer_CLI -l usb

     -------------------------------------------------------------------

                       STM32CubeProgrammer v2.4.0                 

     -------------------------------------------------------------------

===== DFU Interface  =====

No STM32 device in DFU mode connected

I have a direct connection USB to my laptop.

Position of Jumpers 4,5 on the board make no difference.

Boot 0,1,2 set to off,off,off (0 0 0)

If I select ST-LINK in the GUI, it connects to the on-board chip and reads its status, voltage, firmware & serial numbers, etc. so I know the pc-cable-target connection is ok.

I'm so close. I hope there is a workable answer.

thanks.

This topic has been closed for replies.

1 reply

ThePUP
ThePUPAuthor
Associate III
May 15, 2020

SOLVED:

the answer is in the question.

In my haste to recover a corrupted weston stack on the EV1 I failed to recognize my misreading of the instructions that clearly point out the use of the CN7/OTG port on the EV1, NOT the STM-Link port on the MP1 board.

Oops.

I also found these instructions, linked from the "unpacking ..." wiki page(s) are good for the command-line version of STMCube_Programmer (_CLI) which is faster an easier to use:

https://wiki.st.com/stm32mpu/wiki/STM32MP15_Evaluation_boards_-_Starter_Package#Preparing_the_USB_serial_link_for_flashing (in section 6).

Bottom line: read carefully. The wiki info is good.

thanks,