Actions

ZL30PRGv2-1: Difference between revisions

From Kamamilabs.com - Wiki

Created page with "__jzpdf__ Nowoczesny programator-debugger z USB obsługujący interfejsy SWD (mikrokontrolery STM32). W pełni zgodny z programatorem-debuggerem ST-Link/V2-1 firmy STMicroelec..."
 
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__jzpdf__
__jzpdf__
Nowoczesny programator-debugger z USB obsługujący interfejsy SWD (mikrokontrolery STM32). W pełni zgodny z programatorem-debuggerem ST-Link/V2-1 firmy STMicroelectronics. Ma również funkcję konwertera USB-UART.
====== Wprowadzenie ======
<center>
<center>
[[File:Zl30prgv2-1_01.jpg|none|600px|thumb|center]]
[[File:Zl30prgv2-1_01.jpg|none|600px|thumb|center]]
</center>
</center>
====== Description ======
An innovate programmer--debugger with the USB interface. It supports the STM32 microcontrollers thru SWD interface. [https://kamami.pl/en/stm32-programmers/559992-zl30prgv2-1-swd-programmer-debugger-for-stm32-microcontrollers-5906623433254.html ZL30PRGv2-1] is fully compatible with the STMicroelectronics ST-Link/V2-1. It also has the function of USB-UART converter.


Interfejs ZL30PRGv2-1 jest funkcjonalnym odpowiednikiem urządzenia ST-Link/V2-1 firmy STMicroelectronics. Za jego pomocą można programować w systemie mikrokontrolery z rodziny STM32 oraz debugować ich pracę.
The programmer is working with the PC using USB interface. The ZL30PRGv2-1 is supported by popular IDE's: uVision (by Keil/ARM, for STM32), IAR Embedded Workbench (by IAR, for STM32), True Studio (by Atollic, for STM32), VX-toolset for ARM Cortex-M (by TASKING, for STM32).
 
Urządzenie współpracuje z komputerem PC poprzez interfejs USB, jest obsługiwane przez środowiska programistyczne: uVision (firmy Keil/ARM, dla STM32), IAR Embedded Workbench (firmy IAR, dla STM32), True Studio (Atollic, dla STM32), VX-toolset for ARM Cortex-M (TASKING, dla STM32).


<center>
<center>
Line 14: Line 13:
</center>
</center>


===== Podstawowe parametry =====
===== Paramters =====
*wyposażony w złącze IDC20,
*embedded IDC20 female connector,
*umożliwia programowanie i debugowanie pracy mikrokontrolerów STM32,
*allows to flash and debug STM32 microcontrollers
*w pełni zgodny z interfejsem ST-Link/V2-1 (STMicroelectronics),
*fully compatbile with the ST-Link/V2-1 (STMicroelectronics),
*współpracuje z pakietami µVision (Keil), IAR Embedded Workbench (IAR), True Studio (Atollic), VX-toolset for ARM Cortex-M (TASKING),
*it works with: µVision (Keil), IAR Embedded Workbench (IAR), True Studio (Atollic), VX-toolset for ARM Cortex-M (TASKING),
*wyposażony w gniazdo microUSB,
*embedded microUSB connector,
*funkcja konwertera USB-UART (wyprowadzenia zgodne z KAmodRS),
*an USB-UART function (with pinout compatble with KAMAMI KAmodRS),
*zasilanie z USB,
*supplied thru USB,
*możliwość uaktualniania firmware'u,
*possibility of firmware upgrade
*zakres napięć pracy układu docelowego:
*target Voltages range:
**interfejs SWD: 1,65...3,6 V,
**SWD: 1.65...3.6V,
*zakres temperatury pracy: 0...50°C.
*Working temperature range: 0...50°C.


===== Standard equipment =====
===== Standard equipment =====
Line 34: Line 33:
! style="text-align: center;"|Description
! style="text-align: center;"|Description
|-
|-
| style="text-align: center;"|<b>KA-NUCLEO-F411</b>
| style="text-align: center;"|<b>ZL30PRGv2-1</b>
| style="text-align: left;"|
| style="text-align: left;"|
*Assembled and tested module
*Programmer
*USB A/B-micro cable
|}
|}
</center>
</center>
===== Electrical schematics =====
===== Connecting the programmer to a STM32 target device =====
SWD signals for programming and debugging the STM32 targets are present on the IDC20 connector. Its pin-out is compatbile with the industrial 20-pin JTAG standard (as illustrated on the drawings below), so the programmer could work with any STM32 evaluation boards which uses IDC20 JTAG connector (ZL27ARM, ZL30ARM, STM32Butterfly – Kamami, Keil/ARM evaluation boards, etc).
<center>
<center>
{| class="wikitable"  style="width: 800px;"
{| class="wikitable"  style="width: 800px;"
|-
|-
! style="text-align: center;"|[[File:KA-NUCLEO-F411_schemat_p1.png|none|400px|thumb|center]]
! style="text-align: left;"|Note!
! style="text-align: center;"|
The programmer does not support JTAG interface!
[[File:KA-NUCLEO-F411_schemat_p2.png|none|300px|thumb|center]]
|}
|}
</center>


<center>
[[File:Zl30prgv2-1_03.JPG|none|250px|thumb|center]]
</center>
</center>


===== Microcontroller STM32F411CEU6 =====
The board based on 32-bit microcontroller STM32F411CEU6 from STMicroelectronics in UFQFPN48 package. Chip has 512kB embedded Flash memory, 128kB RAM and can be running with frequency at 100 MHz. Microcontrollers GPIO lines are available on extension pin headers with Arduino UNO standard.
<center>
<center>
{| class="wikitable"  style="width: 800px;"
{| class="wikitable"  style="width: 800px;"
|-
|-
! style="text-align: left;"|Attention!
! style="text-align: left;"|Note!
Microcontrollers pins: PA0(A0), PA4(A2), PA5(D13) and PB5(D4) don’t be a 5V tolerant pins. They shouldn’t be supply with voltage exceeding 3.3V
ZL30PRGv2-1 is powered from the USB connector. The supply voltage is not forwarded to the programmed/debugged target, so it needs to be supplied externally.
|}
|}
</center>
<br><br>
<center>
[[File:KA-NUCLEO-F411_schemat_mikrokontroler.png|none|600px|thumb|center]]
</center>
</center>


===== Power supply =====
KA-NUCLEO-F411CE board can be supply via both USB connector and external power supplier with connector 5.5 x 2.1. The board has embedded protection circuit against reverse voltage polarity.
<br>
<br>
<center>
<center>
[[File:KA-NUCLEO-F411_obrys_PCB_PWR.png|none|400px|thumb|center]]
[[File:Zl30prgv2-1_04_en.JPG|none|700px|thumb|center]]
<br><br>
[[File:KA-NUCLEO-F411_schemat_PWR.png|none|600px|thumb|center]]
</center>
</center>


===== USB communication =====
===== Interfacing UART signals to the programmer =====
On board programmer compatible with ST-Link/V2-1 make possible programming and debugging of STM32F411CEU6 microcontroller. State of programmer is signalling by the bicolour LED D3 – correct connecting of programmer to PC is signalling by constant red colour of LED, communication between programmer and microcontroller by blinking red and green LEDs and orange LED colour indicates communication error.
The programmer has a Virtual COM Port (VCOM) option. RxD and TxD signals are available on the connector (as illustrated on the photo below). The drilled pads allow to solder-in Goldpin headers. By this function, the programmer can replace the KAmodRS module.
<center>
[[File:KA-NUCLEO-F411_obrys_PCB_USB.png|none|300px|thumb|center]]
<br><br>
[[File:KA-NUCLEO-F411_schemat_USB.png|none|800px|thumb|center]]
</center>


===== User LED and RGB LED =====
KA-NUCLEO-F411CE board is equipped with two user LED – L3 LED (connected to D13 microcontrollers pin) and tricolour LED (with cathode connected to pins PB13…PB15 of microcontroller); both LEDs can be control by user program.<center>
[[File:KA-NUCLEO-F411_obrys_PCB_LED.jpg|none|300px|thumb|center]]
<br>
[[File:KA-NUCLEO-F411_schemat_LED.png|none|600px|thumb|center]]
<br>
</center>
===== USB Host connector =====
Embedded microUSB connector on KA-NUCLEO-F411CE board is with microcontroller connected. That make possible to used microcontroller as USB Full Speed device.
<br><br><br>
<center>
<center>
[[File:KA-NUCLEO-F411 obrys złącza otg.png|none|300px|thumb|center]]
[[File:Zl30prgv2-1_05.jpg|none|800px|thumb|center]]
<br><br>
[[File:KA-NUCLEO-F411_schemat_złącza_otg.png|none|300px|thumb|center]]
</center>
</center>


===== User push-button =====
===== Additional information =====
On KA-NUCLEO-F411CE board is placed user push-button connected to PB12 pin.
[https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/ Converting ST-Llink Into a J-Link]
<center>
<br><br>
[[File:KA-NUCLEO-F411_obrys_switch.png|none|300px|thumb|center]]
<br>
[[File:KA-NUCLEO-F411_schemat_switch.png|none|60px|thumb|center]]
<br>
</center>
 
===== Multimedia =====
That's how it was created KA-NUCLEO-F411CE board
<center><HTML5video type="youtube" width="560" height="315" autoplay="false">RMB5EmoDF7c</HTML5video></center>
 
===== External links =====
*[http://download.kamami.pl/p557904-KA-NUCLEO-F411-STM32_DS.pdf Datasheet of STMicroelectronics STM32F411CEU6 microcontroller]

Latest revision as of 10:23, 2 November 2024

Description

An innovate programmer--debugger with the USB interface. It supports the STM32 microcontrollers thru SWD interface. ZL30PRGv2-1 is fully compatible with the STMicroelectronics ST-Link/V2-1. It also has the function of USB-UART converter.

The programmer is working with the PC using USB interface. The ZL30PRGv2-1 is supported by popular IDE's: uVision (by Keil/ARM, for STM32), IAR Embedded Workbench (by IAR, for STM32), True Studio (by Atollic, for STM32), VX-toolset for ARM Cortex-M (by TASKING, for STM32).

Paramters
  • embedded IDC20 female connector,
  • allows to flash and debug STM32 microcontrollers
  • fully compatbile with the ST-Link/V2-1 (STMicroelectronics),
  • it works with: µVision (Keil), IAR Embedded Workbench (IAR), True Studio (Atollic), VX-toolset for ARM Cortex-M (TASKING),
  • embedded microUSB connector,
  • an USB-UART function (with pinout compatble with KAMAMI KAmodRS),
  • supplied thru USB,
  • possibility of firmware upgrade
  • target Voltages range:
    • SWD: 1.65...3.6V,
  • Working temperature range: 0...50°C.
Standard equipment
Code Description
ZL30PRGv2-1
  • Programmer
  • USB A/B-micro cable
Connecting the programmer to a STM32 target device

SWD signals for programming and debugging the STM32 targets are present on the IDC20 connector. Its pin-out is compatbile with the industrial 20-pin JTAG standard (as illustrated on the drawings below), so the programmer could work with any STM32 evaluation boards which uses IDC20 JTAG connector (ZL27ARM, ZL30ARM, STM32Butterfly – Kamami, Keil/ARM evaluation boards, etc).

Note!

The programmer does not support JTAG interface!

Note!

ZL30PRGv2-1 is powered from the USB connector. The supply voltage is not forwarded to the programmed/debugged target, so it needs to be supplied externally.

Interfacing UART signals to the programmer

The programmer has a Virtual COM Port (VCOM) option. RxD and TxD signals are available on the connector (as illustrated on the photo below). The drilled pads allow to solder-in Goldpin headers. By this function, the programmer can replace the KAmodRS module.

Additional information

Converting ST-Llink Into a J-Link