Currently I am working on AVR based project. My development kit is EVK1105 and OS is FreeRTOS.
I am using two USARTs USART0 and USART1 for transmit and receive respectively. USART0 configured for 19230 baudrate, 7-databits, 1 stopbit, odd parity and USART1 configured for 57000 baudrate, 8 databit. I am trying to receive data from an external USART module and transmit it on USART1. I created tasks one RX and one TX. I used polling method to collect data on my USART0. To communicate between RX and TX tasks I use a queue. The data received on RX task is put on in the buffer and tx task will transmit the data on queue on USART1. Now can I ask is it good idea to use polling method to collect data from USART? I am not getting the expected output on my TX terminal and other tasks also become slow due to this. Can anybody suggest me how I can trace my current task? I have read through so many posts in this forum about trace facility but no-where I found a clear and to the procedure to do it. Can anybody provide a good link which is informative and gives step by step procedure to trace my tasks and callstack in freeRTOS?