Actions

ZL30PRGv2-1: Difference between revisions

From Kamamilabs.com - Wiki

No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__jzpdf__
__jzpdf__
 
<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. ZL30PRGv2-1 is fully compatible with the STMicroelectronics ST-Link/V2-1. It also has the function of USB-UART converter.


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.
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).
====== Wprowadzenie ======
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ę.
 
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 15: 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.


===== Wyposażenie standardowe =====
===== Standard equipment =====
<center>
<center>
{| class="wikitable"  style="width: 1000px;"
{| class="wikitable"  style="width: 1000px;"
Line 37: Line 35:
| style="text-align: center;"|<b>ZL30PRGv2-1</b>
| style="text-align: center;"|<b>ZL30PRGv2-1</b>
| style="text-align: left;"|
| style="text-align: left;"|
*Programator
*Programmer
*Kabel USB A/B-micro
*USB A/B-micro cable
|}
|}
</center>
</center>
===== Podłączenie programatora do mikrokontrolerów STM32 =====
===== Connecting the programmer to a STM32 target device =====
Sygnały SWD służące do programowania i debugowania pracy mikrokontrolerow STM32 wyprowadzono na złącze IDC20. Rozmieszczono je zgodnie ze standardem przemysłowym JTAG dla złącza 20-stykowego (rysunek poniżej), dzięki czemu programator można stosować do współpracy z dowolnymi zestawami wyposażonymi w mikrokontroler z rodziny STM32 i wyposażonymi w złącze JTAG IDC20 (m.in. ZL27ARM, ZL30ARM, STM32Butterfly – Kamami, zestawy firmy Keil/ARM itp.).
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).
 
Uwaga! Programator nie obsługuje interfejsu JTAG.
 
<center>
<center>
[[File:Zl30prgv2-1_03.JPG|none|250px|thumb|center]]
{| class="wikitable"  style="width: 800px;"
|-
! style="text-align: left;"|Note!
The programmer does not support JTAG interface!
|}
</center>
</center>
Programator ZL30PRGv2 jest zasilany ze złącza USB. Zasilanie nie jest przekazywane do programowanego/debugowanego mikrokontrolera, trzeba więc zasilać go niezależnie.


<center>
<center>
[[File:Zl30prgv2-1_04.JPG|none|700px|thumb|center]]
[[File:Zl30prgv2-1_03.JPG|none|250px|thumb|center]]
</center>
</center>
===== Dołączenie UART do programatora =====
Programator ma funkcję wirtualnego portu szeregowego. Sygnały RxD i TxD są dostępne na złączach zgodnie z poniższym obrazkiem. Otwory umieszczone z tyłu płytki umożliwiają przylutowanie listwy goldpin. Dzięki temu programator może zastąpić moduł KAmodRS.
<center>
[[File:Zl30prgv2-1_05.jpg|none|800px|thumb|center]]
</center>


<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>
</center>
<br><br>


===== 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>
 
===== User push-button =====
On KA-NUCLEO-F411CE board is placed user push-button connected to PB12 pin.
<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>
</center>


===== Multimedia =====
===== Additional information =====
That's how it was created KA-NUCLEO-F411CE board
[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><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 09:39, 24 September 2020

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