STM32Prog CLI and OTP Disply
Hi,
i currently trying to interact via shellscript and stm32cubeprog cli with my stm32mp157 board.
I can run and load tfa and than uboot. But when i want to read otp, my operations get stuck.
What is the correct call for this?
In my Script is use the following :
.../STM32_Programmer_CLI --connect port=usb1 -tm 20000 serial --verbosity 1 -tm 5000 --write ./tfa_und_uboot_slow.tsv --go 0x03 -otp displ
This is my TSV:
#Opt Id Name Type IP Offset Binary
- 0x01 fsbl1-boot Binary none 0x0 ./tf-a-slow-usb.stm32
- 0x03 ssbl-boot Binary none 0x0 ./uboot-slow-usb.stm32
${PROGRAMMER_BINARY} --write ./tfa_und_uboot_slow.tsv --go 0x03 -otp displ
This is the output:
-------------------------------------------------------------------
STM32CubeProgrammer v2.8.0
-------------------------------------------------------------------
Warning: Timeout is forced to 5000 ms
USB speed : High Speed (480MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
SN : 0046002A3139510B38313636
FW version : 0x0110
Device ID : 0x0500
Device name : STM32MP1
Device type : MPU
Device CPU : Cortex-A7
Start Embedded Flashing service
Memory Programming ...
Opening and parsing file: tf-a-slow-usb.stm32
File : tf-a-slow-usb.stm32
Size : 213310 Bytes
Partition ID : 0x01
Download in Progress:
[==================================================] 100%
File download complete
Time elapsed during download operation: 00:00:00.375
RUNNING Program ...
PartID: :0x01
Error: an error occured while setting virtual partition 0xF1 alternate setting
Error: Start operation failed at partition 0x01
Error: TSV flashing service failed
RUNNING Program ...
Address: : 0x3
Error: Start operation failed
Error: Connection to target must be established before performing any OTP command.
Many thanks for any hints :)
