Flashing problem using VS Code and NRF connect

Hello,

I will explain my workflow so you can understand my problem using VS code and assuming everything is installed correctly, I`m using SDK 2.7.0:

  1. Create new project > copy from existing > blink example
  2. Add build configuration > default > build configuration
  3. Command > nrf connect: build > nrf connect: erase and flash

after this procedure the program is flashed into the board successfully however, when I read the memory it shows as empty. You can also see LED 2 is a little bit dimm. This happens every time I erase the memory.

My understanding is that nothing is being flashed

Am I missing something?

Thank you for your help

Parents
  • Hi this behaviour is common when one shifts to zephyr rtos nordic SDK in vscode  

    please put this DCDC enable in your prj.conf file  

    CONFIG_BOARD_ENABLE_DCDC=n

    also disable or comment following configs if you have them on your deconfig file 
    # CONFIG_USE_SEGGER_RTT=y
    # CONFIG_LOG_BACKEND_RTT=y


    Also if your LED is dim in your custom board I feel you are not powering your custom board from 
    separate power source , which is necessary , 
    Have a great day ! 
Reply
  • Hi this behaviour is common when one shifts to zephyr rtos nordic SDK in vscode  

    please put this DCDC enable in your prj.conf file  

    CONFIG_BOARD_ENABLE_DCDC=n

    also disable or comment following configs if you have them on your deconfig file 
    # CONFIG_USE_SEGGER_RTT=y
    # CONFIG_LOG_BACKEND_RTT=y


    Also if your LED is dim in your custom board I feel you are not powering your custom board from 
    separate power source , which is necessary , 
    Have a great day ! 
Children
Related