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
已解决! 转到解答。
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------