User Tools

Site Tools




This Wiki page contains additional information for the Modtronix DEVKIT-ST1L development kit. Please feel free to register and improve this page - user contributions are greatly appreciated!

This is a base board for our STM32 NZ range of boards. It had four iMod ports, and provides a 6 pin programming and debug connector that can be connected to our PGM-NUCLEO programmer/debugger, or PGM6NC adapter board.

Pinout Diagram


Programming and Debugging

The NZ32-ST1L board mounted on this board can be programmed using the following methods:

  • Using the Modtronix PGM-NUCLEO programmer and debugger. Programming is via ST-LINK/V2-1 or Drag and drop. Additionally a USB virtual com port is provided for debugging.
  • Using the STM32 built in USB or UART bootloader.


The Modtronix PGM-NUCLEO can be connected to this board to provide programming and debugging. When plugged into the USB port of a PC, it creates the following USB interfaces:

  • ST-LINK/V2-1 Programmer and Debugger
  • A USB MSD(Mass Storage Device) drive for Drag and Drop programming
  • A USB Virtual Com Port (virtual serial port) connected to PB10 and PB11 of STM32 MCU.

The ST-LINK/V2-1 interface is used by most IDEs (CoIDE, System Workbench, TrueSTUDIO, uVision, ….) for programming and debugging STM32 MCUs. The USB MSD enables drag and drop programming. The PGM-NUCLEO also creates a Virtual com port (CDC interface) that enables communication via UART3 located on the PB10 and PB11 ports of the MCU. A standard serial terminal application (like HyperTerminal for example) can be used on the computer to connect to this victual com port.

For details, see the PGM-NUCLEO Wiki page.

USB Bootloader

The STM32 chip used on this board has a bootloader programmed into ROM, meaning it is always available! To enter bootloader mode, the “BOOT” button must be pressed down during power up or reset(toggle reset button). After this, the firmware can be upgraded by using a DFU USB programmer. To program the board via USB using the DFU programmer, the HEX or BIN file must first be converted to a DFU file. This resulting DFU file is then used to program the STM32 board.

Convert HEX or BIN file to DFU file

  • Download and install v3.0.3 of the DFU app(STSW-STM32080) IMPORTANT!!! V3.0.4 has a bug, and does not work for generating DFU files! We used V3.0.3, located here.
  • Start “DFU File Manager v3.0.3” app. Open HEX file, and click “Generate” button. This will generate a DFU file.

Program STM32 board with generated DFU file

  • Download and install DFU app (STSW-STM32080). For programming DFU to STM32 chip, we used v3.0.4! Search for “STSW-STM32080”. At time of writing this, it was located here.
  • Start “DfuSe Demonstaration” application.
  • Power up NZ32-ST1L while holding “BOOT” button down. The “DfuSeDemo” application should now show a device in “Available DFU Devices” box.
  • Click “Choose” button, and select *.dfu file. Do NOT use th “Choose” button in “Upload Action” section!
  • Click “Upgrade” button, and upgrade firmware. Do NOT use th “Upload” button in “Upload Action” section, this is to download the current firmware on the device!


This board has many solder jumpers at the bottom allowing it to be used for different applications. It is supplied with default solder jumpers, as shown in picture on right, that configure the board as follows:

  • The Vcc pin (iMod pin 15) of all iMod ports is configured for 3.3V.
  • iMod ports 1 and 2 are configured for SPI mode (pins 12,13 & 14 of all iMod ports can be configured for I2C or SPI mode)
  • iMod port 4 is configured for I2C mode (pins 12,13 & 14 of all iMod ports can be configured for I2C or SPI mode)

The schematic(pdf format) showing the default configuration can be downloaded here.


Schematic and PCB files

The schematic(pdf format) showing the default configuration can be downloaded here.

The Eagle (v6.4.0) sch and pcb can be downloaded here(you might have to right click to download):
Eagle schematic(*.sch file) and Eagle PCB(*.brd file).

PCB layers

Below are some pictures showing the top and bottom copper layers of the PCB.

Example Photos

Below are some examples of this board with different iMod modules.

products/nz/devkit-st1l.txt · Last modified: 2016/03/17 21:30 by modtronix