2024-07-25 04:19 AM - edited 2024-07-29 12:24 AM
As part of our project, we are using an STM32MP157DAC custom board that has the same design with the STM32MP157D-DK1 development board except for a few changes (schematics of the design is attached)
The board generally works when trying to upload and debug code to the M4 core using JTAG-SWI connection.
However the board does not work when trying to boot from SD card. The steps in the wiki to populate the linux image to an SD card were used. The Cube Programmer software does not recognise the board.
I tried using command line by typing ifconfig (or lsusb), but the connection cannot be recognised.
To avoid the Cube Programmer, flashing the linux kernel U-Boot was also tested but no result obtained (The board still does not boot from the SD card).
Both booting processes (using cube programmer and u-boot) were tested with an STM32MP157F-EV1 with no problems.
Attached is our board's schematics (taken majorly from the reference board (STM32MP157D-DK1). Connection to the board for booting is provided through a typeC USB (OTG)
I have searched the internet but couldn't find a solution so far. Would appreciate any help
2024-08-02 05:40 AM
Hi @shobole
Can you share trace log from CubeProg and UART trace during CubeProg operation ?
Thanks
Olivier
2024-08-13 06:44 AM
Good day and thanks for your response
Below are the logs of the programmer:
15:04:07 : STM32CubeProgrammer API v2.17.0 | Linux-64Bits
15:04:32 : UR connection mode is defined with the HWrst reset mode
15:04:32 : Error: Establishing connection with device failed
The last log is what I get when trying to upload. It makes sense since the board is not detectable.
Just to note, the st-link is properly functioning and we can code and debug the M4 core.
Since the booting is not done through UART, I haven't included the logs of it.