West flash command not work.

Hello,

We have a custom board for nRF52805. We have one LED connected to the GPIO. I wrote the FW for Blink LED every second.

I build the FW using the command "west build -b my_board -p always". it generates the zephyr.hex file. I flashed that file with various methods as follows.

  1.  Using west flash
    1. command: "west flash --reset"
    2. result: LED did not blink.
  2. Using west flash with erase
    1. command:
      1. "nrfjprog --eraseall"
      2. "west flash --reset"
    2. result: LED did not blink.
  3. Using nrfjprog command
    1. command
      1. "nrfjprog --eraseall"
      2. "nrfjprog -f nrf52 --program build\zephyr\zephyr.hex --verify --reset"
    2. result: LED blinks every second.
  4. Using nRF connect for desktop application
    1. use zephyr.hex and select "Erase&Write" options.
    2. result: LED blinks every second.

Can anyone explain why West Command is not working? how to solve this issue?

Thanks,

Dinkar Patel

Parents Reply Children
No Data
Related