B BogdanU Member Licensed User Longtime User Oct 22, 2025 #1 Hi, I tested the program Chat.b4j (Erel's post Nov 21, 2013). I used a USB/serial (FTDI) converter. I connected the TxD and RxD lines and ran the Chat.b4j program. The program seemed to work correctly. Another USB/serial (FTDI) converter connected to a different USB port received the signal from the first converter with errors. The logic analyzer waveforms show error bytes. Error bytes: 0xB1, 0xB2, 0xB4, 0xB7, 0xB8 generated by Chat.b4j The waveforms from the PC terminal were correct. The same errors occurred on another computer. Best regards Bogdan
Hi, I tested the program Chat.b4j (Erel's post Nov 21, 2013). I used a USB/serial (FTDI) converter. I connected the TxD and RxD lines and ran the Chat.b4j program. The program seemed to work correctly. Another USB/serial (FTDI) converter connected to a different USB port received the signal from the first converter with errors. The logic analyzer waveforms show error bytes. Error bytes: 0xB1, 0xB2, 0xB4, 0xB7, 0xB8 generated by Chat.b4j The waveforms from the PC terminal were correct. The same errors occurred on another computer. Best regards Bogdan
Solution JordiCP Oct 22, 2025 Seems like the PC (Chat.b4j) is transmitting 7 bits + even parity (7E1) , so what the logic analyzer sees is correct (total number of '1's in each byte is even). The PC terminal is configured as 8N1, so what the logic analyzer sees is also correct.
Seems like the PC (Chat.b4j) is transmitting 7 bits + even parity (7E1) , so what the logic analyzer sees is correct (total number of '1's in each byte is even). The PC terminal is configured as 8N1, so what the logic analyzer sees is also correct.
JordiCP Expert Licensed User Longtime User Oct 22, 2025 #2 Seems like the PC (Chat.b4j) is transmitting 7 bits + even parity (7E1) , so what the logic analyzer sees is correct (total number of '1's in each byte is even). The PC terminal is configured as 8N1, so what the logic analyzer sees is also correct. Upvote 0 Solution
Seems like the PC (Chat.b4j) is transmitting 7 bits + even parity (7E1) , so what the logic analyzer sees is correct (total number of '1's in each byte is even). The PC terminal is configured as 8N1, so what the logic analyzer sees is also correct.
B BogdanU Member Licensed User Longtime User Oct 23, 2025 #3 Thank you for the explanation. The default baud rate is 1200. How do I change it to something else, e.g., 9600? best regards Bogdan Upvote 0
Thank you for the explanation. The default baud rate is 1200. How do I change it to something else, e.g., 9600? best regards Bogdan
teddybear Well-Known Member Licensed User Oct 23, 2025 #4 BogdanU said: Thank you for the explanation. The default baud rate is 1200. How do I change it to something else, e.g., 9600? best regards Bogdan Click to expand... You can change it by SetParams method. Upvote 0
BogdanU said: Thank you for the explanation. The default baud rate is 1200. How do I change it to something else, e.g., 9600? best regards Bogdan Click to expand... You can change it by SetParams method.
B BogdanU Member Licensed User Longtime User Oct 24, 2025 #5 I knew the SetParams method. Unfortunately, changing the baud rate using it had no effect. This only affected the project in the attachment. I found another example on the Chat_B4j forum where SetParams worked correctly. best regards Bogdan Attachments Chat.zip Chat.zip 40.3 KB · Views: 265 Upvote 0
I knew the SetParams method. Unfortunately, changing the baud rate using it had no effect. This only affected the project in the attachment. I found another example on the Chat_B4j forum where SetParams worked correctly. best regards Bogdan