Search found 87 matches

by rdagger
Sun Mar 03, 2019 7:57 am
Forum: Programs, Libraries and Tools
Topic: uPyMySQL
Replies: 11
Views: 2973

Re: uPyMySQL

I've only recently picked this back up and I'm really only using it for logging functionality so basic inserts myself. I have gone back and shrunk the size considerably and also worked through some more kinks including some with regards to "errno" so If you do pick up the project again make sure to...
by rdagger
Wed Feb 27, 2019 7:37 pm
Forum: Programs, Libraries and Tools
Topic: uPyMySQL
Replies: 11
Views: 2973

Re: uPyMySQL

Did you have any luck resolving this? I'm getting back into the codebase as I can't get it to fit onto my Feather Huzzah and I'd like to incorporate whatever fixes you did or work on fixing it myself. Do you have the code that you ran to get the error? I was able to get a simple insert query workin...
by rdagger
Tue Feb 19, 2019 12:57 am
Forum: Other Boards
Topic: Attached is micropython firmware for the nRF52840
Replies: 31
Views: 2065

Re: Attached is micropython firmware for the nRF52840

I figured out how to use OpenOCD to program the nRF52840-dongle using only a Raspberry Pi as the debugging interface (no need for a J-link).

I made a YouTube tutorial if anyone is interested:
https://youtu.be/R5wub5ywzTU
by rdagger
Sun Feb 10, 2019 6:35 pm
Forum: Other Boards
Topic: Attached is micropython firmware for the nRF52840
Replies: 31
Views: 2065

Re: Attached is micropython firmware for the nRF52840

dhylands wrote:
Sun Feb 10, 2019 4:07 pm
Does the REPL work over USB with the nrf52840 dongle?
Yes, I made a serial connection over USB on /dev/ttyACM0 at 115200bps. If a program is running, you need to press Ctrl-C to stop the program and then any key to enter the REPL. Ctrl-D reloads.
by rdagger
Sun Feb 10, 2019 6:53 am
Forum: Other Boards
Topic: Attached is micropython firmware for the nRF52840
Replies: 31
Views: 2065

Re: Attached is micropython firmware for the nRF52840

Not sure how but the UICR.REGOUT0 got cleared and the board became bricked at 1.8V (I did not erase all). I ended up just using a J-Link with nrfjprog to erase and re-flash. It was straight forward, but I was hoping to find an easy solution for people without J-Links. CircuitPython runs very well on...
by rdagger
Sun Feb 10, 2019 12:35 am
Forum: Other Boards
Topic: Attached is micropython firmware for the nRF52840
Replies: 31
Views: 2065

Re: Attached is micropython firmware for the nRF52840

Looking at the Insufficient Resources error, I found this: https://devzone.nordicsemi.com/f/nordic-q-a/22207/ftu-ota-failed Thanks. I was trying to replace the bootloader with the CircuitPython bootloader. I guess you can only do it with a hardware programmer. I'm trying to get OpenOCD working with...
by rdagger
Sat Feb 09, 2019 9:02 pm
Forum: Other Boards
Topic: Attached is micropython firmware for the nRF52840
Replies: 31
Views: 2065

Re: Attached is micropython firmware for the nRF52840

I've flashed the nrf52840 using DFU, but not with MicroPython. I've been working on some Zigbee software for my work project. The process I use is to create a package using nrfutil: nrfutil pkg generate --debug-mode --hw-version 52 --sd-req 0x00 --application nrf52840_xxaa.hex dfu.zip and then also...
by rdagger
Sat Feb 09, 2019 6:50 pm
Forum: Other Boards
Topic: Attached is micropython firmware for the nRF52840
Replies: 31
Views: 2065

Re: Attached is micropython firmware for the nRF52840

Has anyone been able to flash the nRF52840-dongle (PCA10059) without a J-link? Looks like it might be possible using DFU over a serial USB connection with nrfutil. I’d also be interested if anyone has been able to do it with OpenOCD using a programmer or DFU.
by rdagger
Wed Jan 02, 2019 3:38 am
Forum: Other Boards
Topic: [nRF51822/...] Complete hardware/development tutorial?
Replies: 3
Views: 432

Re: [nRF51822/...] Complete hardware/development tutorial?

The Adafruit Feather nRF52840 Express should be released soon. They will probably include a CircuitPython tutorial.
by rdagger
Tue Dec 04, 2018 2:44 am
Forum: Other Boards
Topic: [nRF52] How to get rshell to work with an nRF52?
Replies: 28
Views: 1557

Re: [nRF52] How to get rshell to work with an nRF52?

(CircuitPython dev here.) At this point its pretty different, we started with glennrub and tralamazzas nrf5 PR (https://github.com/micropython/micropython/pull/3137) into MicroPython and a bunch of work has been done on it since then including non-vendor support for USB (available outside of Circui...