2023-05-21 08:34 AM - edited 2023-11-20 04:58 AM
hi
I am working on a project using stm32mp157fad.
For the project created using stm32cubemx and stm32cubeide, I created a custom image by referring to the site below and uploaded it to the sd card using the dd command.
But openstlinux is not booting up so I want to check if there is a problem with the schematic.
1.Create an OpenSTLinux image
https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_machine
2.dd command
https://wiki.st.com/stm32mpu/wiki/How_to_populate_the_SD_card_with_dd_command
First of all, I would appreciate it if you could tell me if the circuit diagram is written correctly.
1.power circuit diagram
2.SD Card Used Pin
Second, I would like to know if the Boot-related program is entered in the ROM when the STM32MP1 series is shipped from the factory.
thank you
Solved! Go to Solution.
2023-05-22 06:27 AM
Hi @KNam.2 ,
Regarding schematics, no evident issue seems with a quick look.
I strongly encourage you to have a look to existing board schematics and the read AN5031.
For Boot failure, if BOOT pins are ok, and TF-A does not issue any UART traces.
I confirm BootROM is obviously present on all STM32MP1 products at the output of factory (MPUs have a real mask-ROM built during silicon manufacturing process).
Regards,
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
2023-05-22 06:27 AM
Hi @KNam.2 ,
Regarding schematics, no evident issue seems with a quick look.
I strongly encourage you to have a look to existing board schematics and the read AN5031.
For Boot failure, if BOOT pins are ok, and TF-A does not issue any UART traces.
I confirm BootROM is obviously present on all STM32MP1 products at the output of factory (MPUs have a real mask-ROM built during silicon manufacturing process).
Regards,
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
2023-05-22 05:50 PM - edited 2023-11-20 04:58 AM
Thanks patrickF for answering my question.
I have one more question.
The pin information used to boot from the SD card is listed in the web address.
[https://wiki.stmicroelectronics.cn/stm32mpu/wiki/STM32_MPU_ROM_code_overview#Image_loading]
Here we do not use the PB9 pin. Is it okay not to use PB9?
2023-05-22 11:15 PM - edited 2023-11-20 04:58 AM
No issue if you don't have external level translator (i.e. no support of UHS-I), but you should take into account that PB9 might toggle during initial phase when BootROM is loading FSBL. If this is an issue for your board, you could redefine the whole requested pins (PC12, PD2 and PC8) using OTP WORD3 and WORD5-7.
Regards.
2023-05-23 02:15 AM
The PB9 pin is not open now. So I was able to figure out the cause. thank you