You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mynewt.apache.org by manish <ma...@gmail.com> on 2022/03/12 23:24:15 UTC
programming the net core on the nrf5340 dk
Hi,
I am trying out mynewt on the nrf5340-dk on linux.
I followed the nrf52 blinky tutorial here
https://mynewt.apache.org/latest/tutorials/blinky/nRF52.html and could
program the app core using jlinkexe and see the output.
However I am not able to figure out how to program the net core. I repeated
the above process with the net core bsp but that doesn't seem to work.
Also, can someone please explain to me how to run the bluetooth stack on
the net core and another application on the app core communicating with it.
Thanks
Manish
Re: programming the net core on the nrf5340 dk
Posted by manish <ma...@gmail.com>.
Hi Andrzej,
Ok, I understand. Yes the newt tool was from the 1.9 branch.
Regards
Manish
On Fri, Mar 18, 2022 at 3:10 AM Andrzej Kaczmarek <
andrzej.kaczmarek@codecoup.pl> wrote:
> Hi,
>
> On Thu, 17 Mar 2022 at 21:16, manish <ma...@gmail.com> wrote:
> >
> (...)
> >
> > Also, perhaps the nordic_pca10095_net bsp syscfg.yml has a bug.
> > BLE_TRANSPORT_NETCORE: 1 should be under syscfg.vals instead of
> > syscfg.defs .
>
> The definition in syscfg.yml is correct, but you'll need to use newt
> built from the latest master branch to handle it properly.
>
> Best regards,
> Andrzej
>
Re: programming the net core on the nrf5340 dk
Posted by Andrzej Kaczmarek <an...@codecoup.pl>.
Hi,
On Thu, 17 Mar 2022 at 21:16, manish <ma...@gmail.com> wrote:
>
(...)
>
> Also, perhaps the nordic_pca10095_net bsp syscfg.yml has a bug.
> BLE_TRANSPORT_NETCORE: 1 should be under syscfg.vals instead of
> syscfg.defs .
The definition in syscfg.yml is correct, but you'll need to use newt
built from the latest master branch to handle it properly.
Best regards,
Andrzej
Re: programming the net core on the nrf5340 dk
Posted by manish <ma...@gmail.com>.
Hi Szymon,
I followed the below steps
1) I switched to the latest dev master branch and did a newt upgrade.
2) Followed the wiki
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=177047756
3) syscfg value for appcore
NRF5340_EMBED_NET_CORE: 1
NET_CORE_IMAGE_TARGET_NAME: "nrf53_net_blinky"
BSP_NRF5340_NET_ENABLE: 1
4) syscfg value for net core
BOOTUTIL_OVERWRITE_ONLY: 1
5) Flash according to the above wiki in 2).
With these steps I could run both the programs on the app core and the net
core and see the led output.
Thank you for the help.
Also, perhaps the nordic_pca10095_net bsp syscfg.yml has a bug.
BLE_TRANSPORT_NETCORE: 1 should be under syscfg.vals instead of
syscfg.defs .
Regards
Manish
On Tue, Mar 15, 2022 at 3:55 PM Szymon Janc <sz...@codecoup.pl> wrote:
> Hello Manish,
>
> You can check wiki
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=177047756
>
> Note that support for nRF5340 improved a lot on master branch, I'll update
> wiki before release but current version should give you some hints anyway
> on how things work.
>
>
> On Sat, 12 Mar 2022 at 18:54, manish <ma...@gmail.com> wrote:
>
> > Hi,
> >
> > I am trying out mynewt on the nrf5340-dk on linux.
> > I followed the nrf52 blinky tutorial here
> > https://mynewt.apache.org/latest/tutorials/blinky/nRF52.html and could
> > program the app core using jlinkexe and see the output.
> >
> > However I am not able to figure out how to program the net core. I
> repeated
> > the above process with the net core bsp but that doesn't seem to work.
> >
> > Also, can someone please explain to me how to run the bluetooth stack on
> > the net core and another application on the app core communicating with
> it.
> >
> > Thanks
> > Manish
> >
>
>
> --
> pozdrawiam
> Szymon K. Janc
>
Re: programming the net core on the nrf5340 dk
Posted by Szymon Janc <sz...@codecoup.pl>.
Hello Manish,
You can check wiki
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=177047756
Note that support for nRF5340 improved a lot on master branch, I'll update
wiki before release but current version should give you some hints anyway
on how things work.
On Sat, 12 Mar 2022 at 18:54, manish <ma...@gmail.com> wrote:
> Hi,
>
> I am trying out mynewt on the nrf5340-dk on linux.
> I followed the nrf52 blinky tutorial here
> https://mynewt.apache.org/latest/tutorials/blinky/nRF52.html and could
> program the app core using jlinkexe and see the output.
>
> However I am not able to figure out how to program the net core. I repeated
> the above process with the net core bsp but that doesn't seem to work.
>
> Also, can someone please explain to me how to run the bluetooth stack on
> the net core and another application on the app core communicating with it.
>
> Thanks
> Manish
>
--
pozdrawiam
Szymon K. Janc