Search found 129 matches
- Mon Dec 03, 2018 7:30 pm
- Forum: Other Boards
- Topic: [nRF52] How to get rshell to work with an nRF52?
- Replies: 30
- Views: 18858
Re: [nRF52] How to get rshell to work with an nRF52?
I noticed Mouser now has the nRF52840-Dongle in stock for $10. I've been waiting for a supported BLE MicroPython chip. Is rshell compatible? Are prebuilt binaries available? How does the MicroPython port compare to the CircuitPython port? AFAIK, there still is no micropython release for the dongle....
- Tue Nov 06, 2018 6:04 am
- Forum: Other Boards
- Topic: [nRF52] How do I increase the amount of flash allocated to micropython's micro file system?
- Replies: 8
- Views: 6750
Re: [nRF52] How do I increase the amount of flash allocated to micropython's micro file system?
Correction: I misquoted the spec. Actually, the nRF52840 comes with 1 megabyte of flash memory, not 512K of flash.
- Mon Nov 05, 2018 10:58 pm
- Forum: Other Boards
- Topic: [nRF52] Any examples on interrupt handling for the nRF52?
- Replies: 1
- Views: 2423
[nRF52] Any examples on interrupt handling for the nRF52?
I did read the generic documentation on interrupt handling (https://docs.micropython.org/en/latest/reference/isr_rules.html), but I'm having trouble imagining how that works with the nRF52. One or more demo code examples would be helpful. I've made some further improvements to my OTA code, but to ge...
- Sat Nov 03, 2018 1:04 am
- Forum: General Discussion and Questions
- Topic: Use micropython to do dead simple "over-the-air" code updates
- Replies: 34
- Views: 25966
Re: Use micropython to do dead simple "over-the-air" code updates
Thanks! Now that we've solved that, I added your code back into the official github release: https://github.com/rabbithat/NRF52840_M ... TA_Updates
- Fri Nov 02, 2018 7:39 pm
- Forum: Other Boards
- Topic: Please could you try this code on nRF* hardware [SOLVED]
- Replies: 7
- Views: 4486
Re: Please could you try this code on nRF* hardware
Good news: that worked. However, for the benefit of other readers, I think you probably meant the mpconfigport.h file.
- Fri Nov 02, 2018 3:59 pm
- Forum: Other Boards
- Topic: Please could you try this code on nRF* hardware [SOLVED]
- Replies: 7
- Views: 4486
Re: Please could you try this code on nRF* hardware
Here's the results on an nRF52832-DK: >>> MicroPython v1.9.4-651-g0f6f86ca4-dirty on 2018-10-24; PCA10040 with NRF52832 Type "help()" for more information. >>> radioBuffer=bytearray(256) >>> mv = memoryview(radioBuffer) >>> def copyStringToRadioBuffer(s): ... l = len(s) ... mv[: l] = s.encode('utf8'...
- Fri Nov 02, 2018 1:08 pm
- Forum: Other Boards
- Topic: Please could you try this code on nRF* hardware [SOLVED]
- Replies: 7
- Views: 4486
Re: Please could you try this code on nRF* hardware
Not sure if this helps or not, but here's the result on a BBC micro:bit (which is an nRF51822): >>> radioBuffer = bytearray(256) >>> mv = memoryview(radioBuffer) Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'memoryview' is not defined >>> Is memoryview a par...
- Fri Nov 02, 2018 12:19 am
- Forum: Other Boards
- Topic: [nRF52] How do I increase the amount of flash allocated to micropython's micro file system?
- Replies: 8
- Views: 6750
Re: [nRF52] How do I increase the amount of flash allocated to micropython's micro file system?
What other file system is there that I can use?
- Thu Nov 01, 2018 11:19 pm
- Forum: Other Boards
- Topic: [nRF52] How do I increase the amount of flash allocated to micropython's micro file system?
- Replies: 8
- Views: 6750
Re: [nRF52] How do I increase the amount of flash allocated to micropython's micro file system?
Sadly, I'm now up against this limit. I'm more or less halted until it can get resolved.
Who knows how to fix it? You? Glenn Rub? Somebody else?
Who knows how to fix it? You? Glenn Rub? Somebody else?
- Thu Nov 01, 2018 5:26 pm
- Forum: General Discussion and Questions
- Topic: Use micropython to do dead simple "over-the-air" code updates
- Replies: 34
- Views: 25966
Re: Use micropython to do dead simple "over-the-air" code updates
OK, until that gets sorted, I reverted to the prior copyStringToRadioBuffer definition for the current files posted on GitHub. That way anyone downloading the files should have something that works. I also made a few upgrades: 1. Rather than running open loop and transmitting each packet 3 times, th...