cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot flash nucleo_wb55rg using west.

SAbda
Associate

I get this error

c:\Users\sabdalla\zephyrproject\zephyrproject\zephyr>west flash

-- west flash: rebuilding

ninja: no work to do.

-- west flash: using runner pyocd

-- runners.pyocd: Flashing file: C:/Users/sabdalla/zephyrproject/zephyrproject/zephyr/build/zephyr/zephyr.hex

No connected debug probes

0007036:CRITICAL:__main__:uncaught exception:

Traceback (most recent call last):

 File "c:\python37\lib\site-packages\pyocd\__main__.py", line 338, in run

  self._COMMANDS[self._args.cmd](self)

 File "c:\python37\lib\site-packages\pyocd\__main__.py", line 468, in do_flash

  with session:

 File "c:\python37\lib\site-packages\pyocd\core\session.py", line 284, in __enter__

  assert self._probe is not None

AssertionError

ERROR: command exited with status 1: pyocd flash -e sector -a 0x8000000 -t stm32wb55rgvx C:/Users/sabdalla/zephyrproject/zephyrproject/zephyr/build/zephyr/zephyr.hex

c:\Users\sabdalla\zephyrproject\zephyrproject\zephyr>

zephyr samples/hello_world program compiles fine.

I am synched to Zephyr version: 2.0.0

0 REPLIES 0