Hello,
I have a strange problem i have never come across before. I am attempting to send a binary file (one byte at a time for now) from my PC, through my network, into a digi device that translates that into a serial signal connected to the TMS570 Hercules development board. Almost everything works great except for when i am sending characters 17, 19, and 141. If i do not send these characters, the entire file gets sent, and received by the TMS.
I first send the TMS570 a command character which interrupts the tms570. The tms then turns off interrupts and receives the file size, goes into polling loop to grab one character at a time until the file size has been reached. However, when it receives one of the above ascii characters, the code stalls at this line:
while ((sci->FLR & SCI_RX_INT) == 0U)
{
} /* Wait */
Which obviously is supposed to stall for some cases, but in these cases i do have a character sent, so the receive buffer should be ready, and interrupts were turned off. I am sorry if this is very hard to follow, i am having a hard time explaining what is happening.
I could post some code if needed, but i wanted to see if i was blatantly missing something very stupid.