Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52 DK Flashing app on external module

I use Adafruit Bluefruit library and developing code to run on Fanstell BT832.

Up to know i have been able to compile several examples and run it on the NRF52 DK board. I have only used their Serial DFU bootloader that work well on DK board.

Now I am trying to Flash a BT832 external module using P20 header and the connection wiring : https://devzone.nordicsemi.com/f/nordic-q-a/20536/programming-external-custom-nrf52832-board-using-nrf52-dk.

I use  nRFgo Studio and apparently successfully flash the code ( it verify successfully). 

But the application do not start on BT832.

What I am doing wrong ?

With nRF go I can only use the direct (Segger menu) method, since the DFU serial dont work it give following message:

- target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode.

How do I set DFU mode for the external module?

What I am doing wrong?

  • Hi,

    UART communication requires a USB to UART bridge between the PC and the nRF. On the DK, the interface MCU acts as USB to UART bridge, and the UART end is connected to GPIO pins 5-8 on the nRF. This is where your serial (UART) communication goes when you use the COM port for the DK on the PC.

    You can use the same bridge for the external board as well, if you connect P0.05, ..6, ..7 and ..8 to the corresponding pins for RTS, TXD, CTS and RXD on the custom board. Make sure to unprogram (erase flash on) the on-DK nRF first, for it not to meddle with the UART lines.

    Similarly, for the buttons, reset, etc., you must do that on the external board. The buttons, LEDs, etc on the DK are connected to the on-DK nRF.

    If for instance you were talking UART to the on-DK nRF, but tried to set the external board into DFU mode, then that would explain the DFU serial error message.

    Regards,
    Terje

Related