OLIMEX© 2015
STM32-P405 user's manual
2. After the adjustment is done you can connect to the DfuSe software released by STM. It available for
download from STM's official web-site. Search for “STSW-STM32080”.
3. Install the software and run it.
4. Connect the board via the USB cable to the personal computer.
5. The board should now be recognized in the software. The bootloader application provided by STM32 is
a bit strange. It works only with dfu files. To upload other binary files (hex, bin, s19) you would need to
use additional converter tool (“DFU File Manager”; it converts hex, bin, s19 to dfu and vice versa). I
highly recommend you to read carefully the document about the usage of the Dfuse called “Getting
started with DfuSe USB device firmware upgrade”. Search for “UM0412”.
6. Note that once you've uploaded the software you would need to change the jumpers back to the original
position – else the bootloader would start every time and the user program (typically stored in the flash
memory) would not execute.
3.4.3 Using RS232 cable and bootloader software
The access to the serial bootloader is not implemented in STM32-P405. You can't access the bootloader of
STM32F405 via the serial interface.
3.5 Prebuilt software
Upon powering the board the PWR LEDs should turn on and the STAT LED should blink fast 10 times.
The board comes with the software which was downloaded and used during the testing of the board. This
software and its source code could not serve any purpose to the customer, who purchased the board, since
it requires additional custom hardware. That is why there is a more meaningful example available for
download at the web-page of the board. Please download and extract the following archive which
contains the recommended initial demo:
https://www.olimex.com/Products/ARM/ST/STM32-P405/resources/STM32-P405_example.zip
Note that the demo can opened and compiled out-of-the-box ONLY with IAR Embedded Workbench for
ARM. You can get a free code-size or time-limited evaluation version of IAR EW for ARM from their
official web-site (requires registration). Refer to the “readme.txt” file inside the archive for more
information.
There is also a separate CAN-specific demo available for download from this link:
https://www.olimex.com/Products/ARM/ST/STM32-P405/resources/STM32-P405-CAN-DEMO.zip
Again refer to the “README.txt” inside of the archive for more information about the demo.
Page 12 of 31