STM32 Programmer segmentation fault when flashing eMMC

Forums Reference, Evaluation, and Development Boards OSD32MP1-RED STM32 Programmer segmentation fault when flashing eMMC

Viewing 2 reply threads
  • Author
    Posts
    • #11640
      Manuel Malagon
      Participant

        I’m having a nasty issue with flashing the eMMC. When I execute STM32_Programmer_CLI -c port=USB1 -w FlashLayout_emmc_osd32mp1-red-trusted.tsv I’m getting this:

        Does anyone have an idea why I’m getting this segmentation fault?

      • #11643
        Neeraj Dantu
        Moderator

          Manuel,

          I have seen a similar error, but after the board was finished flashing. You could try re-installing Cube Programmer or using a previous version, may be 2.5/2.4.

          Best,

          Neeraj

          • #11647
            Manuel Malagon
            Participant

              Neeraj,

              You are right, I just moved the boot switches to boot from flash and it is working. I don’t know why it crashes at the end and I guess it doesn’t matter as long as it flashes the eMMC correctly.

              I haven’t tried with 2.5 or 2.4 yet.

          • #11681
            Manuel Malagon
            Participant

              Just in case anyone lands here…

              Do not use STM32CubeProgrammer v2.6.0!! It will corrupt the flash and you will not have HDMI output, (and maybe something else will be wrong). The resulting eMMC image seemed to work correctly for me and the only apparent issue was no HDMI output. But I’m not sure if it had another hidden issue.

              I used STM32CubeProgrammer v2.5.0, it doesn’t crash and it will correctly flash the eMMC.

          Viewing 2 reply threads
          • You must be logged in to reply to this topic.