- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are considering UART Bootloader with reference to AN 68272.
However, the time required for writing is long.
Therefore, I set the baud rate to 57600, but it still takes 8 minutes.
I confirmed the source code to speed up.
On line 199 in UART_BOOT.c,
"CyDelay (UART_BYTE 2 BYTE_TIME_OUT);" has a waiting time of 25 ms written.
We tried writing with this setting at 2 ms.
With this change, the writing that took 8 minutes has been shortened to about 50 seconds.
It is working without error.
Please confirm that this change is not a problem.
And do you have any material that understands why this is set to 25 ms?
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Mineda-san, Byte to Byte time out for detecting end of block data from host. This has to be set to a value which is greater than the expected maximum delay between two bytes during a block/packet transmission from the host. User needs to account for the delay in hardware converters while calculating this value, if you are using any USB-UART bridges. Regards, Geon