Problem bringing up a custom board (cant see board outside of bootloader mode)

I have designed a custom board for the nrf52840 and upon testing it in the nrf connect sdk (using a JLink), I can only see the board when it's in bootloader mode. When it's in normal operation, the debugger does not show it. 

Additionally, it does not appear as a USB device although I enabled USB CDC. In fact, I kept the configuration pretty much similar to the nrf52840 dongle when I defined the custom board on the nrf connect sdk.

Has anyone run into a similar issue? Are there any guidelines for how to debug such a problem?

Parents
  • Hi,

    I have designed a custom board for the nrf52840 and upon testing it in the nrf connect sdk (using a JLink), I can only see the board when it's in () mode. When it's in normal operation, the debugger does not show it. 

    If the debugger is connected, then you should always see it. Can you explain a bit both how you test, how your firmware is and how your HW is.

    Additionally, it does not appear as a USB device although I enabled USB CDC. In fact, I kept the configuration pretty much similar to the nrf52840 dongle when I defined the custom board on the nrf connect sdk.

    Difficult to say here. Bu tif you are not even able to debug, there could be a more fundamental issue. I think you need to get the basics working first.

    Could it for instance be that you have connected the debug (SWD) lines to a GPIO that you force high or low from your application? (that is just a wild guess, we need more information to make more precise suggestions).

  • Sorry for my late reply. I tried to get a GPIO to output a high but nothing is happening. I tried the same program on a dongle and it worked.

    Here is the schematic of the custom board:

    MCU_Schematic.pdf

  • Have you got debugging working? I wrote about bootloader, but please keep that out of things. No need to complicate more then necessary, so don't use a bootloader at first.

    Can you start by just trying to flash the Blinky sample and observe that it toggles the pin (you don't even need a LED on it, just check it with a logic analyzer if hat is easier). Next step is to debug. Are you able to debug? Then gradually move on.

Reply Children
Related