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

Zephyr project on a custom board wont' start up after removing debugger

Hi,

I've made a customized version of the nrf_desktop desktop mouse build and I ported it to work on a custom nRF52833 board. I've been using Segger Embedded Studio to debug it with a Segger JLink Plus, and it generally works when debugging, but when I unplug the debugger and power cycle the board it seems to be just dead. Usually in my past experiences (lots of Nordic work in the past but this is my first Zephyr project) once you use SES to program a board it'll boot up and work after a power cycle, even for a debug build.

I've tried this both with the debug build and the release build.

I also tried using the J-Flash utility to erase the chip and load the zephyr.hex file directly and that doesn't work either

Is there more than one file that I need to merge together to create a programming file? Is it possible that my code is located at some higher address expecting there to be a bootloader that I'm missing? I put my .dts and other files together based on the nrf52840 gaming mouse and the nRF52180 and nRF52832 desktop mouse examples. Maybe I made a mistake somewhere.

I tried using the nRF Connect Programmer tool but it fails to program. I've seen people talking about using flash ninja and west and nrfjprog command line tools like that but I don't have any experience with those.

Any help would be greatly appreciated.

Thanks,

Glen

Related