Tool/software: Linux
Dear TI experts
SDK:ti-processor-sdk-linux-am65xx-evm-05.03.00.07
I encounter some problems when I use uart.
when I send data for 100 times from other device to the EVM board,the evm board can not receive the data correctly.
Test flow:
simply test code:
TX:on the computer
#!/bin/bash
count=100;
for((i=1;i<=$count;i++));
do
echo "0;1;3;4;6;7;8;9;a;b;c;d;e;f;10;11;12;13;14;15;16;17;18;19;1a;1b;1c;1d;1e;1f;20;21;22;23;24;25;26;27;28;29;2a;2b;2c;2d;2e;2f;30;31;32;33;34;35;36;37;38;39;3a;3b;3c;3d;3e;3f;40;41;42;43;44;45;46;47;48;49;4a;4b;4c;4d;4e;4f;50;51;52;53;54;55;56;57;58;59;5a;5b;5c;5d;5e;5f;60;61;62;63;64;65;66;67;68;69;6a;6b;6c;6d;6e;6f;70;71;72;73;74;75;76;77;78;79;7a;7b;7c;7d;7e;7f;80;81;82;83;84;85;86;87;88;89;8a;8b;8c;8d;8e;8f;90;91;92;93;94;95;96;97;98;99;9a;#a3" > /dev/ttyUSB2;
done
RX:on the EVM board
#!/bin/bash
while (true);
do
cat /dev/ttyS1 > test.txt;
done
On the EVM board,there are some call trace messages output:
[ 29.725159] random: crng init done
[ 29.728569] random: 7 urandom warning(s) missed due to ratelimiting
[ 55.935292] INFO: rcu_preempt detected stalls on CPUs/tasks:
[ 55.940969] 0-...: (1 GPs behind) idle=6e6/2/0 softirq=2767/2768 fqs=2625
[ 55.947913] (detected by 1, t=5252 jiffies, g=262, c=261, q=483)
[ 55.953999] Task dump for CPU 0:
[ 55.957219] swapper/0 R running task 0 0 0 0x00000002
[ 55.964258] Call trace:
[ 55.966713] [<ffff0000080852bc>] __switch_to+0x8c/0xd0
[ 55.971839] [< (null)>] (null)
and besides, I can not receive all the message send from other devices.there is just few data received
there are lots of data missing
could you help me check what's the reason for this problems?