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

Programming and Debugging a PCB with 52832 SoC using nRF52 DK

Hello, 

I want to program and debug a custom PCB using the nRF52832 SoC and nRF52 DK.  I plan to use this setup:

From what I understand, the GND detect will cause the PCA10040 on the DK to subvert the nRF52832 chip on the DK and program directly to the nRF52832 chip on the custom PCB.  Is this correct?  

I was also wondering how to debug using this.  Is it possible to use a terminal emulator such as putty to debug using this setup in the same way that putty would be used to debug the development kit?  Or do I need to use a different method to debug?

Thanks!

Parents
  • Hi, You can not power your board with both VDD on the DK and the power supply. So use just one of them:

     

    From what I understand, the GND detect will cause the PCA10040 on the DK to subvert the nRF52832 chip on the DK and program directly to the nRF52832 chip on the custom PCB.  Is this correct?  

     Correct

     

    Is it possible to use a terminal emulator such as putty to debug using this setup in the same way that putty would be used to debug the development kit?  Or do I need to use a different method to debug?

    You can use a terminal emulator (UART), but then you need to route the UART wire (TX) from you board to the DK (or a separate UART->USB converter).

    You can use RTT debugging instead. It uses the SWD interface you have already connected.

Reply
  • Hi, You can not power your board with both VDD on the DK and the power supply. So use just one of them:

     

    From what I understand, the GND detect will cause the PCA10040 on the DK to subvert the nRF52832 chip on the DK and program directly to the nRF52832 chip on the custom PCB.  Is this correct?  

     Correct

     

    Is it possible to use a terminal emulator such as putty to debug using this setup in the same way that putty would be used to debug the development kit?  Or do I need to use a different method to debug?

    You can use a terminal emulator (UART), but then you need to route the UART wire (TX) from you board to the DK (or a separate UART->USB converter).

    You can use RTT debugging instead. It uses the SWD interface you have already connected.

Children
Related