2021-04-08 10:27 AM
Trying to program over ST-LINK instead of DFU. Boot0 and Boot2 are both switched away from the card edge. Here is what I am seeing:
letter@steve-T7500:~/work/Starter-Package/stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12/images/stm32mp1$ STM32_Programmer_CLI -c port=SWD -w flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv
-------------------------------------------------------------------
STM32CubeProgrammer v2.7.0
-------------------------------------------------------------------
ST-LINK SN : 0668FF303739465043112823
ST-LINK FW : V2J32M22
Board : NUCLEO-NONE
Voltage : 3.23V
SWD freq : 4000 KHz
Connect mode: Normal
Reset mode : Software reset
Error: Cannot identify the device
What am I doing wrong?
Solved! Go to Solution.
2021-04-09 04:38 AM
Hi @nonesuchetter ,
Program MP1 MPU using STM32CubeProgrammer is possible only using DFU, SWD is not supported.
Have a look at MP1 WIKI which give many information about MP1 flashing.
If your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Houda
2021-04-09 04:38 AM
Hi @nonesuchetter ,
Program MP1 MPU using STM32CubeProgrammer is possible only using DFU, SWD is not supported.
Have a look at MP1 WIKI which give many information about MP1 flashing.
If your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Houda
2021-04-09 05:09 AM
Then why is it even an option? Just curious.
2021-04-09 07:54 AM
Hi @nonesuchetter ,
The SWD is kept in this use case because it is used for testing purpose. :smiling_face_with_smiling_eyes:
Houda