Skip to main content
Visitor II
May 13, 2024
Question

Your new PCB using the STM32MP157FAC isn't functioning properly.

  • May 13, 2024
  • 1 reply
  • 4454 views

Hello, I'm planning to create a new board using the STM32MP157FAC.

I've referenced the circuit diagrams of both the Discovery board and the development board to design the PCB and assemble the components.

I've successfully connected the power chip, STPMIC, and confirmed the output voltages of 5V, 3.3V, and 1.8V.

The starter package provided by ST isn't functioning when using the SD card.

I'm aiming to run only the A7 on the PCB I've built. Could you tell me if there's any mistake in the circuit or if there's a separate upload process needed?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    May 13, 2024

    HI @LeeJaewon 

    you probably need to adapt the binaries contents to your HW (using a custom Device Tree). There is low chance to run the ST starter package tailored to our boards on a custom board (unless you are using exactly same HW).

    Please have a look to https://community.st.com/t5/stm32-mpus/stm32mp1-bring-up-troubleshooting-guide/ta-p/49272

    Any messages shown on the serial console ?

    Did you tested DDR correct behavior using DDRFW-UTIL ?

    Did you try upload the starter package using CubeProgrammer connected to USB OTG ?

    Regards.

    LeeJaewonAuthor
    Visitor II
    May 14, 2024

    I've created a circuit to match the Discovery board, driving only A7. I've attached STM32MP157, an SDCARD reader, STPMIC, and DDR3. Are there any additional components I need?

    Technical Moderator
    May 14, 2024

    Hi,

    Did you look at AN5031 ?

    Please share UART4 console messages.

    If no messages, please check PA13 behavior (need a pull-up). https://wiki.st.com/stm32mpu/wiki/How_to_diagnose_a_boot_failure

    check Boot Trace dump https://wiki.st.com/stm32mpu/wiki/STM32_MPU_ROM_trace_analyzer#ROM_trace_analysis_procedure

     

    Quick looking to your schematics

    - mixup on HSE crystal connections and component values (btw, our board and starter package uses oscillator, so you need to tailor the binaries to your HW). Remove R303 and R302. Put much lower capacitor (see AN2867)

     

    Regards.