Increase blhost download speed with FRDM-K64

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Increase blhost download speed with FRDM-K64

ソリューションへジャンプ
1,981件の閲覧回数
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 解決策
1,903件の閲覧回数
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 返信
1,904件の閲覧回数
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 件の賞賛
返信