Deep Dive w/Scott: USB Host Debugging #adafruit

Subscribers:
458,000
Published on ● Video Link: https://www.youtube.com/watch?v=_5-9sBt3apg



Duration: 2:10:30
1,003 views
19


Join Scott as he debugs CircuitPython's USB Host support and answers questions.

0:00 getting started
3:30 initial hellos
5:30 welcome to Deep Dive w/Scott
12:42 usbhost basic keyboard test configuration issue 8885
14:39 need uart to debug some USB issues
16:03 tiny usb debug streaming on desktop
19:40 restream settings
20:13 maybe tailscale VPN is a factor in frame drops
20:50 back to issue 8885 - look on github to see what changed
23:00 suspect language ID changes
26:44 start using _get_langid() in usb/core/Device.c
33:30 more git blaming on github usb/core/Device.c
35:04 get string descriptor
23:35 looking at USB web documentation
38:00 changing MP_ARRAY_SIZE to just sizeof to just get byte systes
40:00 back to _get_langid - and rebuilding
41:00 downloading new code using UF2
45:00 USB reference URLs pushed to github
48:11 Dig into TinyUSB for the next error
51:15 back to tinyusb on github
52:20 keyboards are the only thing that CP uses by default
53:00 keyboard boot protocol when you don't have a full USB stack
57:00 add some logging to endpoint open (tuh_edpt_open())
1:06:20 still looking at the EP claiming - that's not the reason for the error
1:11:50 continue with debugging "xfer failed"
1:26:05 have to unplug / re-plug USB Host Keyboard issue 8886
1:32:20 board_init is pretty early - printf stuff might break
1:34:38 comment out the recent change - prints too early are a problem
1:42:15 asking for clarification about initialization
1:44:00 prepare a partial PR for some of the fixes
1:45:20 enhance basic_keyboard.py - busy wait
1:48:00 PyCascades and open embedded talks upcoming in April
1:54:39 streaming experiments - restream, obs
1:56:38 wrap up / goodbye
1:57:45 experiments - stop tailscale
1:59:30 restream.io
2:00:16 - stream stopped
2:01:10 increasing stream rate 6800 ?
2:03:03 OBS and restream happy

Visit the Adafruit shop online - http://www.adafruit.com

-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
-----------------------------------------




Other Videos By Adafruit Industries


2024-02-29Advanced Manufacturing: Made in NYC by Adafruit 2/28/2024
2024-02-283D Print an enclosure to fit the ItsyBitsy ESP32 with a wFL antenna #3dprinting #adafruit
2024-02-28JP’s Product Pick of the Week 2/27/24 Power BFF & NeoRGB STEMMA
2024-02-27ItsyBitsyESP32 wFL Case #circuitpython #adafruit #3dprinting
2024-02-26Hammerhead Shark Bones#3dprinting #adafruit
2024-02-26CircuitPython Weekly Meeting for February 26, 2024 @circuitpython #circuitpython #adafruit
2024-02-26BLE Cat Thermal Printer with MEMENTO #adafruit
2024-02-26The Great Search: Simple Resistor-Set Lipoly Charger Chip #TheGreatSearch #DigiKey @DigiKey
2024-02-26Desk of Ladyada - Picowbell Party is Hoppin' #DeskOfLadyada #Adafruit @Adafruit
2024-02-25Commodore PET LED Animations #adafruit #3dprinting
2024-02-24Deep Dive w/Scott: USB Host Debugging #adafruit
2024-02-23Advanced Manufacturing: Made in NYC by Adafruit 2/21/2024
2024-02-22EYE on NPI - STMicroelectronics TSC1641 Digital Power Monitor #digikey #EYEonNPI @DigiKey @ST_world
2024-02-213D Hangouts – Camera Projects and Stretch Fidgets
2024-02-21JP’s Product Pick of the Week 2/20/24 NeoPixel FeatherWing RECAP #adafruit
2024-02-21"Slide Switch JST adapters" come in handy for lots of #3DPrinting projects
2024-02-20JP’s Product Pick of the Week 2/20/24 NeoPixel FeatherWing
2024-02-19Stretch Fidget #3dprinting #timelapse #adafruit
2024-02-19The Great Search: Classic LM7805 TO-220 5V Regulator #TheGreatSearch #DigiKey @DigiKey @adafruit
2024-02-19#3DPrint protective cases for 5.25" + 3.5" Floppy Drives #adafruit
2024-02-19Desk of Ladyada - HV UPDI and I2C WDT #DeskOfLadyada #Adafruit @Adafruit



Tags:
adafruit
electronics
diy
arduino
hardware
opensource
projects
raspberry
pi
computer
raspberrypi
microcontrollers
limor
limorfried
ladyada
STEAM
STEM
python
microbit
circuitpython
neopixel
neopixels
raspberry pi
circuitplaygound
nyc
make
makers
micro:bit
adafrit
adafruit promo code
ada fruit
adafruit coupons
raspberry pi zero
micropython
machine learning
ai
tensorflow