title: How to flash MB1355C and/or MB1293C from the STM32WB55 Nucleo Pack on Linux?
body: <p>I would like to program the (MB1355C and/or MB1293C) devices from an <a href="https://www.st.com/content/ccc/resource/technical/document/user_manual/group1/13/58/22/1a/f2/ff/43/5c/DM00517423/files/DM00517423.pdf/jcr:content/translations/en.DM00517423.pdf" rel="nofollow noreferrer">STM32WB55 Nucleo Pack</a> on my (Ubuntu 18.04.3 LTS) machine - preferably with the convenience of an eclipse based IDE that supports debugging features.</p>
  
  <p>I installed</p>
  
  <ul>
  <li>STM32CubeProgrammer (version 2.2.1)</li>
  <li>Atolic TrueStudio (version 9.3.0)</li>
  <li>STM32CubeIDE (version 1.1.0)</li>
  </ul>
  
  <p>and I now have the following <code>udev rules</code></p>
  
  <pre><code>chandran@chandran-OptiPlex-9020:~$ ll /etc/udev/rules.d/
  total 160
  drwxr-xr-x 2 root root  4096 Dec 13 14:11  ./
  drwxr-xr-x 4 root root  4096 Dec  4 13:44  ../
  -rw-rw-r-- 1 root root   270 Oct 14 18:10  49-stlinkv1.rules
  -rw-rw-r-- 1 root root   270 Oct 14 18:10  49-stlinkv1.rules.O
  -rw-rw-r-- 1 root root   464 Oct 14 18:10  49-stlinkv2-1.rules
  -rw-rw-r-- 1 root root   464 Oct 14 18:10  49-stlinkv2-1.rules.O
  -rw-rw-r-- 1 root root   278 Oct 14 18:10  49-stlinkv2.rules
  -rw-rw-r-- 1 root root   278 Oct 14 18:10  49-stlinkv2.rules.O
  -rw-r--r-- 1 root root   458 Dec 11 17:26  49-stlinkv3loader.rules
  -rw-rw-r-- 1 root root   845 Oct 14 18:10  49-stlinkv3.rules
  -rw-rw-r-- 1 root root   845 Oct 14 18:10  49-stlinkv3.rules.O
  -rw-r--r-- 1 root root   381 Dec  6 17:10 '#61-msp430uif.rules#'
  -rw-r--r-- 1 root root   381 Dec  4 15:09  61-msp430uif.rules
  -rwxr-xr-x 1 root root  2145 Dec  4 15:09  70-mm-no-ti-emulators.rules*
  -rw-r--r-- 1 root root 58549 Dec  4 12:29  70-snap.core.rules
  -rw-r--r-- 1 root root    79 Dec  5 12:11  77-msp430-blacklist.rules
  -rw-r--r-- 1 root root     0 Dec  5 12:10  77-msp430-blacklist.rules~
  -rw-rw-r-- 1 root root 18450 Oct 14 17:33  99-jlink.rules
  -rw-rw-r-- 1 root root 18450 Oct 14 17:33  99-jlink.rules.O
  
  </code></pre>
  
  <p>I am in the dialout group</p>
  
  <pre><code>chandran@chandran-OptiPlex-9020:~$ groups chandran
  chandran : chandran adm dialout cdrom sudo dip plugdev lpadmin sambashare
  </code></pre>
  
  <p>I downloaded an example project called <code>STM32100E-EVAL_USART_IrDA_Transmit</code> and it builds successfully, but I get the following error message when I connect the evaluation board(s) and click on <code>debug</code> to flash the micro controller</p>
  
  <pre><code>ST-Link enumeration failed
  Error in initializing ST-Link device.
  Reason: (2) ST-Link DLL error.
  </code></pre>
  
  <p>I get the same error message when I try the above with STM32CubeIDE.</p>
  
  <p>I have tried shifting <code>JP1</code> as described in section 7.6 of the <a href="https://www.st.com/content/ccc/resource/technical/document/user_manual/group1/13/58/22/1a/f2/ff/43/5c/DM00517423/files/DM00517423.pdf/jcr:content/translations/en.DM00517423.pdf" rel="nofollow noreferrer">users manual</a> but to no avail. </p>
  
  <p>A <a href="https://stackoverflow.com/questions/38092674/error-in-initializing-st-link-device">previous question</a> on stack overflow deals with the same error message so I <a href="https://askubuntu.com/q/1195872/444714">got STM32CubeProgrammer to launch</a> and tried making the changes suggested by @IsaBostan, but the development boards don't seem to be detected</p>
  
  <p><a href="https://i.stack.imgur.com/2OkWO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2OkWO.png" alt="enter image description here"></a></p>
  
  <p>How can I proceed to resolve this problem and program the boards?</p>
  
  <p>Debugging ideas or suggestions are welcome, even if they haven't been tested...</p>