Increase blhost download speed with FRDM-K64

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Increase blhost download speed with FRDM-K64

Jump to solution
1,761 Views
yash_bhatt1
Contributor III

Hi,

We are using blhost to download firmware image after initially flashing bootloader via JTAG.

We are using the default kinetis bootloader.

We are observing a transfer speed of 16.8 KB/sec.

As we are thinking of using blhost in production environment, and so want to increase the speed of flashing over USB using blhost.

The command we are firing is :

./blhost -u -- write-memory 0x28000 firmware.bin

Is it possible to optimize the time used for flashing here?

Regards

Labels (1)
0 Kudos
1 Solution
1,683 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi Yash,

Unfortunately, we do not provide an option to increase the transfer speed using USB.

However, using UART the default baud rate is  57600. As the following note implies, this is the maximum baud rate supported for this protocol.

Supported baud rates: The baud rate is closely related to the MCU core and system clock frequencies. Typical baud rates supported are 9600, 19200, 38400, and 57600. Of course, to influence the performance of autobaud detection, the clock configuration in BCA can be changed.

From  chapter 6.4UART peripheral of  MCU Bootloader v2.5.0 ReferenceManual 

 

I hope this helps,

Best regards, Diego.

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

Note: If this post answers your question, please click the Correct Answer button. Thank you!

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

View solution in original post

0 Kudos
1 Reply
1,684 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi Yash,

Unfortunately, we do not provide an option to increase the transfer speed using USB.

However, using UART the default baud rate is  57600. As the following note implies, this is the maximum baud rate supported for this protocol.

Supported baud rates: The baud rate is closely related to the MCU core and system clock frequencies. Typical baud rates supported are 9600, 19200, 38400, and 57600. Of course, to influence the performance of autobaud detection, the clock configuration in BCA can be changed.

From  chapter 6.4UART peripheral of  MCU Bootloader v2.5.0 ReferenceManual 

 

I hope this helps,

Best regards, Diego.

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

Note: If this post answers your question, please click the Correct Answer button. Thank you!

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

0 Kudos