Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hello,
I'm beginner of TI product and CCS.
Recently, I bought CC1310 EVK and make some program using example codes but there are several issues.
1. UART_write() fucntion
- When I try to use UART_write() function continously, it doesn't work well
Eg)
const char prompt1[] = "prompt1 \n";
const char prompt2[] = "prompt2 \n";
const char prompt3[] = "prompt3 \n";
- using echo example and modify
//UART_read(uart, &input, 1);
//UART_write(uart, &input, 1);
UART_write(uart, prompt1, sizeof[prompt1]);
UART_write(uart, prompt2, sizeof[prompt2]);
UART_write(uart, prompt3, sizeof[prompt3]);
when I use this function, always system stopped at 2nd UART_write() function colled.
I don't know why this happles. Do I need some time interval before function call?
2. RF echo
using sample code (sample code also based on RXpacket example, TXpacket example),
(sample code link : https://e2e.ti.com/support/wireless_connectivity/proprietary_sub_1_ghz_simpliciti/f/156/t/505250 )
and modify to rf echo program, system dies around 570~585th trying.
modified operation is simple
- create 80bytes packet and send (mudule 1)
- re send received packet(module 2 - module1 - module2 - module1 - ....infinite echo)
that system stopped around 570~585th operation. I've suspect memory problem, so I reduced the packet size to 20bytes and test again.
but same problem occurs..(packet interval is 500ms)
3. output files
From CCS7, output file created "project name.out" in Debug folder.
but output file is too big to use. (around 2MB)
- Is it automatically converted to bin file when I write to the flash using flash programmer2?
- if not, can I make ***.bin file using CCS7?
I would appreciate if you could inform me suspected problems about these kind of issues so I could test.
Thank you very much. Have a merry chrismas.