simple program build and flash walkthrough esb_ptx

I realize that Bluetooth is the primary target of these devices these days, but I wanted to try an old tried and true example on the nrf5340. I am rather familiar with esb on the nrf52 from years of proprietary work.
I attempted to use the VSCode nrfConnect tool to create and build the project. 

- This is ubuntu Linux 22.04.3

- VScode 1.94.2


This seems like it should be straightforward until I realize this chip has two processors. I am not sure how to approach it, so I am looking to see if there is a simple nrf5340 walkthrough somewhere on the site I am not seeing.

I see there is a sysbuild.cmake file, I believe it has to do with "partitioning" (if that is the correct way to think about it) the build into something for the application processor and something for the radio processor.

I tried just a direct target on the nrf5340dk network cpu , which seemed to compile and flash properly, but I don't see anything on the serial output about zephyr booting. I tried to do a build on just the application processor target but that errors out complaining about soc and floating point abi not supported by the mpsl lib. 

What I just want is a simple, create build - select this, select that ... and it works. 
If I get that and it doesn't work on mine, then I have some more sinister problem (like something didn't install when I wanted it to)

- side note, when is someone going at add a Matter tag? 

Parents
  • I decided to go back another step, try the helloworld on the board. Everything compiles, code gets uploaded, but no "Booting nRF Connect SDK 2.7.0-... " .

    I guess something is going wrong in my configuration? I hope I don't have to futz with the device tree.

    PS
    I tried blinky, and it runs... so non serial output is working, just no console info. At least the board is working...pretty much.

Reply
  • I decided to go back another step, try the helloworld on the board. Everything compiles, code gets uploaded, but no "Booting nRF Connect SDK 2.7.0-... " .

    I guess something is going wrong in my configuration? I hope I don't have to futz with the device tree.

    PS
    I tried blinky, and it runs... so non serial output is working, just no console info. At least the board is working...pretty much.

Children
  • Ok , i did get blinky to output information, on ACM1 ... so that's good nothing magical, i was on the wrong port with that one.

    Not working with helloworld , maybe I will recreate the build and see if it magically starts to work

  • and Hello world works now 

    I decided to try esb_ptx again. That was slightly confusing because I installed it to the network MCU and the app processor was still running the hello world application. After clearing it all, nothing showed up.
    I realize that the code is using the LOG_INF() , so that might be disabled. Perhaps the network MCU can't get to the serial port or maybe there is no zephyr output for this project. 

    At least I know the board isn't bad... just this application.

Related