Skip to main content
Associate
June 27, 2024
Solved

STM32MP257F-EV1 unable to connect to board

  • June 27, 2024
  • 3 replies
  • 3548 views

Following the instructions on the wiki page for getting started, the board does not appear over USB and cannot be recognised by STM32CubeProgrammer.

 

Green power LED is on. Switches are in correct position. STLink is red light is blinking. Power rails seem fine, although DDR is 0 volts.

 

I have tried two different computers, one Linux, one macOS and neither can detect the USB device or connect to it from STM32CubeProgrammer. I have also tried different cables.

Best answer by PatrickF

LD6 is only for STLINK, so ok when using CN20

100mA 5V is ok for a boot without activity nor display.

Could you try using:

  • BOOT = 0001 (SD-Card).
    PatrickF_0-1719576936970.png
  • No SD-Card in the socket.
  • no USB on CN21 (STLINK)
  • no USB on CN15 (USB DRD)

This should blink small red LED LD1 at about 5Hz (mean the processor is in serial boot waiting UART/USB connection).

If not succeed, try same with JP3 populated (to force STLINK in reset).

If this is not ok, I suspect a faulty board

Regards,

 

3 replies

Olivier GALLIEN
Technical Moderator
June 27, 2024

Hi @liamkinne 

Please confirm you connect USB cable on CN15 USB2 DRD Type C connector and you are using specific CubeProgrammer version you might get on a restricited Teamspace. 

 STM32MP257x-EV1 - hardware description - stm32mp25-beta-v5

Olivier 

 

Olivier GALLIEN In order 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.
liamkinneAuthor
Associate
June 28, 2024

Hello,

Yes I can confirm I am using CN15 located next to the miniPCIe connector.

The version of CubeProgrammer is v2.16.0 on MacOS and on Linux.

liamkinneAuthor
Associate
June 28, 2024

I have done some probing on the board and it appears something is preventing the reset line from coming up. The pull-up resistor next to the reset button is getting 3.3V, but something is holding the reset line at about 80mV.

 

PatrickF
Technical Moderator
June 28, 2024

Hi @liamkinne 

Please check power supply.

If you are powering from an USB charger (CN21 and JP4 on 1-2 position), the LD6 should be green or orange.
If not, try using another USB source for CN21 (PC or Type-C charger).

Did you try powering with a 5V-12V on CN20 (with JP4 on 2-3 position) ?

Regards.

In order 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.NEW ! Sidekick STM32 AI agent, see here
liamkinneAuthor
Associate
June 28, 2024

LD6 doesn't seem to illuminate with ether USB power or with the barrel jack. LD5 blinks red and LD11 only illuminates when powering from the barrel jack.

Powering with the barrel jack from a good lab supply, it draws only 100mA at 5V.

 

Olivier GALLIEN
Technical Moderator
June 28, 2024

Hi @liamkinne 

As said CubeProg 2.16 does not suppor MP25

A version 2.17 will be release in coming days. 

Olivier

Olivier GALLIEN In order 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.