Hi Linuxdev,
You don’t need to do anything to ttyS0, it will keep sending the same data as long as you don’t interfere with it. All you have to do is restart the receive program at a different baud rate. (I feel like we are speaking past each other, not to each other… Please help me understand if this doesn’t make sense.)
Please read my instructions carefully:
Start a receive to verify that it’s receiving data, then restart it at 1000000b/s and watch your OS crash. The problem doesn’t appear to have much to do with the transmit instance, it appears to be with the receive instance.
Please concentrate on the fact that ttyTHS2 must be receiving some form of data, and you must ask it for an incorrect baud rate, and then at some point your OS will crash. Supply it with some data and you’ll see the whole point to this entire post. It just so happens that if you supply it with data from ttyS0 it happens the fastest and most reliably.
If you have an FTDI USB serial converter, please use it to supply data to ttyTSH2. Here are instructions, as long as you execute them LINE FOR LINE, you should see the same things I see:
-
Install a clean, standard installation using JetPack 2.2.1
-
Connect something, (anything), that can send serial data to ttyTHS2:
-
Get ttyTHS2 to receive your data however you wish… we provided you with a good test, but if you prefer to use your own, please supply it for us to use as well. If you use ours, you can run it as such:
./sertest -v -r -d /dev/ttyTHS2 -b 1000000
You should be able to see that if you are receiving some kind of data, your system will now become unstable and likely crash at some point… THIS IS THE WHOLE PROBLEM… RECEIVING UART DATA SHOULD NOT MAKE THE SYSTEM UNSTABLE!!!
Please let me know if this really, honestly, isn’t clear for any reason.
-Mark
P.S. Please, if this doesn’t make sense, ask Dusty_NV for my personal phone number which he has, and call me at any hour of the day or night so we can talk. I really want to be done with this problem, in the worst way. :)
P.P.S. here’s my website, please see real evidence that I’ve gotten other things to work in the past and I am not a total idiot. [url]https://greypointcorp.com/[/url]