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

unable to program custom board using nrf52840 DK

Hi,

I know there are many threads explaining how to flash custom board using nrf52 DK but i am unable to solve my problem by reading those solutions .

I am using P20 header to connect to the debug pins of my custom board. I am powering both the boards separately. And just doing build and run in the SES to load the firmware. For now I am trying to run a sample example from nrf SDK 15.0.0 . 

Compiler shows a successful build but my custom board does not get flashed. For now i do not have a reliable source to power up my custom board with 3.3V so i am using an Arduino board to supply Vdd (3.3V), is it possible that arduino board is unable to provide sufficient current for nrf5DK to detect the custom board ?? 

I also tried using AA batteries, but no luck . Can you suggest some possible issues and troubleshooting steps . 

Thanks, 

Parents
  • You custom board uses nRF52840 chip? If not you should check flash segment (or address), softdevice version also.

    Another thing (I used to be in the same case long ago), have you set the GND of your custom board and your nRF52840 DK together?

  • Yes I have nRF52840 chip on custom board and after your response i connected the GNDs of both the boards together but it still does not work. 

    I am now providing power to my custom board using a bench power supply . But still no luck .

    I know that the antenna is not connected properly to the ANT pin of the chip. Should that matter at all while flashing the board ? 

    In nRFgo if i have only my DK powered up, i can see 2 regions, softdevice and application but if i power up my custom board also, It will give me only region 1, application. Does that give me some kind of indication that DK is able to detect my custom board ???

    What kind of issues should I be looking for around here?  I was really excited to receive my prototype boards but now i am just wasting time with no clue on how to proceed further.

    Is it possible to connect directly with an application engineer on a call or Skype so that i can solve this issue asap. 

    Thank You !

  • arshdeep said:
    In nRFgo if i have only my DK powered up, i can see 2 regions, softdevice and application but if i power up my custom board also, It will give me only region 1, application. Does that give me some kind of indication that DK is able to detect my custom board ???

     It very much sounds like when you custom board is powered, then the segger on the DK is able to read the memory on your custom board.

     

    arshdeep said:
    Is it possible to connect directly with an application engineer on a call or Skype so that i can solve this issue asap. 

     Unfortunately no, This channel of devzone does not do Skype of any other calls. if you need faster assistance, then you can always ask your Regional Sales Manager to give you more assistance or set you up with an application engineer. 

  • hi  ,
    I'm facing the similar problem. Can you guide me ? I'm flashing my Custom board which is using nrf52840 SoC using Nrf52840 DK. I'm able to flash the board but I'm unable to get logs print using printk() function also when I run debugger it goes into reset section(attaching screenshot ).
    Looking forward to hear from you soon. 


     

Reply Children
Related