Feather nRF52840 Express - right forum for Zephyr Programmin

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
HeneryH
 
Posts: 20
Joined: Sat Oct 14, 2017 12:39 pm

Feather nRF52840 Express - right forum for Zephyr Programmin

Post by HeneryH »

I have an nrf5340 DK development kit and have successfully programmed the nrf onboard with some of the basic samples such as blinky.

I am now trying to build a blinky for the Feather nRF52840 Express.

This scenario seems supported in the tech but maybe no so much in the docs.

I can fill in more once I learn the correct forum to discuss.

My project is a Bluetooth Mesh project with a mix of devices. The Feather is my first test device.

Thanks
Joe

User avatar
HeneryH
 
Posts: 20
Joined: Sat Oct 14, 2017 12:39 pm

Re: Feather nRF52840 Express - right forum for Zephyr Progra

Post by HeneryH »

While I am waiting I can tell you where I am so far.
  • My nrf5340dk is connected to my laptop with the nRF Toolchain configured.
  • I built the Blinky with the onboard nrf target, I can compile it and flash it and the LED for the on-board nrf blinks. (Yellow arrow on the image)
  • I connected my feather to the DK via the SWD cable and double-pressed the reset button to go into what I think is the boot loader mode (video)
  • I created a new configuration for Blinky using the feather target and compiled it.
  • But flashing fails with the error

Code: Select all

-- west flash: using runner nrfjprog
To fix, configure this runner in C:\Users\jjfly\ncs\v1.8.0\zephyr\boards\arm\adafruit_feather_nrf52840\board.cmake and rebuild.
FATAL ERROR: board adafruit_feather_nrf52840 does not support runner nrfjprog

Image

Video of Feather and nrf5340-DK https://youtu.be/jWNp3wKCSK0

User avatar
HeneryH
 
Posts: 20
Joined: Sat Oct 14, 2017 12:39 pm

Re: Feather nRF52840 Express - right forum for Zephyr Progra

Post by HeneryH »

I unpacked a Thingy:52 test device that I purchased with the Dev Kit and tried to burn the Blinky to that.

Image

It did work.

Now I have Blinky flashed to the nrf on-board the dev kit and also onto the Thingy:52.

Back to learning the proper way to flash the Feather Express. Maybe it can't be flashed via the SWD port.

User avatar
HeneryH
 
Posts: 20
Joined: Sat Oct 14, 2017 12:39 pm

Re: Feather nRF52840 Express - right forum for Zephyr Progra

Post by HeneryH »

Got it.

If you use the "Programmer" application that is part of the "nRF Connect for Desktop" application you can load the zephyr.hex file generated by the build process and flash it to the feather.

Image

User avatar
HeneryH
 
Posts: 20
Joined: Sat Oct 14, 2017 12:39 pm

Re: Feather nRF52840 Express - right forum for Zephyr Progra

Post by HeneryH »

Blinky success with the nRF SDK, Zephyr and three different target devices.

The onboard nRF on the DK and the Thingy:52 were programmed with a rate 10x slower than the Feather. I wanted to makes sure I was targeting the Feather properly so I changed its rate and reflashed it to make sure.

https://youtu.be/MKI7AQkTlOU

Now on to getting them programmed with practical code to detect and act on my scenario variables.

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”