Increase blhost download speed with FRDM-K64

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Increase blhost download speed with FRDM-K64

跳至解决方案
2,099 次查看
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

标签 (1)
0 项奖励
回复
1 解答
2,021 次查看
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 项奖励
回复
1 回复
2,022 次查看
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 项奖励
回复