I have written interrupt based transmission and reception code. If RX_MAX_SIZE is increased to say 25, there is no issue. But if I run the code written in main(), with RX_MAX_SIZE=2 (Just testing purpose I did), things work fine as long as I send single character from the terminal. The moment I send multiple characters from the terminal, system freezes. If multiple character is sent, data may be lost, but should not hang I guess. There seems to be small bug somewhere. Could not find out the exact cause. Attached complete source files.
Joined: Fri. Aug 14, 2015
Posts: 309 View posts