Trouble Flashing to ublox ANNA-B402 on Custom Board

I have implemented a ublox ANNA-B402 on a custom board and am trying to flash code using the debug out header (P19). I am using Segger Embedded Studio and am flashing code just fine to the dev board (simple blinky code). I have VDD, SWDIO, SWCLK, SWO, and GRD connected to/from my custom board to P19:

I am seeing 3.3V at VDD on P19 and continuity between the ground on my custom board and the dev kit. I currently have SW6 positioned for DEFAULT and SW9 positioned for USB, I am powering the custom board from an external source, and have verified the ANNA is getting 3.3V. I can not establish a J-Link connection with the custom board. Any help or insight would be greatly appreciated. 

Parents Reply Children
  • I just have two more clarifying questions. Is my current setup for SW9 (USB) and SW6 (DEFAULT) correct? When you say the voltage on the DK and the external board has to match, what is the tolerance? 

  • SW6 set to default is fine.  It will use the full DK.  If you set it to nRF only then it isolates the nRF52833 SoC from the rest of the board.  This helps if you want to do testing.  If you can to nRF only then you would use the USB at the bottom of the board (nRF USB).

    SW9 specifies where VDD comes from LiPo (Battery), VDD (default), or USB (so 3V).  So yes you can use USB but you are now locking in 3V. So your external hardware needs to be powered by 3V.  

    I don't have the exact tolerance but if you set your external powered to be run off a power supply with 3V you should be good.  I would be surprised if 2.95V did not work too.

    Thanks

Related