Hello @tom,
Kindly find the outputs received shown in the images below.
UFS Provisioning is successful as shown in the attached image.
The output message is shown at the end.
Flashing CDT failed - Try 1
Flashing CDT failed - Try 2
UFS Provisioning Output
modal hello
[MODALAI] test log
[MODALAI] Executing usb_open
[MODALAI] Completed usb_open
[MODALAI] Executing sahara_run
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ64 image: 13 offset: 0x0 length: 0x40
READ64 image: 13 offset: 0x40 length: 0x310
READ64 image: 13 offset: 0x1000 length: 0x1000
READ64 image: 13 offset: 0x2000 length: 0xc48
READ64 image: 13 offset: 0x3000 length: 0x1000
READ64 image: 13 offset: 0x4000 length: 0x1000
READ64 image: 13 offset: 0x5000 length: 0x1000
READ64 image: 13 offset: 0x6000 length: 0x1000
READ64 image: 13 offset: 0x7000 length: 0x1000
READ64 image: 13 offset: 0x8000 length: 0x1000
READ64 image: 13 offset: 0x9000 length: 0x1000
READ64 image: 13 offset: 0xa000 length: 0x1000
READ64 image: 13 offset: 0xb000 length: 0x1000
READ64 image: 13 offset: 0xc000 length: 0x1000
READ64 image: 13 offset: 0xd000 length: 0x1000
READ64 image: 13 offset: 0xe000 length: 0x1000
READ64 image: 13 offset: 0xf000 length: 0x1000
READ64 image: 13 offset: 0x10000 length: 0x1000
READ64 image: 13 offset: 0x11000 length: 0x1000
READ64 image: 13 offset: 0x12000 length: 0x1000
READ64 image: 13 offset: 0x13000 length: 0x1000
READ64 image: 13 offset: 0x14000 length: 0x1000
READ64 image: 13 offset: 0x15000 length: 0x1000
READ64 image: 13 offset: 0x16000 length: 0x1000
READ64 image: 13 offset: 0x17000 length: 0x1000
READ64 image: 13 offset: 0x18000 length: 0x1000
READ64 image: 13 offset: 0x19000 length: 0x1000
READ64 image: 13 offset: 0x1a000 length: 0x1000
READ64 image: 13 offset: 0x1b000 length: 0x1000
READ64 image: 13 offset: 0x1c000 length: 0x1000
READ64 image: 13 offset: 0x1d000 length: 0x1000
READ64 image: 13 offset: 0x1e000 length: 0x1000
READ64 image: 13 offset: 0x1f000 length: 0x1000
READ64 image: 13 offset: 0x20000 length: 0x1000
READ64 image: 13 offset: 0x21000 length: 0x1000
READ64 image: 13 offset: 0x22000 length: 0x1000
READ64 image: 13 offset: 0x23000 length: 0x1000
READ64 image: 13 offset: 0x24000 length: 0x1000
READ64 image: 13 offset: 0x25000 length: 0x1000
READ64 image: 13 offset: 0x26000 length: 0x1000
READ64 image: 13 offset: 0x27000 length: 0x1000
READ64 image: 13 offset: 0x28000 length: 0x1000
READ64 image: 13 offset: 0x29000 length: 0x1000
READ64 image: 13 offset: 0x2a000 length: 0x1000
READ64 image: 13 offset: 0x2b000 length: 0x1000
READ64 image: 13 offset: 0x2c000 length: 0x1000
READ64 image: 13 offset: 0x2d000 length: 0x1000
READ64 image: 13 offset: 0x2e000 length: 0x1000
READ64 image: 13 offset: 0x2f000 length: 0x1000
READ64 image: 13 offset: 0x30000 length: 0x1000
READ64 image: 13 offset: 0x31000 length: 0x1000
READ64 image: 13 offset: 0x32000 length: 0x1000
READ64 image: 13 offset: 0x33000 length: 0x1000
READ64 image: 13 offset: 0x34000 length: 0x1000
READ64 image: 13 offset: 0x35000 length: 0x1000
READ64 image: 13 offset: 0x36000 length: 0x1000
READ64 image: 13 offset: 0x37000 length: 0x1000
READ64 image: 13 offset: 0x38000 length: 0x1000
READ64 image: 13 offset: 0x39000 length: 0x1000
READ64 image: 13 offset: 0x3a000 length: 0x1000
READ64 image: 13 offset: 0x3b000 length: 0x1000
READ64 image: 13 offset: 0x3c000 length: 0x1000
READ64 image: 13 offset: 0x3d000 length: 0x1000
READ64 image: 13 offset: 0x3e000 length: 0x1000
READ64 image: 13 offset: 0x3f000 length: 0x1000
READ64 image: 13 offset: 0x40000 length: 0x1000
READ64 image: 13 offset: 0x41000 length: 0x1000
READ64 image: 13 offset: 0x42000 length: 0x1000
READ64 image: 13 offset: 0x43000 length: 0x1000
READ64 image: 13 offset: 0x44000 length: 0x1000
READ64 image: 13 offset: 0x45000 length: 0x1000
READ64 image: 13 offset: 0x46000 length: 0x1000
READ64 image: 13 offset: 0x47000 length: 0x1000
READ64 image: 13 offset: 0x48000 length: 0x1000
READ64 image: 13 offset: 0x49000 length: 0x1000
READ64 image: 13 offset: 0x4a000 length: 0x1000
READ64 image: 13 offset: 0x4b000 length: 0x1000
READ64 image: 13 offset: 0x4c000 length: 0x1000
READ64 image: 13 offset: 0x4d000 length: 0x1000
READ64 image: 13 offset: 0x4e000 length: 0x1000
READ64 image: 13 offset: 0x4f000 length: 0x1000
READ64 image: 13 offset: 0x50000 length: 0x1000
READ64 image: 13 offset: 0x51000 length: 0x1000
READ64 image: 13 offset: 0x52000 length: 0x1000
READ64 image: 13 offset: 0x53000 length: 0x1000
READ64 image: 13 offset: 0x54000 length: 0x1000
READ64 image: 13 offset: 0x55000 length: 0x1000
READ64 image: 13 offset: 0x56000 length: 0x1000
READ64 image: 13 offset: 0x57000 length: 0x1000
READ64 image: 13 offset: 0x58000 length: 0x1000
READ64 image: 13 offset: 0x59000 length: 0x1000
READ64 image: 13 offset: 0x5a000 length: 0x1000
READ64 image: 13 offset: 0x5b000 length: 0x1000
READ64 image: 13 offset: 0x5c000 length: 0x1000
READ64 image: 13 offset: 0x5d000 length: 0x1000
READ64 image: 13 offset: 0x5e000 length: 0x1000
READ64 image: 13 offset: 0x5f000 length: 0x1000
READ64 image: 13 offset: 0x60000 length: 0x1000
READ64 image: 13 offset: 0x61000 length: 0x1000
READ64 image: 13 offset: 0x62000 length: 0x1000
READ64 image: 13 offset: 0x63000 length: 0xde0
READ64 image: 13 offset: 0x63de0 length: 0x1000
READ64 image: 13 offset: 0x64de0 length: 0x1000
READ64 image: 13 offset: 0x65de0 length: 0x1000
READ64 image: 13 offset: 0x66de0 length: 0x1000
READ64 image: 13 offset: 0x67de0 length: 0x1000
READ64 image: 13 offset: 0x68de0 length: 0x1000
READ64 image: 13 offset: 0x69de0 length: 0x1000
READ64 image: 13 offset: 0x6ade0 length: 0x1000
READ64 image: 13 offset: 0x6bde0 length: 0x1000
READ64 image: 13 offset: 0x6cde0 length: 0x1000
READ64 image: 13 offset: 0x6dde0 length: 0x1000
READ64 image: 13 offset: 0x6ede0 length: 0x1000
READ64 image: 13 offset: 0x6fde0 length: 0x3f0
READ64 image: 13 offset: 0x701d0 length: 0x1000
READ64 image: 13 offset: 0x711d0 length: 0x1000
READ64 image: 13 offset: 0x721d0 length: 0x1000
READ64 image: 13 offset: 0x731d0 length: 0x1000
READ64 image: 13 offset: 0x741d0 length: 0x1000
READ64 image: 13 offset: 0x751d0 length: 0x1000
READ64 image: 13 offset: 0x761d0 length: 0x1000
READ64 image: 13 offset: 0x771d0 length: 0x1000
READ64 image: 13 offset: 0x781d0 length: 0x1000
READ64 image: 13 offset: 0x791d0 length: 0x1000
READ64 image: 13 offset: 0x7a1d0 length: 0x1000
READ64 image: 13 offset: 0x7b1d0 length: 0x1000
READ64 image: 13 offset: 0x7c1d0 length: 0x1000
READ64 image: 13 offset: 0x7d1d0 length: 0x1000
READ64 image: 13 offset: 0x7e1d0 length: 0x1000
READ64 image: 13 offset: 0x7f1d0 length: 0xf6c
READ64 image: 13 offset: 0x80140 length: 0x84
READ64 image: 13 offset: 0x801c4 length: 0x1000
READ64 image: 13 offset: 0x811c4 length: 0x1000
READ64 image: 13 offset: 0x821c4 length: 0x1000
READ64 image: 13 offset: 0x831c4 length: 0x1000
READ64 image: 13 offset: 0x841c4 length: 0x1000
READ64 image: 13 offset: 0x851c4 length: 0x1000
READ64 image: 13 offset: 0x861c4 length: 0x1000
READ64 image: 13 offset: 0x871c4 length: 0x1000
READ64 image: 13 offset: 0x881c4 length: 0x1000
READ64 image: 13 offset: 0x891c4 length: 0x55c
READ64 image: 13 offset: 0x89720 length: 0x1000
READ64 image: 13 offset: 0x8a720 length: 0x1000
READ64 image: 13 offset: 0x8b720 length: 0x1000
READ64 image: 13 offset: 0x8c720 length: 0x1000
READ64 image: 13 offset: 0x8d720 length: 0x1000
READ64 image: 13 offset: 0x8e720 length: 0xbf0
READ64 image: 13 offset: 0x8f310 length: 0x1000
READ64 image: 13 offset: 0x90310 length: 0x1000
READ64 image: 13 offset: 0x91310 length: 0x1000
READ64 image: 13 offset: 0x92310 length: 0x1000
READ64 image: 13 offset: 0x93310 length: 0x1000
READ64 image: 13 offset: 0x94310 length: 0xbf0
READ64 image: 13 offset: 0x94f00 length: 0x1000
READ64 image: 13 offset: 0x95f00 length: 0x1000
READ64 image: 13 offset: 0x96f00 length: 0x1000
READ64 image: 13 offset: 0x97f00 length: 0x1000
READ64 image: 13 offset: 0x98f00 length: 0x1000
READ64 image: 13 offset: 0x99f00 length: 0x1000
READ64 image: 13 offset: 0x9af00 length: 0x1000
READ64 image: 13 offset: 0x9bf00 length: 0x1000
READ64 image: 13 offset: 0x9cf00 length: 0x1000
READ64 image: 13 offset: 0x9df00 length: 0x1000
READ64 image: 13 offset: 0x9ef00 length: 0x1000
READ64 image: 13 offset: 0x9ff00 length: 0x1000
READ64 image: 13 offset: 0xa0f00 length: 0x1000
READ64 image: 13 offset: 0xa1f00 length: 0x1000
READ64 image: 13 offset: 0xa2f00 length: 0x1000
READ64 image: 13 offset: 0xa3f00 length: 0x1000
READ64 image: 13 offset: 0xa4f00 length: 0x1000
READ64 image: 13 offset: 0xa5f00 length: 0x1000
READ64 image: 13 offset: 0xa6f00 length: 0x1000
READ64 image: 13 offset: 0xa7f00 length: 0x1000
READ64 image: 13 offset: 0xa8f00 length: 0x1000
READ64 image: 13 offset: 0xa9f00 length: 0x1000
END OF IMAGE image: 13 status: 0
DONE status: 1
[MODALAI] Completed sahara_run
[MODALAI] Executing firehose_run
[MODALAI] Executing firehose_read
LOG: INFO: Binary build date: Mar 6 2020 @ 17:34:12
LOG: INFO: Binary build date: Mar 6 2020 @ 17:34:12
LOG: INFO: Chip serial num: 4118209451 (0xf576e3ab)
LOG: INFO: Supported Functions (15):
LOG: INFO: program
LOG: INFO: read
LOG: INFO: nop
LOG: INFO: patch
LOG: INFO: configure
LOG: INFO: setbootablestoragedrive
LOG: INFO: erase
LOG: INFO: power
LOG: INFO: firmwarewrite
LOG: INFO: getstorageinfo
LOG: INFO: benchmark
LOG: INFO: emmc
LOG: INFO: ufs
LOG: INFO: fixgpt
LOG: INFO: getsha256digest
LOG: INFO: End of supported functions 15
[MODALAI] Completed firehose_read
[MODALAI] Executing ufs_need_provisioning
[MODALAI] Turns out ufs needs provisioning
[MODALAI] <ufs_prov> executing firehose_configure
LOG: INFO: Calling handler for configure
LOG: INFO: Storage type set to value UFS
LOG: DEBUG: Calling usb_al_bulk_set_zlp_mode(TRUE), zlp is not set to 0
[MODALAI] <ufs_prov> finished firehose_configure
[MODALAI] <ufs_prov> executing ufs_provisioning_execute
LOG: INFO: Calling handler for ufs
LOG: DEBUG: Can't decode attribute slot with value
LOG: DEBUG: Can't decode attribute physical_partition_number with value
LOG: DEBUG: Can't decode attribute LUNum with value
LOG: DEBUG: Can't decode attribute qVendorConfigCode with value
LOG: DEBUG: Can't decode attribute commit with value
LOG: INFO: Calling handler for ufs
LOG: DEBUG: Can't decode attribute slot with value
LOG: DEBUG: Can't decode attribute physical_partition_number with value
LOG: DEBUG: Can't decode attribute commit with value
LOG: INFO: Calling handler for ufs
LOG: DEBUG: Can't decode attribute slot with value
LOG: DEBUG: Can't decode attribute physical_partition_number with value
LOG: DEBUG: Can't decode attribute commit with value
LOG: INFO: Calling handler for ufs
LOG: DEBUG: Can't decode attribute slot with value
LOG: DEBUG: Can't decode attribute physical_partition_number with value
LOG: DEBUG: Can't decode attribute commit with value
LOG: INFO: Calling handler for ufs
LOG: DEBUG: Can't decode attribute slot with value
LOG: DEBUG: Can't decode attribute physical_partition_number with value
LOG: DEBUG: Can't decode attribute commit with value
LOG: INFO: Calling handler for ufs
LOG: DEBUG: Can't decode attribute slot with value
LOG: DEBUG: Can't decode attribute physical_partition_number with value
LOG: DEBUG: Can't decode attribute commit with value
LOG: INFO: Calling handler for ufs
LOG: DEBUG: Can't decode attribute slot with value
LOG: DEBUG: Can't decode attribute physical_partition_number with value
LOG: DEBUG: Can't decode attribute commit with value
LOG: INFO: Calling handler for ufs
LOG: DEBUG: Can't decode attribute slot with value
LOG: DEBUG: Can't decode attribute physical_partition_number with value
LOG: DEBUG: Can't decode attribute commit with value
LOG: INFO: Calling handler for ufs
LOG: DEBUG: Can't decode attribute slot with value
LOG: DEBUG: Can't decode attribute physical_partition_number with value
LOG: DEBUG: Can't decode attribute commit with value
LOG: INFO: Calling handler for ufs
LOG: DEBUG: Can't decode attribute slot with value
LOG: DEBUG: Can't decode attribute physical_partition_number with value
LOG: DEBUG: Can't decode attribute LUNum with value
LOG: DEBUG: Can't decode attribute bBootEnable with value
LOG: DEBUG: Can't decode attribute bDescrAccessEn with value
LOG: DEBUG: Can't decode attribute bInitPowerMode with value
LOG: DEBUG: Can't decode attribute bHighPriorityLUN with value
LOG: DEBUG: Can't decode attribute bSecureRemovalType with value
LOG: DEBUG: Can't decode attribute bInitActiveICCLevel with value
LOG: DEBUG: Can't decode attribute wPeriodicRTCUpdate with value
LOG: DEBUG: Can't decode attribute bWriteBoosterBufferPreserveUserSpaceEn with value
LOG: DEBUG: Can't decode attribute bWriteBoosterBufferType with value
LOG: DEBUG: Can't decode attribute shared_wb_buffer_size_in_kb with value
LOG: DEBUG: Can't decode attribute bConfigDescrLock with value
LOG: DEBUG: Can't decode attribute qVendorConfigCode with value
UFS provisioning succeeded
[MODALAI] <ufs_prov> finished ufs_provisioning_execute
[MODALAI] executing firehose_reset
LOG: INFO: Calling handler for power
LOG: DEBUG: Can't decode attribute DelayInSeconds with value
LOG: INFO: Will issue reset/power off 100 useconds, if this hangs check if watchdog is enabled
LOG: INFO: bsp_target_reset() 1
[MODALAI] finished firehose_reset
[MODALAI] Completed firehose_run
UFS provisioning succeeded, please reset power to the device