Skip to main content
Visitor II
April 26, 2022
Question

Use Segger to program mmc/sd card memory

  • April 26, 2022
  • 1 reply
  • 1153 views

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

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    April 28, 2022

    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