**** BEGIN LOGGING AT Tue Jul 26 02:59:56 2022 Jul 26 03:00:14 but why are you calling io.close() at this point anyway? you shouldn't be accessing pruss.uart.io at all between the problem occurring and running my debug function Jul 26 03:01:09 I didn't realize close() calls flush() ... it makes sense though it's a bit annoying in this case Jul 26 03:02:15 but basically just don't use pruss.uart.io here Jul 26 03:02:52 ok Jul 26 03:16:42 ok I added the script Jul 26 03:16:49 but now watch it wont do it for a while Jul 26 03:16:54 *sigh* Jul 26 03:17:37 how is life zmatt. I always bomb you with noob questions but never really ask how you are doing Jul 26 03:17:40 things well? Jul 26 03:17:57 actually been kinda sick last few days, sore throat Jul 26 03:18:02 covid? Jul 26 03:18:24 sore throat is the calling card Jul 26 03:18:57 I garggle salt water when my throat is sore, it might be placebo but it makes me feel like something will happen Jul 26 03:19:09 also ice cream Jul 26 03:19:10 lol Jul 26 03:19:20 sore throat is pretty uncommon in covid afaik? Jul 26 03:19:21 no therapeutic benefit just taste good Jul 26 03:19:38 dry scratchy Jul 26 03:19:41 maybe not sore Jul 26 03:20:10 whatever I have doesn't seem lung-involved, it seems more like a flu or something... either way, haven't had an opportunity to get a test Jul 26 03:20:44 well otherwise I hope things are going alright for you. Just hot over here Jul 26 03:21:25 yeah it's warm here too :-/ it's fine now outside, but it was briefly excessively hot and my home still seems to have that heat absorbed Jul 26 05:59:20 regarding the UART thing - are there any level converters? those can cause similar symptoms Jul 26 09:18:42 oh right the EM100 uses actual proper rs232 or rs485... so maybe a break can indicate a broken connection after all Jul 26 16:06:09 hello Jul 26 16:06:24 I do not know why my BeagleBone ai 64 is not booting up Jul 26 16:06:38 as a standalone w/keyboard + mouse Jul 26 16:06:44 can someone help me? Jul 26 18:00:39 NicvServ IDENTIFY mattb0ne pass1234 Jul 26 18:00:45 lol Jul 26 18:00:54 whelp Jul 26 18:02:48 amazing password choice matt :P Jul 26 18:03:17 also, you can avoid accidents like that by configuring SASL authentication in your irc client, see https://libera.chat/guides/sasl Jul 26 18:48:47 lol Jul 26 18:49:10 I got two uart dumps zmatt Jul 26 18:49:17 but I am not sure how to interpret Jul 26 18:49:21 i can pastebin Jul 26 18:49:50 https://pastebin.com/WvqwtnHs Jul 26 18:50:17 that is the first one. I ran again and got a hard lock and could not wake the computer so I could not access that dump Jul 26 18:51:00 I tried a run in the morning and it worked, so no dump created and then I generated the following not more than 5 minutes later Jul 26 18:51:23 https://pastebin.com/xDiYKFG6 Jul 26 18:54:29 Unusable FIFO (16550 only) Jul 26 18:54:44 based on my googling of the LSR code Jul 26 19:08:05 mattb0ne: it shows the uart saw a single isolated break (the first line), and the EM100 continued sending data after that so it evidently didn't reset Jul 26 19:10:15 hmm the second one is different Jul 26 19:12:15 here's my interpretation of the first one: https://pastebin.com/raw/BXGeSf2U so after the break there's still one and a half intact measurement and then it just starts to overrun because my python code only manages to read one or two bytes of each EM100 measurement before it already sends the next one again Jul 26 19:15:07 the second one has significantly more garbage at the start Jul 26 19:22:31 hwo did you interpet all that using the codes? Jul 26 19:23:01 and what do you think I should do to fix Jul 26 19:23:02 it looks like either some kind of noise/interference or maybe an intermittent connection that gets jiggled by vibration or whatever Jul 26 19:23:07 ok Jul 26 19:23:14 I will check the wiring Jul 26 19:23:53 do you think it is still worth scoping Jul 26 19:24:04 probably not Jul 26 19:24:10 dunno Jul 26 19:25:04 I guess it could still be informative, an analog scope on the rs232 line might be able to tell the difference between the two options I just mentioned, if you can manage to capture the event Jul 26 19:25:30 you're using some kind of rs232 receiver right? Jul 26 19:25:35 or rs485 ? Jul 26 19:29:54 no I just go straight into the beagle Jul 26 19:29:59 ?? Jul 26 19:30:11 maybe I misread the EM100 Jul 26 19:32:02 no I didn't, it's clearly not possible to go "straight into the beagle", you would not be able to receive any data (and also almost certainly instant-fry the beaglebone) Jul 26 19:33:27 given that you *are* receiving data (and also your beaglebone isn't dead), you evidently have a suitable receiver in between the EM100 and the BBB Jul 26 19:42:13 mattb0ne: my interpretation of the second paste, with an attempt at visualizing the garbage at the start: https://pastebin.com/raw/xZBBdaHb Jul 26 19:42:43 (with two possible interpretations... I'm not 100% sure how an uart behaves when a framing error continues into a break) Jul 26 19:43:43 dotted lines indicate parts that may be longer than drawn (spaces between chars and breaks) Jul 26 19:44:43 so yeah it really does look like some random garbage pulses Jul 26 19:54:54 level shifter Jul 26 19:54:55 sorry Jul 26 19:55:22 wait Jul 26 19:55:45 let me check my amazon but I think I took a RS232 cord and just cut it Jul 26 19:56:09 so I have the EM100 going to that and the cord going into the Beagle Jul 26 19:56:18 i think it was a RS232 to TTL cord Jul 26 19:56:39 any chance I could fix this with a coding thing Jul 26 19:56:50 if i cannot find the source of the interference Jul 27 02:46:28 hey zmatt I am just going to take the uart out of my program but I need a delay to simulate reading the load cell Jul 27 02:46:40 what unit is delay_cycles Jul 27 02:47:08 I need to be 1/600 of second to mimic the load cell stream rate **** ENDING LOGGING AT Wed Jul 27 02:59:57 2022