Deep Dive w/Scott: 9.0.0 CircuitPython bugs #adafruit

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



Duration: 2:19:45
935 views
18


Join Scott as he works on some 9.0.0 bugs and answers questions.

Thanks to dcd for the timecodes.

0:00 getting started
4:16 hello and welcome
8:02 getting 9.0 stablized - open issues idf v5.1 race conditions
10:20 deprecated esp-8266
12:55 review circuit python pull requests
20:30 issue 8935 lib/certificates: include ssl.com RSA cert
20:55 issue 8937 5V power control from user code
25:25 issue 8443 idf v5.1 listen/accept race condition ends up losing clients
25:30 desktop - changes to sockets - reviewing changes in git
28:27 code.py
28:45 socketpool/socket.c
31:03 raspberry socket.c - fix the return value
32:26 continue staging and commit
33:23 uncrustify (github code formatter)
35:09 sign and push the commit / pull request 8940 (fix 8443 )
36:45 restream status - checking frame rate
37:33 back to issues - ( now 15 issues open )
39:16 pulseio issue -
39:42 implementers guide - pulseio / countio
42:18 issue 8726 - pulsio PulseIn causes hard crashes
50:00 no-one used the decode line number flashing LED
51:12 copy uf2 tool
53:19 code.py not crashing
54:30 hard crash reproduced - connect J-Link
56:00 desktop view - how to reproduce crash
56:22 gdb grandcentral ...
57:29 assign bug and mark as reproducable
1:02:00 second crash - this time inside gdb
1:07:00 esp-c3 alarm question.... ( alarm module documentation to be written :-) )
1:08:44 for alarm testing NRF-PPK2 - power profiler kit-II (adafruit and digikey)
1:10:15 back to crash -
1:14:00 still crashing - see pulsio/PulseIn.c
1:16:10 blanket resets might be a concern
1:16:47 effectively reproduce the issue with writing ...
1:21:45 refcount 255 "that's not good"
1:25:30 file system is not happy either - good to backup :-)
1:26:30 looking at refcount values
1:28:10 pulsein_reset - maybe some of the code predates finalizer
1:30:00 continue historical search in github
1:32:20 Lower Power by using the Wait for Interrup (pull 2685)
1:34:10 check out shared-bindings
1:35:00 nativeio split up - 7 years ago
1:36:32 remove the reset code pulsein_reset
1:37:06 probably need to do an audit....
1:40:40 need to fix the L1 / TX pin LED
1:43:33 PulseOut has the same problem
1:44:40 maybe CP 10.0 should avoid bulk resets...
1:46:20 import storage / storage.erase_filesystem()
1:46:40 do we need to flush the filesystem before the bulk resets
1:50:00 also timer
1:56:40 still crash in reset_into_safe_mode
2:00:50 hard code breakpoint if refcount == 0
2:02:55 breakpoint - but why is it zero ?
2:03:45 another way to 'know' it is deinit'ed
2:10:02 timer in use still - why aren't we able to use it a third time?
2:14:10 tcc_refcount 255 again
2:15:55 may need to change pwmout - moving away from bulk reset good.
2:17:27 wrap up

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-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
2024-02-18Build Obsidian’s Sword from Steven Universe #adafruit
2024-02-17Deep Dive w/Scott: 9.0.0 CircuitPython bugs #adafruit
2024-02-16John Park's CircuitPython Parsec: Keypad for Buttons #adafruit #circuitpython
2024-02-16UPDI Friend is an Unusually Playful Device Interfacer
2024-02-16Make a large switch for playing back audio clips using Circuit Playground Express and #CircuitPython
2024-02-15EYE on NPI - Hirose DF40F Series Board-to-Board Connectors #EYEonNPI #digikey @DigiKey @adafruit
2024-02-15Adafruit Top Secret for February 14, 2024 #Adafruit #AdafruitTopSecret @Adafruit
2024-02-15Python on Hardware weekly video Feb 14, 2024 #CircuitPython #Python #adafruit @Adafruit @micropython
2024-02-15ASK AN ENGINEER 2/14/2024 LIVE!
2024-02-15Advanced Manufacturing: Made in NYC by Adafruit 2/14/2024
2024-02-15Build a View-Master inspired device using Adafruit PyPortal #3dprinting
2024-02-143D Hangouts – Digital Clock, Camera Bot and Blobtopus



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