Comments (6)
I have reproduced this problem. with a simplified version of your test programs on a Feather and ItsyBitsy nRF52840 I see that it's looping forever in ble_drv_add_event_handler_entry()
. I think this may be due to insufficient locking around a data structure, but need to look further.
EDIT: it was a gc problem.
from circuitpython.
The following code I am using on the other dongle to connect and activate UART:
main.zip
from circuitpython.
If you remove the PWMOut
use, does it make any difference?
Do you only have nRF52840 dongles to try, or do you also have, say, a Feather nRF52840? The latter uses external flash for CIRCUITPY.
Style note:
if x:
in this context can be used instead of if x == True:
. It is idiomatic in Python. Similarly, one would say if not x:
instead of if x==False:
.
from circuitpython.
Thanks for the style note hint, I updated my code accordingly.
Unfortunately no difference without PWMOut.
We are working with nordic dongles(PCA10059) only but we have some nordic DK (PCA10056) as well. Could it be helpful to check on them ?
from circuitpython.
We are working with nordic dongles(PCA10059) only but we have some nordic DK (PCA10056) as well. Could it be helpful to check on them ?
Yes, please try. The CircuitPython build for PCA10059 uses on-board external flash chips for CIRCUITPY. If there is some issue with the chip-internal-flash CIRCUITPY code, then that would be a clue and differentiator.
from circuitpython.
I can confirm the same behaviour on PCA10056, CP version 9.0.4 (pca10056_bootloader-0.8.3_s140_6.1.1) and without PWMOut :(
Let me know if I can help further.
from circuitpython.
Related Issues (20)
- floating point errors HOT 2
- lines drawn with bitmaptools.draw_polygon to a bitmap can partially fail to update a screen HOT 1
- Memento WiFi breaks if espcamera (or PyCamera) object is created. HOT 2
- EPaperdisplay.time_to_refresh never reaches zero
- Reading I2C bus in code.py interferes with auto-reload leaving attached displays inactive
- Some animated GIFS either delay or stop running HOT 2
- Adafruit_MIDI incompatible .mpy file HOT 2
- CircuitPython TLS version in m5stack HOT 16
- Hard Fault - Waveshare esp32s3 pico with espcamera
- Espressif ESP32-S3 DevKit-1 C boards moved NeoPixel pin on board revision HOT 2
- ESPNow fails to initialize on ESP32 C6 DevKit C1 N8 board HOT 1
- What is board_display_obj good for? HOT 3
- Add RGB666 color format for ILI9488 HOT 8
- ESP32-S3 ADC use causes crashes when WiFi in use HOT 15
- Can't run custom board build until large Build Boards CI job has run (giving cached submodules) HOT 4
- EINPROGRESS when trying to connect to wifi the first time each day HOT 2
- ESP32-S3 crashes when a client subscribes to the Notify characteristic of the AccelerationService
- Settable microcontroller.cpu.frequency on espressif builds HOT 3
- Raw HID [get_last_received_report()] broken on 9.1.0-beta.3 (Pi Pico rp2040) HOT 1
- SSLSocket: support stream protocol & select
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circuitpython.