This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Programming a custom nRF53 board.

Hi,

I just got my custom nRF5340 board and started testing it. Here's what I've done: 

  1. Connect the board with JLink v11.
  2. Erase the board with Programmer on nRF Connect Desktop.
  3. Build and flash hci_rpmsg sample to the network core with NCS sdk 1.4.2 and SES.
  4. Build and flash peripheral_hr sample to the application core with NCS sdk 1.4.2 and SES.

If I'm using nRF5340 DK, I can search for and connect the heart rate peripheral on my phone after all the steps above. However, I cannot search for the heart rate peripheral with my custom boards. 

So I started debugging the program using SES. Then I found that the breakpoints I set in the main() function were never triggered, while breakpoints in the z_cstart() function triggered successfully. Seems the CPU never execute into the main() function. Any advice for what I should do?

Thanks,

Jason.

Related