VS Code Zephyr Blinky programming but not working (precomplied non Zephyr hex works)

Can someone help me with a Zephyr compiled blinky hex file please?

My Hardware is a loose standing module setup similar to NRF52833 DK. (same led_0)

NRF5 Sdk hex file works but when I follow the VS Code Startup video tutorial the device programs ok but the LED does not blink.

Only issue I saw in the terminal is attached.

What am I doing wrong? How do I fix the "boards subdirectory" issue?

Strongly starting to consider SES now but I prefer VS Code.

Parents
  • No errors now thanks.

     1373.zephyr.hex

    It seems that if I choose this board it forces the cmake argument (I removed the argument for BOARD_ROOT and after building it appears there again). I just added the correct main path and now builds without error/warning. I attached a screenshot for reference.

    However, I still have the same problem - the hex file \nRF5_SDK_17.0.2_d674dde\examples\peripheral\blinky\hex\blinky_pca10100e.hex programmed using NRF connect programmer flashes the LED but the one created by VS code does not.

    Does the device need to be programmed with something else first? Like adding a soft device at lower memory or something?

    I know I can build blinky apps correctly using VS Code - I successfully got the blinky app working on NRF5340 DK.

    Please help.

    I have attached my resulting hex file that doesnt work also.

  • Hi,

    What does your board file look like for your custom board? It might be that you are lacking some definitions for the LED there.

    Best regards,

    Marte

Reply Children
No Data
Related