Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork217
Arduino_H7_Video: handling errors at initialization time#1015
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…etry counter to avoid infinite wait on anx7625_wait_hpd_event
CLAassistant commentedJan 10, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
dmazzella commentedJan 15, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
the motivation for this pr is to be able to reboot the board in case the display (USBCVideo) does not turn on for some reason, unfortunately it often happens that after a reset (ota firmware update) of the board the display does not turn on again and a reset fixes this, the problem is that in my specific case it happens on “remote” machines and not being physically there to reset it this is a problem. // Initialize displayint display_ec = Display.begin();if (display_ec !=0) {NVIC_SystemReset(); } for copleteness i use theUSB-C to HDMI Adapter from Arduino store |
dmazzella commentedJan 17, 2025
@leonardocavagnis please take a look at it and let me know. |
leonardocavagnis left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Sounds good!
Just a small fix: theDisplay.begin() function returns0 on success or a value>0 if it fails.
0: Success
1: Unknown error
2: Insufficient drawing memory buffer
(NEW) 3: Video controller initialization failure
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Leonardo Cavagnis <45899760+leonardocavagnis@users.noreply.github.com>
d9e1757 intoarduino:mainUh oh!
There was an error while loading.Please reload this page.
iabdalkader commentedJul 8, 2025
Changes in this PR break the USB-C display for me (also see#1075 which might be related). I think the main issue is |
handling errors at initialization time with added retry counter to avoid infinite wait on anx7625_wait_hpd_event