t4.1 detect reboot type

What about sending some logging data over Ethernet? I’m responding to the fact that you don’t want your laptop nearby. The same restrictions apply about sending data over a transport during an ISR. (I.e. don’t — buffer it somehow and send it in a non-ISR function.)
 
What about sending some logging data over Ethernet? I’m responding to the fact that you don’t want your laptop nearby. The same restrictions apply about sending data over a transport during an ISR. (I.e. don’t — buffer it somehow and send it in a non-ISR function.)
It's not a bad idea. USB is pretty quick, and available on my laptop. My laptop only has a wireless ethernet interface, but I could get a dongle to get wired Ethernet.

Currently my board and display are in a printed enclosure, and sealed up, (kind of) sitting on top of my lathe. A long time ago, I had everything sprawled on a bench, but can't do that anymore, too much risk of errant metal chips landing on electronics. To implement Ethernet, I'd need to install the little adapter, and print a new housing, to allow the Ethernet jack to be installed. It's doable, but...

At the moment, I don't think it's necessary. If I do a new spin of my PCB, I'd consider it. Adding new features does increase the need for logging, so I can't rule it out.
 
One of my current projects does logging over Serial, but if you connect via TCP to a specific port, it redirects stdout to the TCP connection until disconnect, at which point stdout goes back to Serial. Just some thoughts.

I also use web pages for command and control. Makes life easy on the user.

Regarding wireless, sometimes I connect the Teensy’s Ethernet to a small TPLink wireless bridge. But yea, it does require hooking up that Ethernet adapter.
 
Back
Top