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.
Attached is micropython firmware for the nRF52840
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
I made a YouTube tutorial if anyone is interested:
https://youtu.be/R5wub5ywzTU
Re: Attached is micropython firmware for the nRF52840
Nice video! (I also use OpenOCD but with a ST Link-V2.)rdagger wrote: ↑Tue Feb 19, 2019 12:57 amI 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
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).rdagger wrote: ↑Sat Feb 09, 2019 9:02 pmI also tried nRF Connect but got the following error:dhylands wrote: ↑Sat Feb 09, 2019 7:16 pmCode: Select all
nrfutil pkg generate --debug-mode --hw-version 52 --sd-req 0x00 --application nrf52840_xxaa.hex dfu.zip
The bootloader update must be signed. The DFU operation has been cancelled.
Re: Attached is micropython firmware for the nRF52840
Hi,
Sorry to revive this thread but I was in a similar process as yours and encountered issues along the way, maybe some of you could help:
Following instructions from start of this thread, I was able to
- compile Micro Python for nRF52840,
- flash it with Soft Device to a stock dongle (signed bootloader untouched) , usb dfu update from nRF Connect
- access the MP repl
However impossible to get the flash FS to work, no matter MP version or FS type
I detailled my process and issue there
viewtopic.php?f=12&t=9274
Any hint would be welcome.
Sorry to revive this thread but I was in a similar process as yours and encountered issues along the way, maybe some of you could help:
Following instructions from start of this thread, I was able to
- compile Micro Python for nRF52840,
- flash it with Soft Device to a stock dongle (signed bootloader untouched) , usb dfu update from nRF Connect
- access the MP repl
However impossible to get the flash FS to work, no matter MP version or FS type
I detailled my process and issue there
viewtopic.php?f=12&t=9274
Any hint would be welcome.