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

Can't program sparkfun breakout

I purchased a sparkfun breakout board (https://learn.sparkfun.com/tutorials/nrf52832-breakout-board-hookup-guide and schematic https://cdn.sparkfun.com/assets/learn_tutorials/5/4/9/sparkfun-nrf52832-breakout-schematic-v10.pdf).

I tried to hook up to my nRF52 DK for external programming as detailed in the first link (plus connecting breakout 3v3 to DK VDD for power). The power and user LEDs light up on the sparkfun. Using segger embedded studio, it seems that the download to the breakout is successful. I don't then get any RTT output, and don't see any BLE advertisements, and I can't modify the user LED state, so it seems that the program doesn't run.

I also soldered a pin header to the cortex debug connector on the breakout, and connected to the debug out on the DK, plus connecting DK VDD to breakout 3v3 again. This was exactly the same.

Am I doing something wrong? Thanks

Parents
  •  I hadn't seen that custom_board.h before, but if you look at the content it is largely the same as the one I shared, except written for an older SDK and with LEDs listed that don't exist. For anyone else reading this, I've attached an updated file.4278.sparkfun.h

    The board definitely gets programmed – the LED is constant on afterwards after successful programming, where it was flashing with the original bootloader. It's like the program is paused. Could it be waiting for some event? Perhaps I need to configure the RTC Crystal? When debugging I can pause, but I think this is pausing the nrf52832 on the DK.

Reply
  •  I hadn't seen that custom_board.h before, but if you look at the content it is largely the same as the one I shared, except written for an older SDK and with LEDs listed that don't exist. For anyone else reading this, I've attached an updated file.4278.sparkfun.h

    The board definitely gets programmed – the LED is constant on afterwards after successful programming, where it was flashing with the original bootloader. It's like the program is paused. Could it be waiting for some event? Perhaps I need to configure the RTC Crystal? When debugging I can pause, but I think this is pausing the nrf52832 on the DK.

Children
No Data
Related