I am trying to implement a UART-bootloader which runs at 300 baud. I'tested the project with several baudrates. Down to 1200 baud it worked well, so basicly I dont find any mistake.
- ErrorCode is 0x04 -> The data is not in the proper form.
- I checked the bitlength on the Rx and Tx lines, they seems to be okay (3,3ms)...
- Buffersizes are 64 Bytes.
I'm using a CY8C5868AXI-LP035, PSoC-Creator 4.2 and the original PSoC Bootloader Host GUI.
I attached a example-project.
Please check this doc:
Can you please check whether you are able to have successful UART communication at 300bps with any simple serial port terminal application like teraterm or coolterm .
Is this issue is specific to UART bootloader only?
The basic communication at 300 baud is not a problem (RX and TX). I have tested the project with several baud rates. Down to 600 baud works well and I can program via bootloader.
It is specific with the UART bootloader and only with baud rates under 600.
I have now tried an external clock instead of the internal, this also don't work.
Which USB-UART bridge is used in your application? Could you please help me to understand your requirement for low baud rate?
Hi geon, i'm using the PSoC internal uart. This is connected via a RS485-driver and RS485-USB adapter with my PC. I also tryed out a RS232-Setup. Basic communication is not a problem.
At this moment, it seems like the Bootloader-Host GUI uses any timeouts. Maybe those are too short for the 300 baud...
Yes, it seems to be related to timeout on the bootloader host side or the bootloader component side. Hence, we would recommend to use 1200 bps in your application.
Unfortunately that is not possible. The data transfer over several kilometers must work. Therefore 300 Baud are a fixed requirement. Is there a way to change the delays in the host application without writing a completely new one? Otherwise I have to write a software myself probably...