Flashing OSD32MP157C Core A7 using JTAG + ST Linkv2/v3

Forums Reference, Evaluation, and Development Boards OSD32MP1-RED Flashing OSD32MP157C Core A7 using JTAG + ST Linkv2/v3

Viewing 1 reply thread
  • Author
    Posts
    • #12022
      Farid AzharFarid Azhar
      Participant

        Is there any way to flash Linux on OSD32MP157C Core A7 using JTAG + ST Linkv2/v3.
        On our custom board we are changing the USB-OTG to USB-device port and have only eMMC (no SD card) on board.
        To flash using boot mode (0-0-0) USB port must be enumerated and configured in DFU mode, otherwise flashing utility (STM32CubeProgrammer) will fail.
        If USB flashing fails, we want to try flashing the board through JTAG + ST Linkv2/v3.
        STM documents says JTAG + ST Linkv2/v3 can be used to flash Core M4. Can we flash linux on Core A7 using same JTAG + ST Linkv2/v3 debugger?

        Any help is much appreciated.

      • #12025
        Neeraj Kumar Reddy DantuNeeraj Dantu
        Moderator

          Farid,

          USB Flashing is the officially supported method to flashing eMMC or other flash memories on board from ST. You can add an SD card slot if you want to boot an image from preprogrammed SD card. Unfortunately, JTAG cannot be used to program eMMC and is not a supported use case from ST. Please see https://community.st.com/s/question/0D53W000004HK91SAG/how-to-connect-and-debug-cortexa7-cores-on-stm32mp157cdk2 for a related discussion, application level debug is supported on A7, but baremetal is not officially supported.

          Best,
          Neeraj

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.