We wrote some more debugging stuff in my shop yesterday and this morning.
With the aid of those new debugging routines, I have now learned that...
- The UART is working 10 times in a row at full speed, then craps out. (i.e., sees no more bytes from the input side)
- Repeatedly sending the same byte produces a predictably quasi-consistent error.
- Sending incrementing bytes (00, 01, 02, 03...) produces a weird error, but one which I think I can repeat.
- The tenth byte silence thing persists even if I give both systems (the sending and receiving) a long rest (e.g., 30 seconds).
- It appears that I never really truly receive the byte that was actually sent to the device.
With these 5 newly discovered evidence data, do I ask 5 questions ? Do I ask this as one question with all five things ?
If I add this to the original question, it's chameleon time.
If I leave out these 5 details, the expert somewhere on earth who has seen this before doesn't get the full context of the question.
If I include the five details, have I disguised 5 questions as one ? Is that chameleon bait ?
I am confident that somebody somewhere has seen and solved this before me, and Stack Overflow is exactly the place for him and me to connect for 3 minutes.
First, What's the right thing to do ? After that, What's the smart thing to do ?