Skip to content

Create DFU file to deploy tinybooter on STM32F4

Valkyrie-MT edited this page Mar 15, 2014 · 5 revisions

After the solution build, you can create a DFU file to install your custom tinybooter.

  1. Run DFU File Manager, chose GENERATE a DFU, click [S19 or Hex...]
  2. Set the Product ID (PID) and Vendor ID (VID) to the values expected by the USB driver you are using. If you want to build a Tinybooter that is compatible with a Netduino Plus 2, use Vendor 22B1 and Product 1000. For a Cerberus compatible Tinybooter, use Vendor 1B9F and Product 0102 (or 0106 if that does not work).
  3. Select your s19 file located here: "C:\MicroFrameworkPK_v4_3\BuildOutput\THUMB2\GCC4.6\le\FLASH\release\FEZCerberus\bin\tinybooter.s19".
  4. Change target name to something relevant like "Internal Flash".
  5. Click on [Generate...] and save your DFU file.

You can now reboot your FEZCerberus in DFU mode (reset with BOOT pads connected) and deploy tinybooter with ST DFU_Tester.

Note: if your device shows up under Devices and Printers in Windows, but has a Yellow triangle with an exclamation mark, that means the driver with compatible Vendor and product could not be found. Check your drivers and the values you entered, then reflash the Tinybooter if necessary.