-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to tell if USB serial port is openend from 256rfr2 #3
Comments
@matthijskooijman How would we actually do this? This is probably firmware on the 16U2 and not a hardware change, right? |
Having a dedicated pin is the most obvious one (essentially just a DTR pin I think). Doing some magic over serial is possible, but that would require escaping and would get complicated quickly... |
You mean a dedicated line between 16U2 and 256RFR2 for hardware DTR? (sorry, long day, I'm not thinking very clearly at the moment.) |
Yes, exactly. It could refer to the DTR pin on the 16u2 directly, or perhaps a dedicated pin could be used (whose status is "port opened" instead of "DTR", the latter is controllable from the USB host side when the port is opened). |
This sets the brownout level at 2.7V (typical). Also, it disables the brownout detector during power-down, to save power. This implies a bit of extra startup time, so at the same time power-down mode is only enabled in idle mode, so we onlly need to detect a reset signal after waking up and the extra delay doesn't matter much. Closes Pinoccio#3
With the current design, there is no way to tell if the USB serial port is opened. Having this info could be useful in some circumstances (such as deciding where to send log messages).
The text was updated successfully, but these errors were encountered: