[Xiaomi Mi 5s Questions & Answers] wesleycp4:
My mi5s stopped alone a few days ago, I had the bootloader unlocked and was using a global when it happened.

It stuck out of alone, and it would not allow me anything, it said it was not allowed in both the fastboot mode so much for the twrp recovery.

I tried several times until the flash started and it gave an error, after that it does not display anything else on the screen. Is only in download mode (hs 9008). I've tried everything to get out of this way, but nothing.

By the miflash (latest version) of the ACK error in less than 10 seconds.

By the (old) miflash system passes, from completion, but does nothing, continues in download mode.

By Qfil of the error at the beginning speaking that it is not allowed to write any storage.

Log QFIL(qualcomm) *The complete is attached

[...]

22:05:46: INFO: Sending <configure>

22:05:46: DEBUG: CHANNEL DATA (P0000) (H00202) ( 227 bytes) - HOST TO TARGET -->

===========================================================================================================

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<configure MemoryName="ufs" Verbose="0" AlwaysValidate="0" MaxDigestTableSizeInBytes="8192" MaxPayloadSizeToTargetInBytes="1048576" ZlpAwareHost="1" SkipStorageInit="0" />

</data>

============================================================================================================

22:05:46: DEBUG: CharsInBuffer=0 Trying to read from USB 8192 bytes

22:05:46: DEBUG: CHANNEL DATA (775 bytes) <-- TARGET to HOST

22:05:46: DEBUG: CharsInBuffer = 775

22:05:46: DEBUG: printBuffer:5260 PRETTYPRINT Buffer is 775 bytes

22:05:46: DEBUG: printBuffer:5337 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 <?xml version="1

22:05:46: DEBUG: printBuffer:5337 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 .0" encoding="UT

22:05:46: DEBUG: printBuffer:5337 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C F-8" ?>.<data>.<

22:05:46: DEBUG: printBuffer:5337 6C 6F 67 20 76 61 6C 75 65 3D 22 42 69 6E 61 72 log value="Binar

22:05:46: DEBUG: printBuffer:5337 79 20 62 75 69 6C 64 20 64 61 74 65 3A 20 44 65 y build date: De

22:05:46: DEBUG: printBuffer:5337 63 20 31 36 20 32 30 31 36 20 40 20 31 37 3A 34 c 16 2016 @ 17:4

22:05:46: DEBUG: printBuffer:5337 30 3A 35 31 22 2F 3E 0A 3C 2F 64 61 74 61 3E 3C 0:51"/>.</data><

22:05:46: DEBUG: printBuffer:5337 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E ?xml version="1.

22:05:46: DEBUG: printBuffer:5337 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 46 0" encoding="UTF

22:05:46: DEBUG: printBuffer:5337 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C 6C -8" ?>.<data>.<l

22:05:46: DEBUG: printBuffer:5337 6F 67 20 76 61 6C 75 65 3D 22 43 68 69 70 20 73 og value="Chip s

22:05:46: DEBUG: printBuffer:5337 65 72 69 61 6C 20 6E 75 6D 3A 20 33 33 38 37 35 erial num: 33875

22:05:46: DEBUG: printBuffer:5337 31 36 31 31 35 20 28 30 78 63 39 65 39 36 34 64 16115 (0xc9e964d

22:05:46: DEBUG: printBuffer:5337 33 29 22 2F 3E 0A 3C 2F 64 61 74 61 3E 3C 3F 78 3)"/>.</data><?x

22:05:46: DEBUG: printBuffer:5337 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 22 ml version="1.0"

22:05:46: DEBUG: printBuffer:5337 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 46 2D 38 encoding="UTF-8

22:05:46: DEBUG: printBuffer:5337 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C 6C 6F 67 " ?>.<data>.<log

22:05:46: DEBUG: printBuffer:5337 20 76 61 6C 75 65 3D 22 53 75 70 70 6F 72 74 65 value="Supporte

22:05:46: DEBUG: printBuffer:5337 64 20 46 75 6E 63 74 69 6F 6E 73 3A 20 70 72 6F d Functions: pro

22:05:46: DEBUG: printBuffer:5337 67 72 61 6D 20 63 6F 6E 66 69 67 75 72 65 20 6E gram configure n

22:05:46: DEBUG: printBuffer:5337 6F 70 20 66 69 72 6D 77 61 72 65 77 72 69 74 65 op firmwarewrite

22:05:46: DEBUG: printBuffer:5337 20 70 61 74 63 68 20 73 65 74 62 6F 6F 74 61 62 patch setbootab

22:05:46: DEBUG: printBuffer:5337 6C 65 73 74 6F 72 61 67 65 64 72 69 76 65 20 75 lestoragedrive u

22:05:46: DEBUG: printBuffer:5337 66 73 20 65 6D 6D 63 20 70 6F 77 65 72 20 62 65 fs emmc power be

22:05:46: DEBUG: printBuffer:5337 6E 63 68 6D 61 72 6B 20 72 65 61 64 20 67 65 74 nchmark read get

22:05:46: DEBUG: printBuffer:5337 73 74 6F 72 61 67 65 69 6E 66 6F 20 67 65 74 73 storageinfo gets

22:05:46: DEBUG: printBuffer:5337 68 61 32 35 36 64 69 67 65 73 74 20 65 72 61 73 ha256digest eras

22:05:46: DEBUG: printBuffer:5337 65 20 70 65 65 6B 20 70 6F 6B 65 20 22 2F 3E 0A e peek poke "/>.

22:05:46: DEBUG: printBuffer:5337 3C 2F 64 61 74 61 3E 3C 3F 78 6D 6C 20 76 65 72 </data><?xml ver

22:05:46: DEBUG: printBuffer:5337 73 69 6F 6E 3D 22 31 2E 30 22 20 65 6E 63 6F 64 sion="1.0" encod

22:05:46: DEBUG: printBuffer:5337 69 6E 67 3D 22 55 54 46 2D 38 22 20 3F 3E 0A 3C ing="UTF-8" ?>.<

22:05:46: DEBUG: printBuffer:5337 64 61 74 61 3E 0A 3C 6C 6F 67 20 76 61 6C 75 65 data>.<log value

22:05:46: DEBUG: printBuffer:5337 3D 22 75 66 73 20 31 39 38 2C 65 65 36 30 30 30 ="ufs 198,ee6000

22:05:46: DEBUG: printBuffer:5337 30 22 2F 3E 0A 3C 2F 64 61 74 61 3E 3C 3F 78 6D 0"/>.</data><?xm

22:05:46: DEBUG: printBuffer:5337 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 22 20 l version="1.0"

22:05:46: DEBUG: printBuffer:5337 65 6E 63 6F 64 69 6E 67 3D 22 55 54 46 2D 38 22 encoding="UTF-8"

22:05:46: DEBUG: printBuffer:5337 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C 6C 6F 67 20 ?>.<data>.<log

22:05:46: DEBUG: printBuffer:5337 76 61 6C 75 65 3D 22 43 61 6C 6C 69 6E 67 20 75 value="Calling u

22:05:46: DEBUG: printBuffer:5337 73 62 5F 61 6C 5F 62 75 6C 6B 5F 73 65 74 5F 7A sb_al_bulk_set_z

22:05:46: DEBUG: printBuffer:5337 6C 70 5F 6D 6F 64 65 28 54 52 55 45 29 20 73 69 lp_mode(TRUE) si

22:05:46: DEBUG: printBuffer:5337 6E 63 65 20 5A 6C 70 41 77 61 72 65 48 6F 73 74 nce ZlpAwareHost

22:05:46: DEBUG: printBuffer:5337 3D 27 31 27 22 2F 3E 0A 3C 2F 64 61 74 61 3E 3C ='1'"/>.</data><

22:05:46: DEBUG: printBuffer:5337 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E ?xml version="1.

22:05:46: DEBUG: printBuffer:5337 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 46 0" encoding="UTF

22:05:46: DEBUG: printBuffer:5337 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C 6C -8" ?>.<data>.<l

22:05:46: DEBUG: printBuffer:5337 6F 67 20 76 61 6C 75 65 3D 22 43 61 6C 6C 69 6E og value="Callin

22:05:46: DEBUG: printBuffer:5337 67 20 68 6F 74 70 6C 75 67 5F 70 6F 6C 6C 5F 64 g hotplug_poll_d

22:05:46: DEBUG: printBuffer:5337 65 76 69 63 65 28 27 55 46 53 27 29 22 2F 3E 0A evice('UFS')"/>.

22:05:46: DEBUG: printBuffer:5337 3C 2F 64 61 74 61 3E </data>

22:05:46: DEBUG: printBuffer:5350

22:05:46: DEBUG: XML FILE (111 bytes): CharsInBuffer=775-111=664

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Binary build date: Dec 16 2016 @ 17:40:51"/>

</data>

-------------------------------------------------------------------------------------------

22:05:46: INFO: TARGET SAID: 'Binary build date: Dec 16 2016 @ 17:40:51'

22:05:46: DEBUG: XML FILE (110 bytes): CharsInBuffer=664-110=554

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Chip serial num: 3387516115 (0xc9e964d3)"/>

</data>

-------------------------------------------------------------------------------------------

22:05:46: INFO: TARGET SAID: 'Chip serial num: 3387516115 (0xc9e964d3)'

22:05:46: DEBUG: XML FILE (234 bytes): CharsInBuffer=554-234=320

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase peek poke "/>

</data>

-------------------------------------------------------------------------------------------

22:05:46: INFO: TARGET SAID: 'Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase peek poke '

22:05:46: DEBUG: XML FILE (85 bytes): CharsInBuffer=320-85=235

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="ufs 198,ee60000"/>

</data>

-------------------------------------------------------------------------------------------

22:05:46: INFO: TARGET SAID: 'ufs 198,ee60000'

22:05:46: DEBUG: XML FILE (131 bytes): CharsInBuffer=235-131=104

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Calling usb_al_bulk_set_zlp_mode(TRUE) since ZlpAwareHost='1'"/>

</data>

-------------------------------------------------------------------------------------------

22:05:46: INFO: TARGET SAID: 'Calling usb_al_bulk_set_zlp_mode(TRUE) since ZlpAwareHost='1''

22:05:46: DEBUG: XML FILE (104 bytes): CharsInBuffer=104-104=0

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Calling hotplug_poll_device('UFS')"/>

</data>

-------------------------------------------------------------------------------------------

22:05:46: INFO: TARGET SAID: 'Calling hotplug_poll_device('UFS')'

22:05:46: DEBUG: CharsInBuffer=0 Trying to read from USB 8192 bytes

22:05:47: DEBUG: CHANNEL DATA (340 bytes) <-- TARGET to HOST

22:05:47: DEBUG: CharsInBuffer = 340

22:05:47: DEBUG: printBuffer:5260 PRETTYPRINT Buffer is 340 bytes

22:05:47: DEBUG: printBuffer:5337 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 <?xml version="1

22:05:47: DEBUG: printBuffer:5337 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 .0" encoding="UT

22:05:47: DEBUG: printBuffer:5337 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C F-8" ?>.<data>.<

22:05:47: DEBUG: printBuffer:5337 72 65 73 70 6F 6E 73 65 20 76 61 6C 75 65 3D 22 response value="

22:05:47: DEBUG: printBuffer:5337 41 43 4B 22 20 4D 69 6E 56 65 72 73 69 6F 6E 53 ACK" MinVersionS

22:05:47: DEBUG: printBuffer:5337 75 70 70 6F 72 74 65 64 3D 22 31 22 20 4D 65 6D upported="1" Mem

22:05:47: DEBUG: printBuffer:5337 6F 72 79 4E 61 6D 65 3D 22 55 46 53 22 20 4D 61 oryName="UFS" Ma

22:05:47: DEBUG: printBuffer:5337 78 50 61 79 6C 6F 61 64 53 69 7A 65 46 72 6F 6D xPayloadSizeFrom

22:05:47: DEBUG: printBuffer:5337 54 61 72 67 65 74 49 6E 42 79 74 65 73 3D 22 34 TargetInBytes="4

22:05:47: DEBUG: printBuffer:5337 30 39 36 22 20 4D 61 78 50 61 79 6C 6F 61 64 53 096" MaxPayloadS

22:05:47: DEBUG: printBuffer:5337 69 7A 65 54 6F 54 61 72 67 65 74 49 6E 42 79 74 izeToTargetInByt

22:05:47: DEBUG: printBuffer:5337 65 73 3D 22 31 30 34 38 35 37 36 22 20 4D 61 78 es="1048576" Max

22:05:47: DEBUG: printBuffer:5337 50 61 79 6C 6F 61 64 53 69 7A 65 54 6F 54 61 72 PayloadSizeToTar

22:05:47: DEBUG: printBuffer:5337 67 65 74 49 6E 42 79 74 65 73 53 75 70 70 6F 72 getInBytesSuppor

22:05:47: DEBUG: printBuffer:5337 74 65 64 3D 22 31 30 34 38 35 37 36 22 20 4D 61 ted="1048576" Ma

22:05:47: DEBUG: printBuffer:5337 78 58 4D 4C 53 69 7A 65 49 6E 42 79 74 65 73 3D xXMLSizeInBytes=

22:05:47: DEBUG: printBuffer:5337 22 34 30 39 36 22 20 56 65 72 73 69 6F 6E 3D 22 "4096" Version="

22:05:47: DEBUG: printBuffer:5337 31 22 20 54 61 72 67 65 74 4E 61 6D 65 3D 22 4D 1" TargetName="M

22:05:47: DEBUG: printBuffer:5337 53 4D 38 39 39 36 22 20 44 61 74 65 54 69 6D 65 SM8996" DateTime

22:05:47: DEBUG: printBuffer:5337 3D 22 44 65 63 20 31 36 20 32 30 31 36 20 2D 20 ="Dec 16 2016 -

22:05:47: DEBUG: printBuffer:5337 31 37 3A 34 30 3A 35 31 22 20 2F 3E 0A 3C 2F 64 17:40:51" />.</d

22:05:47: DEBUG: printBuffer:5337 61 74 61 3E ata>

22:05:47: DEBUG: printBuffer:5350

22:05:47: DEBUG: XML FILE (340 bytes): CharsInBuffer=340-340=0

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" MinVersionSupported="1" MemoryName="UFS" MaxPayloadSizeFromTargetInBytes="4096" MaxPayloadSizeToTargetInBytes="1048576" MaxPayloadSizeToTargetInBytesSupported="1048576" MaxXMLSizeInBytes="4096" Version="1" TargetName="MSM8996" DateTime="Dec 16 2016 - 17:40:51" />

</data>

-------------------------------------------------------------------------------------------

22:05:47: DEBUG: Response was 'ACK'

22:05:47: INFO: fh.attrs.MaxPayloadSizeToTargetInBytes = 1048576

22:05:47: INFO: fh.attrs.MaxPayloadSizeToTargetInBytesSupported = 1048576

22:05:47: DEBUG: Got the ACK for the <configure>

22:05:47: INFO: In handleProgram('dummy.img')

22:05:47: DEBUG: ==================================================================================

22:05:47: DEBUG: ==================================================================================

22:05:47: INFO: Looking for file 'dummy.img'

22:05:47: DEBUG: 1. Calling stat(C:\images\dummy.img')

22:05:47: DEBUG: 2. Calling fopen('C:\images\dummy.img') with AccessMode='rb'

22:05:47: DEBUG: Trying get filesize, calling fseek()

22:05:47: DEBUG: Found 'C:\images\dummy.img' (8192 bytes)

22:05:47: DEBUG: 2. Calling fopen('C:\images\dummy.img') with AccessMode='rb'

22:05:47: DEBUG: Trying get filesize, calling fseek()

22:05:47: DEBUG: File size is 8192 bytes

22:05:47: DEBUG: NumSectors needed 2

22:05:47: INFO: =======================================================

22:05:47: INFO: {<program> FILE: 'C:\images\dummy.img'}

22:05:47: INFO: {<program> (8.00 KB) 2 sectors needed at location 10 on LUN 0}

22:05:47: INFO: =======================================================

22:05:47: DEBUG: CHANNEL DATA (P0001) (H00203) ( 332 bytes) - HOST TO TARGET -->

===========================================================================================================

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="dummy.img" label="switch" num_partition_sectors="2" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="8.0" sparse="false" start_byte_hex="0xa000" start_sector="10" />

</data>

============================================================================================================

22:05:47: DEBUG: CharsInBuffer=0 Trying to read from USB 4096 bytes

22:05:47: DEBUG: CHANNEL DATA (179 bytes) <-- TARGET to HOST

22:05:47: DEBUG: CharsInBuffer = 179

22:05:47: DEBUG: printBuffer:5260 PRETTYPRINT Buffer is 179 bytes

22:05:47: DEBUG: printBuffer:5337 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 <?xml version="1

22:05:47: DEBUG: printBuffer:5337 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 .0" encoding="UT

22:05:47: DEBUG: printBuffer:5337 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C F-8" ?>.<data>.<

22:05:47: DEBUG: printBuffer:5337 6C 6F 67 20 76 61 6C 75 65 3D 22 73 74 61 72 74 log value="start

22:05:47: DEBUG: printBuffer:5337 20 31 30 2C 20 6E 75 6D 20 32 22 2F 3E 0A 3C 2F 10, num 2"/>.</

22:05:47: DEBUG: printBuffer:5337 64 61 74 61 3E 3C 3F 78 6D 6C 20 76 65 72 73 69 data><?xml versi

22:05:47: DEBUG: printBuffer:5337 6F 6E 3D 22 31 2E 30 22 20 65 6E 63 6F 64 69 6E on="1.0" encodin

22:05:47: DEBUG: printBuffer:5337 67 3D 22 55 54 46 2D 38 22 20 3F 3E 0A 3C 64 61 g="UTF-8" ?>.<da

22:05:47: DEBUG: printBuffer:5337 74 61 3E 0A 3C 72 65 73 70 6F 6E 73 65 20 76 61 ta>.<response va

22:05:47: DEBUG: printBuffer:5337 6C 75 65 3D 22 41 43 4B 22 20 72 61 77 6D 6F 64 lue="ACK" rawmod

22:05:47: DEBUG: printBuffer:5337 65 3D 22 74 72 75 65 22 20 2F 3E 0A 3C 2F 64 61 e="true" />.</da

22:05:47: DEBUG: printBuffer:5337 74 61 3E ta>

22:05:47: DEBUG: printBuffer:5350

22:05:47: DEBUG: XML FILE (85 bytes): CharsInBuffer=179-85=94

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="start 10, num 2"/>

</data>

-------------------------------------------------------------------------------------------

22:05:47: INFO: TARGET SAID: 'start 10, num 2'

22:05:47: DEBUG: XML FILE (94 bytes): CharsInBuffer=94-94=0

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" rawmode="true" />

</data>

-------------------------------------------------------------------------------------------

22:05:47: DEBUG: Response was 'ACK'

22:05:47: DEBUG: CHANNEL DATA (P0002) (H00204) (8.00 KB) - HOST TO TARGET -->

22:05:47: INFO: FILE ACCESS SLOW!! 8.00 KB in 0.015 seconds ( 533.33 KBps) --- Overall to target 0.010 seconds (800.00 KBps)

22:05:47: INFO: {percent files transferred 0.00%}

22:05:47: DEBUG: CharsInBuffer=0 Trying to read from USB 4096 bytes

22:05:47: DEBUG: CHANNEL DATA (229 bytes) <-- TARGET to HOST

22:05:47: DEBUG: CharsInBuffer = 229

22:05:47: DEBUG: printBuffer:5260 PRETTYPRINT Buffer is 229 bytes

22:05:47: DEBUG: printBuffer:5337 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 <?xml version="1

22:05:47: DEBUG: printBuffer:5337 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 .0" encoding="UT

22:05:47: DEBUG: printBuffer:5337 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C F-8" ?>.<data>.<

22:05:47: DEBUG: printBuffer:5337 6C 6F 67 20 76 61 6C 75 65 3D 22 46 69 6E 69 73 log value="Finis

22:05:47: DEBUG: printBuffer:5337 68 65 64 20 70 72 6F 67 72 61 6D 6D 69 6E 67 20 hed programming

22:05:47: DEBUG: printBuffer:5337 73 74 61 72 74 5F 73 65 63 74 6F 72 20 31 32 20 start_sector 12

22:05:47: DEBUG: printBuffer:5337 61 6E 64 20 54 6F 74 61 6C 53 65 63 74 6F 72 73 and TotalSectors

22:05:47: DEBUG: printBuffer:5337 54 6F 50 72 6F 67 72 61 6D 20 32 22 2F 3E 0A 3C ToProgram 2"/>.<

22:05:47: DEBUG: printBuffer:5337 2F 64 61 74 61 3E 3C 3F 78 6D 6C 20 76 65 72 73 /data><?xml vers

22:05:47: DEBUG: printBuffer:5337 69 6F 6E 3D 22 31 2E 30 22 20 65 6E 63 6F 64 69 ion="1.0" encodi

22:05:47: DEBUG: printBuffer:5337 6E 67 3D 22 55 54 46 2D 38 22 20 3F 3E 0A 3C 64 ng="UTF-8" ?>.<d

22:05:47: DEBUG: printBuffer:5337 61 74 61 3E 0A 3C 72 65 73 70 6F 6E 73 65 20 76 ata>.<response v

22:05:47: DEBUG: printBuffer:5337 61 6C 75 65 3D 22 41 43 4B 22 20 72 61 77 6D 6F alue="ACK" rawmo

22:05:47: DEBUG: printBuffer:5337 64 65 3D 22 66 61 6C 73 65 22 20 2F 3E 0A 3C 2F de="false" />.</

22:05:47: DEBUG: printBuffer:5337 64 61 74 61 3E data>

22:05:47: DEBUG: printBuffer:5350

22:05:47: DEBUG: XML FILE (134 bytes): CharsInBuffer=229-134=95

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Finished programming start_sector 12 and TotalSectorsToProgram 2"/>

</data>

-------------------------------------------------------------------------------------------

22:05:47: INFO: TARGET SAID: 'Finished programming start_sector 12 and TotalSectorsToProgram 2'

22:05:47: DEBUG: XML FILE (95 bytes): CharsInBuffer=95-95=0

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" rawmode="false" />

</data>

-------------------------------------------------------------------------------------------

22:05:47: DEBUG: Response was 'ACK'

22:05:47: INFO:

22:05:47: INFO: =======================================================

22:05:47: INFO: ==================== {SUCCESS} ========================

22:05:47: INFO: =======================================================

22:05:47: INFO: {percent files transferred 0.00%}

22:05:47: INFO: In handleProgram('devcfg.mbn')

22:05:47: DEBUG: ==================================================================================

22:05:47: DEBUG: ==================================================================================

22:05:47: INFO: Looking for file 'devcfg.mbn'

22:05:47: DEBUG: 1. Calling stat(C:\images\devcfg.mbn')

22:05:47: DEBUG: 2. Calling fopen('C:\images\devcfg.mbn') with AccessMode='rb'

22:05:47: DEBUG: Trying get filesize, calling fseek()

22:05:47: DEBUG: Found 'C:\images\devcfg.mbn' (51264 bytes)

22:05:47: DEBUG: 2. Calling fopen('C:\images\devcfg.mbn') with AccessMode='rb'

22:05:47: DEBUG: Trying get filesize, calling fseek()

22:05:47: DEBUG: File size is 51264 bytes

22:05:47: DEBUG: NumSectors needed 13

22:05:47: INFO: =======================================================

22:05:47: INFO: {<program> FILE: 'C:\images\devcfg.mbn'}

22:05:47: INFO: {<program> (50.06 KB) 13 sectors needed at location 192 on LUN 0}

22:05:47: INFO: =======================================================

22:05:47: DEBUG: CHANNEL DATA (P0003) (H00205) ( 338 bytes) - HOST TO TARGET -->

===========================================================================================================

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="devcfg.mbn" label="devcfg" num_partition_sectors="13" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="128.0" sparse="false" start_byte_hex="0xc0000" start_sector="192" />

</data>

============================================================================================================

22:05:47: DEBUG: CharsInBuffer=0 Trying to read from USB 4096 bytes

22:05:47: DEBUG: CHANNEL DATA (181 bytes) <-- TARGET to HOST

22:05:47: DEBUG: CharsInBuffer = 181

22:05:47: DEBUG: printBuffer:5260 PRETTYPRINT Buffer is 181 bytes

22:05:47: DEBUG: printBuffer:5337 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 <?xml version="1

22:05:47: DEBUG: printBuffer:5337 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 .0" encoding="UT

22:05:47: DEBUG: printBuffer:5337 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C F-8" ?>.<data>.<

22:05:47: DEBUG: printBuffer:5337 6C 6F 67 20 76 61 6C 75 65 3D 22 73 74 61 72 74 log value="start

22:05:47: DEBUG: printBuffer:5337 20 31 39 32 2C 20 6E 75 6D 20 31 33 22 2F 3E 0A 192, num 13"/>.

22:05:47: DEBUG: printBuffer:5337 3C 2F 64 61 74 61 3E 3C 3F 78 6D 6C 20 76 65 72 </data><?xml ver

22:05:47: DEBUG: printBuffer:5337 73 69 6F 6E 3D 22 31 2E 30 22 20 65 6E 63 6F 64 sion="1.0" encod

22:05:47: DEBUG: printBuffer:5337 69 6E 67 3D 22 55 54 46 2D 38 22 20 3F 3E 0A 3C ing="UTF-8" ?>.<

22:05:47: DEBUG: printBuffer:5337 64 61 74 61 3E 0A 3C 72 65 73 70 6F 6E 73 65 20 data>.<response

22:05:47: DEBUG: printBuffer:5337 76 61 6C 75 65 3D 22 41 43 4B 22 20 72 61 77 6D value="ACK" rawm

22:05:47: DEBUG: printBuffer:5337 6F 64 65 3D 22 74 72 75 65 22 20 2F 3E 0A 3C 2F ode="true" />.</

22:05:47: DEBUG: printBuffer:5337 64 61 74 61 3E data>

22:05:47: DEBUG: printBuffer:5350

22:05:47: DEBUG: XML FILE (87 bytes): CharsInBuffer=181-87=94

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="start 192, num 13"/>

</data>

-------------------------------------------------------------------------------------------

22:05:47: INFO: TARGET SAID: 'start 192, num 13'

22:05:47: DEBUG: XML FILE (94 bytes): CharsInBuffer=94-94=0

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" rawmode="true" />

</data>

-------------------------------------------------------------------------------------------

22:05:47: DEBUG: Response was 'ACK'

22:05:47: DEBUG: CHANNEL DATA (P0004) (H00206) (52.00 KB) - HOST TO TARGET -->

22:05:47: INFO: FILE ACCESS SLOW!! 52.00 KB in 0.015 seconds ( 3.39 MBps) --- Overall to target 0.010 seconds (5.08 MBps)

22:05:47: INFO: {percent files transferred 0.00%}

22:05:47: DEBUG: CharsInBuffer=0 Trying to read from USB 4096 bytes

22:05:47: DEBUG: CHANNEL DATA (477 bytes) <-- TARGET to HOST

22:05:47: DEBUG: CharsInBuffer = 477

22:05:47: DEBUG: printBuffer:5260 PRETTYPRINT Buffer is 477 bytes

22:05:47: DEBUG: printBuffer:5337 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 <?xml version="1

22:05:47: DEBUG: printBuffer:5337 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 .0" encoding="UT

22:05:47: DEBUG: printBuffer:5337 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C F-8" ?>.<data>.<

22:05:47: DEBUG: printBuffer:5337 6C 6F 67 20 76 61 6C 75 65 3D 22 53 74 6F 72 61 log value="Stora

22:05:47: DEBUG: printBuffer:5337 67 65 20 77 72 69 74 65 20 66 61 69 6C 65 64 20 ge write failed

22:05:47: DEBUG: printBuffer:5337 61 74 20 73 65 63 74 6F 72 20 31 39 32 20 6C 65 at sector 192 le

22:05:47: DEBUG: printBuffer:5337 6E 67 74 68 20 31 33 20 65 72 72 6E 6F 3D 2D 31 ngth 13 errno=-1

22:05:47: DEBUG: printBuffer:5337 20 28 30 78 46 46 46 46 46 46 46 46 29 22 2F 3E (0xFFFFFFFF)"/>

22:05:47: DEBUG: printBuffer:5337 0A 3C 2F 64 61 74 61 3E 3C 3F 78 6D 6C 20 76 65 .</data><?xml ve

22:05:47: DEBUG: printBuffer:5337 72 73 69 6F 6E 3D 22 31 2E 30 22 20 65 6E 63 6F rsion="1.0" enco

22:05:47: DEBUG: printBuffer:5337 64 69 6E 67 3D 22 55 54 46 2D 38 22 20 3F 3E 0A ding="UTF-8" ?>.

22:05:47: DEBUG: printBuffer:5337 3C 64 61 74 61 3E 0A 3C 6C 6F 67 20 76 61 6C 75 <data>.<log valu

22:05:47: DEBUG: printBuffer:5337 65 3D 22 45 52 52 4F 52 20 35 3A 20 4C 69 6E 65 e="ERROR 5: Line

22:05:47: DEBUG: printBuffer:5337 20 34 38 35 3A 20 53 54 4F 52 41 47 45 5F 57 52 485: STORAGE_WR

22:05:47: DEBUG: printBuffer:5337 49 54 45 5F 46 41 49 4C 55 52 45 22 2F 3E 0A 3C ITE_FAILURE"/>.<

22:05:47: DEBUG: printBuffer:5337 2F 64 61 74 61 3E 3C 3F 78 6D 6C 20 76 65 72 73 /data><?xml vers

22:05:47: DEBUG: printBuffer:5337 69 6F 6E 3D 22 31 2E 30 22 20 65 6E 63 6F 64 69 ion="1.0" encodi

22:05:47: DEBUG: printBuffer:5337 6E 67 3D 22 55 54 46 2D 38 22 20 3F 3E 0A 3C 64 ng="UTF-8" ?>.<d

22:05:47: DEBUG: printBuffer:5337 61 74 61 3E 0A 3C 6C 6F 67 20 76 61 6C 75 65 3D ata>.<log value=

22:05:47: DEBUG: printBuffer:5337 22 46 69 6E 69 73 68 65 64 20 70 72 6F 67 72 61 "Finished progra

22:05:47: DEBUG: printBuffer:5337 6D 6D 69 6E 67 20 73 74 61 72 74 5F 73 65 63 74 mming start_sect

22:05:47: DEBUG: printBuffer:5337 6F 72 20 32 30 35 20 61 6E 64 20 54 6F 74 61 6C or 205 and Total

22:05:47: DEBUG: printBuffer:5337 53 65 63 74 6F 72 73 54 6F 50 72 6F 67 72 61 6D SectorsToProgram

22:05:47: DEBUG: printBuffer:5337 20 31 33 22 2F 3E 0A 3C 2F 64 61 74 61 3E 3C 3F 13"/>.</data><?

22:05:47: DEBUG: printBuffer:5337 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 xml version="1.0

22:05:47: DEBUG: printBuffer:5337 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 46 2D " encoding="UTF-

22:05:47: DEBUG: printBuffer:5337 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C 72 65 8" ?>.<data>.<re

22:05:47: DEBUG: printBuffer:5337 73 70 6F 6E 73 65 20 76 61 6C 75 65 3D 22 4E 41 sponse value="NA

22:05:47: DEBUG: printBuffer:5337 4B 22 20 72 61 77 6D 6F 64 65 3D 22 66 61 6C 73 K" rawmode="fals

22:05:47: DEBUG: printBuffer:5337 65 22 20 2F 3E 0A 3C 2F 64 61 74 61 3E e" />.</data>

22:05:47: DEBUG: printBuffer:5350

22:05:47: DEBUG: XML FILE (136 bytes): CharsInBuffer=477-136=341

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Storage write failed at sector 192 length 13 errno=-1 (0xFFFFFFFF)"/>

</data>

-------------------------------------------------------------------------------------------

22:05:47: INFO: TARGET SAID: 'Storage write failed at sector 192 length 13 errno=-1 (0xFFFFFFFF)'

22:05:47: DEBUG: XML FILE (110 bytes): CharsInBuffer=341-110=231

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="ERROR 5: Line 485: STORAGE_WRITE_FAILURE"/>

</data>

-------------------------------------------------------------------------------------------

22:05:47: INFO: TARGET SAID: 'ERROR 5: Line 485: STORAGE_WRITE_FAILURE'

22:05:47: DEBUG: XML FILE (136 bytes): CharsInBuffer=231-136=95

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Finished programming start_sector 205 and TotalSectorsToProgram 13"/>

</data>

-------------------------------------------------------------------------------------------

22:05:47: INFO: TARGET SAID: 'Finished programming start_sector 205 and TotalSectorsToProgram 13'

22:05:47: DEBUG: XML FILE (95 bytes): CharsInBuffer=95-95=0

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="NAK" rawmode="false" />

</data>

-------------------------------------------------------------------------------------------

22:05:47: DEBUG: Response was 'NAK'

_____

| ___|

| |__ _ __ _ __ ___ _ __

| __| '__| '__/ _ \| '__|

| |__| | | | | (_) | |

\____/_| |_| \___/|_|

22:05:47: {ERROR: handleProgram:8816 Please see log

I wanted your help to help me because I do not know what to do.

Thanks, Obrigado

Att Wesley