title: STM32 .hex file convert to .dup file
body: <p>I used STM32 IDE to create a .hex extension.</p>
  <p>But need convert this .hex file to .dup file(for FOTA).</p>
  <p>Previous convert tool was lost. I just have the flow like this.</p>
  <pre><code>stm32.py full fileName.hex &gt; fileName.hupg
  upgrade-gen.py hupg fileName.hupg -o fileName.dup
  </code></pre>
  <p>Does anybody know who to do or have regarding these tool?</p>
  <p>Thanks.</p>