cancel
Showing results for 
Search instead for 
Did you mean: 

Use Segger to program mmc/sd card memory

TRega.1
Associate

Please excuse my ignorance in this matter. We develop a custom board based on STM32MP15f-DK2. We would like to use Segger's J-link devices for initial codeloads.

I understand that mmc/sd card are not memory-mapped flash types, so j-link will not work without some sort of intermediate booting software downloaded to DDR.

Are there any sample projects available that would realize such functionality?

Programming the device using DFU is not an option in this case.

--

Best regards,

Tomasz

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi @TRega.1​ ,

Sorry STM32MP1 only support USB DFU for "on board" initial code load.

In case of SDCard you can evaluate to program it with host computer using following procedure :

How to populate the SD card with dd command - stm32mpu

Else note that Segger J-Link may only be supported for M4 debug in Engi mode

https://community.st.com/s/question/0D53W00000znzsGSAQ/how-do-i-control-stm32mp157-cortexm4only-reset-signal-using-a-segger-jlink-or-jtrace

I don't know your constraint but using CubeIDE / St-link would be a more straight forward choice.

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.