Attached is micropython firmware for the nRF52840

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
User avatar
rdagger
Posts: 87
Joined: Tue Feb 28, 2017 6:16 pm
Contact:

Re: Attached is micropython firmware for the nRF52840

Post by rdagger » Sun Feb 10, 2019 6:35 pm

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.

User avatar
rdagger
Posts: 87
Joined: Tue Feb 28, 2017 6:16 pm
Contact:

Re: Attached is micropython firmware for the nRF52840

Post by rdagger » Tue Feb 19, 2019 12:57 am

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

User avatar
sebi
Posts: 23
Joined: Tue Mar 29, 2016 9:36 pm
Location: France

Re: Attached is micropython firmware for the nRF52840

Post by sebi » Fri Sep 13, 2019 6:28 pm

rdagger wrote:
Tue Feb 19, 2019 12:57 am
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
Nice video! (I also use OpenOCD but with a ST Link-V2.)
rdagger wrote:
Sat Feb 09, 2019 9:02 pm
dhylands wrote:
Sat Feb 09, 2019 7:16 pm

Code: Select all

nrfutil pkg generate --debug-mode --hw-version 52 --sd-req 0x00 --application nrf52840_xxaa.hex dfu.zip
I also tried nRF Connect but got the following error:
The bootloader update must be signed. The DFU operation has been cancelled.
To perform DFU update, I use `--dev-type 0x0052` (maybe similar to `--hw-version 52`??) to generate Adafruit nRF bootloader compatible packages (according to https://github.com/adafruit/Adafruit_nR ... util#usage).

Post Reply