0% found this document useful (0 votes)
92 views3 pages

Port Trace

The document contains log messages from running the fh_loader tool to flash a firmware binary to a device connected via COM3 port. It was unable to parse the response from the target as XML and encountered errors determining the tag and packet, suggesting the target may be in SAHARA mode instead of the expected FIREHOSE mode.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
92 views3 pages

Port Trace

The document contains log messages from running the fh_loader tool to flash a firmware binary to a device connected via COM3 port. It was unable to parse the response from the target as XML and encountered errors determining the tag and packet, suggesting the target may be in SAHARA mode instead of the expected FIREHOSE mode.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

06:14:59: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS

************************************************
fh_loader --port=\\.\COM3 --sendimage=C:\Users\zahra\Downloads\Compressed\yaser
flasher FRP A16C3H\FRP A16C3H\prog_emmc_firehose_8909_ddr.mbn
************************************************

06:14:59: DEBUG: Binary build date: Oct 31 2016 @ 22:51:02

06:14:59: DEBUG: Build Version: 16.10.31.22.51.02

06:14:59: INFO: Current working dir (cwd): C:\Users\zahra\Downloads\Compressed\


WindowsApplication6\WindowsApplication6\bin\Debug\file\
06:14:59: INFO: Showing network mappings to allow debugging
06:14:59: DEBUG: New connections will be remembered.

06:14:59: DEBUG:

06:14:59: DEBUG: There are no entries in the list.

06:14:59: DEBUG:

06:14:59: DEBUG:
==================================================================================
06:14:59: DEBUG:
==================================================================================
06:14:59: INFO: Looking for file 'C:\Users\zahra\Downloads\Compressed\yaser flasher
FRP A16C3H\FRP A16C3H\prog_emmc_firehose_8909_ddr.mbn'
06:14:59: DEBUG: 2. Calling fopen('C:\Users\zahra\Downloads\Compressed\yaser
flasher FRP A16C3H\FRP A16C3H\prog_emmc_firehose_8909_ddr.mbn') with
AccessMode='rb'
06:14:59: DEBUG: Trying get filesize, calling fseek()
06:14:59: DEBUG: Found 'C:\Users\zahra\Downloads\Compressed\yaser flasher FRP
A16C3H\FRP A16C3H\prog_emmc_firehose_8909_ddr.mbn' (279968 bytes)
06:14:59: DEBUG: File size is 279968 bytes
06:14:59: DEBUG: NumSectors needed 547
06:14:59: DEBUG: 2. Calling fopen('C:\Users\zahra\Downloads\Compressed\yaser
flasher FRP A16C3H\FRP A16C3H\prog_emmc_firehose_8909_ddr.mbn') with
AccessMode='rb'
06:14:59: INFO: User wants to talk to port '\\.\COM3'
06:14:59: DEBUG: port_fd=0x14C

06:14:59: INFO: Took 0.00000000 seconds to open port


06:14:59: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others,
<patch>,<power>
06:14:59: INFO: If you don't want this, use --dontsorttags

06:14:59: INFO: Sending <configure>


06:14:59: DEBUG: CHANNEL DATA (P0000) (H00202) ( 228 bytes) - HOST TO TARGET -->
===================================================================================
========================
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<configure MemoryName="eMMC" Verbose="0" AlwaysValidate="0"
MaxDigestTableSizeInBytes="8192" MaxPayloadSizeToTargetInBytes="1048576"
ZlpAwareHost="1" SkipStorageInit="0" />
</data>

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

06:14:59: DEBUG: CharsInBuffer=0 Trying to read from USB 8192 bytes


06:14:59: DEBUG: CHANNEL DATA (64 bytes) <-- TARGET to HOST
06:14:59: DEBUG: CharsInBuffer = 64
06:14:59: DEBUG: printBuffer:5260 PRETTYPRINT Buffer is 64 bytes

06:14:59: DEBUG: printBuffer:5337 01 00 00 00 30 00 00 00 02 00 00 00 01 00 00


00 ....0...........
06:14:59: DEBUG: printBuffer:5337 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
06:14:59: DEBUG: printBuffer:5337 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
06:14:59: DEBUG: printBuffer:5337 04 00 00 00 10 00 00 00 0D 00 00 00 01 00 00
00 ................
06:14:59: DEBUG: printBuffer:5350

_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|

06:14:59: {ERROR: DetermineTag:6066 XML not formed correctly. Expected a &lt;


character at loc 0

_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|

06:14:59: {ERROR: GetNextPacket:7140 3. TAG not found or recognized

_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|

06:14:59: {ERROR: GetNextPacket:7150

There is a chance your target is in SAHARA mode!!


There is a chance your target is in SAHARA mode!!
There is a chance your target is in SAHARA mode!!

This can mean


1. You forgot to send DeviceProgrammer first (i.e. QSaharaServer.exe -s
13:prog_emmc_firehose_8994_lite.mbn)
2. OR, you did send DeviceProgrammer, but it has crashed and/or is not
correct for this target

Regardless this program speaks FIREHOSE protocol and your target is speaking SAHARA
protcol, so this will not work

You might also like