12
mikroProg mikroProg is a fast USB programmer and debugger. Smart engineering allows mikroProg to support all PSoC® 5LP microcontroller family. for PSoC ® 5LP PSoC

mikroProg 5LP · 2016-03-25 · mikroProg™ for PSoC® is a fast programmer and hardware debugger. It’s a great tool for programming the Cypress® PSoC® 5LP microcontroller family

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: mikroProg 5LP · 2016-03-25 · mikroProg™ for PSoC® is a fast programmer and hardware debugger. It’s a great tool for programming the Cypress® PSoC® 5LP microcontroller family

mikroProgmikroProg™ is a fast USB programmer and debugger.

Smart engineering allows mikroProg™ to support all

PSoC® 5LP microcontroller family.

for PSoC®5LP™

PSoC

Page 2: mikroProg 5LP · 2016-03-25 · mikroProg™ for PSoC® is a fast programmer and hardware debugger. It’s a great tool for programming the Cypress® PSoC® 5LP microcontroller family

I want to express my thanks to you for being interested in our products and for having

confi dence in MikroElektronika.

The primary aim of our company is to design and produce high quality electronic products

and to constantly improve the performance thereof in order to better suit your needs.

The PSoC®, ARM® and Windows® logos and product names are trademarks of Cypress®, ARM® Holdings and Microsoft® in the USA. and other countries.

TO OUR VALUED CUSTOMERS

Nebojsa Matic

General Manager

Page 3: mikroProg 5LP · 2016-03-25 · mikroProg™ for PSoC® is a fast programmer and hardware debugger. It’s a great tool for programming the Cypress® PSoC® 5LP microcontroller family

Page 3

Introduction to mikroProg™ 4

Key Features 5

1. Installing Drivers and Programming Software 6

step 1 – Start installation 7

step 2 – Setup 7

step 3 – Installing the drivers 7

step 4 – Finish installation 7

2. Connecting to the Target Device 8

3. Connector Pinout 9

4. Connection schematic example 10

Table of Contents

Page 4: mikroProg 5LP · 2016-03-25 · mikroProg™ for PSoC® is a fast programmer and hardware debugger. It’s a great tool for programming the Cypress® PSoC® 5LP microcontroller family

Page 4

mikroProg™ for PSoC® is a fast programmer and hardware debugger. It’s a great tool for programming the Cypress® PSoC® 5LP

microcontroller family. Outstanding performance, easy operation, elegant design and aff ordable price are its top features.

Introduction to mikroProg™

Page 5: mikroProg 5LP · 2016-03-25 · mikroProg™ for PSoC® is a fast programmer and hardware debugger. It’s a great tool for programming the Cypress® PSoC® 5LP microcontroller family

Page 5Page 5

01

02

03

04

05

06

Flat cable

USB MINI-B connector

DATA transfer indication LED

ACTIVE indication LED

LINK indication LED

POWER indication LED

06

05

04

03

0102

Key Features

What you see

Page 6: mikroProg 5LP · 2016-03-25 · mikroProg™ for PSoC® is a fast programmer and hardware debugger. It’s a great tool for programming the Cypress® PSoC® 5LP microcontroller family

Page 6

Figure 1-1: Main Window of PSoC® programmer software

1. Installing Drivers and Programming Software

http://www.cypress.com/?rID=38050http://www.cypress.com/?rID=38050

Before you start working with mikroProg™ for PSoC®

5LP , you’ll need to download PSoC® Programmer™,

a programming application with the necessary

drivers included. Download it from Cypress’ website

(registration required):

After the installation is complete, you can connect

the programmer to your PC using the USB cable

provided in the package.

Make sure to disconnect mikroProg™ before

installing drivers. Double click on the setup fi le to

begin installation of the programming software.

Page 7: mikroProg 5LP · 2016-03-25 · mikroProg™ for PSoC® is a fast programmer and hardware debugger. It’s a great tool for programming the Cypress® PSoC® 5LP microcontroller family

Page 7

01

04

02

05

03

06

Start Installation

Accept license agreement

Setup

Installation in progress

Installation type

Finish installation

Software installation wizard

Page 8: mikroProg 5LP · 2016-03-25 · mikroProg™ for PSoC® is a fast programmer and hardware debugger. It’s a great tool for programming the Cypress® PSoC® 5LP microcontroller family

2. Connecting to the Target Device

mikroProg connects to the target device through a IDC10 JTAG connector, as shown in Figure 2-1. To ensure a proper

connection, pay attention to the IDC10 connector pinout. Every pin has a diff erent purpose, and the IDC10 connector

is marked with a small knob and incision between pins number 9 and 7, Figure 3-1.

Figure 2-1:

IDC10 JTAG

connector

Page 8

Page 9: mikroProg 5LP · 2016-03-25 · mikroProg™ for PSoC® is a fast programmer and hardware debugger. It’s a great tool for programming the Cypress® PSoC® 5LP microcontroller family

Page 9

Figure 3-1: Female connector pinout

01

03

05

07

09 10

08

06

04

02

01

03

05

07

09

VCC-3.3V - MCU power supply

GND - Ground

GND - Ground

GND - Ground

GND - Ground

3. Connector Pinout

02

04

06

08

10

SWDIO - SWD data I/O

SWDCK - SWD clock

SWO - Serial wire output

NC - Not connected

XRES - System Reset

Programming/

debugging lines

Page 10: mikroProg 5LP · 2016-03-25 · mikroProg™ for PSoC® is a fast programmer and hardware debugger. It’s a great tool for programming the Cypress® PSoC® 5LP microcontroller family

This example demonstrates connections with one of the most popular supported microcontrollers CY8C5868AXI-LP035. MCU uses

SWDIO, SWDCK, TWO and RESET lines for SWD programming.

4. Connection Schematic Example

Figure 4-1: Connection schematic for 100-pin CY8C5868AXI-LP035 MCU via 2x5 male headers

C310pF

C210pF

X2

32.768KHz

CY8C5868AXI-LP035

P2[5]1

P2[6]2

P2[7]3

P12[4]4

P12[5]5

P6[4]6

P6[5]7

P6[6]8

P6[7]9

IND11

XRES15

P5[0]16

P5[1]17

P5[2]18

P5[3]19

P1[0]20

P1[1]21

P1[2]22

P1[3]23

P1[4]24

P1[5]25

VSSB10

VBOOST12

VBAT13

VSSD14

P1[7

]28

P12[

6]29

P12[

7]30

P5[4

]31

P5[5

]32

P5[6

]33

P5[7

]34

P15[

6]35

P15[

7]36

NC

40

NC

41

P15[

0]42

P15[

1]43

P3[0

]44

P3[1

]45

P3[2

]46

P3[3

]47

P3[4

]48

P3[5

]49

VDD

IO1

26

VDD

D37

VSSD

38

VCCD

39

VDD

IO3

50

P3[6] 51P3[7] 52P12[0] 53P12[1] 54P15[2] 55P15[3] 56NC 57NC 58NC 59NC 60NC 61NC 62

P12[2] 67P12[3] 68P4[0] 69P4[1] 70P0[0] 71P0[1] 72P0[2] 73P0[3] 74

VCCA 63VSSA 64VDDA 65VSSD 66

VDDIO0 75

P0[4

]76

P0[5

]77

P0[6

]78

P0[7

]79

P4[2

]80

P4[3

]81

P4[4

]82

P4[5

]83

P4[6

]84

P4[7

]85

P6[0

]89

P6[1

]90

P6[2

]91

P6[3

]92

P15[

4]93

P15[

5]94

P2[0

]95

P2[1

]96

P2[2

]97

P2[3

]98

P2[4

]99

VCCD

86VS

SD87

VDD

D88

VDD

IO2

100

P1[6

]27

U1

VCC-3.3V

RESET#

VCCD

VCCD

VDDA

VCCA

XOSCIXOSCO

X1

16MHz

C922pF

C822pF

OSC

IO

SCO

SWO

SWDCKSWDIO

GNDA

JTAG/ SWD

SWOSWDCKSWDIO

RESET#

VCC-3.3V

1 23 45 67 89 10

CN1

VCC-3.3V

E610uF

C13100nF

C14100nF

C15100nF

C16100nF

E110uF

VCC-3.3V VCC-3.3V VCC-3.3V

VCC-3.3V VCC-3.3V

C17100nF

VCC-3.3V

C18100nF

VCC-3.3V

C121uF

VCCD

C11100nF

VCCD

C10100nF

VCCD

VCC-3.3V

VDDAFP1

C7100nF

GNDA

C61uF

GNDA

C51uF

GNDA

VCCA

C4100nF

GNDA

VCCA

Page 10

Page 11: mikroProg 5LP · 2016-03-25 · mikroProg™ for PSoC® is a fast programmer and hardware debugger. It’s a great tool for programming the Cypress® PSoC® 5LP microcontroller family

Page 11

DISCLAIMER

All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any

other copyright material. No part of this manual, including product and software described herein, may be reproduced, stored in a retrieval system, translated or

transmitted in any form or by any means, without the prior written permission of MikroElektronika. The manual PDF edition can be printed for private or local use,

but not for distribution. Any modifi cation of this manual is prohibited.

MikroElektronika provides this manual ‘as is’ without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties or

conditions of merchantability or fi tness for a particular purpose.

MikroElektronika shall assume no responsibility or liability for any errors, omissions and inaccuracies that may appear in this manual. In no event shall MikroElektronika,

its directors, offi cers, employees or distributors be liable for any indirect, specifi c, incidental or consequential damages (including damages for loss of business

profi ts and business information, business interruption or any other pecuniary loss) arising out of the use of this manual or product, even if MikroElektronika has

been advised of the possibility of such damages. MikroElektronika reserves the right to change information contained in this manual at any time without prior

notice, if necessary.

TRADEMARKS

The MikroElektronika name and logo, the MikroElektronika logo, mikroC™, mikroBasic™, mikroPascal™, mikroProg™ and mikromedia™ are trademarks of

MikroElektronika. All other trademarks mentioned herein are property of their respective companies.

All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies, and are only

used for identifi cation or explanation and to the owners’ benefi t, with no intent to infringe.

Copyright © MikroElektronika, 2014, All Rights Reserved.

HIGH RISK ACTIVITIES

The products of MikroElektronika are not fault – tolerant nor designed, manufactured or intended for use or resale as on – line control equipment in hazard-

ous environments requiring fail – safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffi c

control, direct life support machines or weapons systems in which the failure of Software could lead directly to death, personal injury or severe physical or

environmental damage (‘High Risk Activities’). MikroElektronika and its suppliers specifi cally disclaim any expressed or implied warranty of fi tness for High

Risk Activities.

Page 12: mikroProg 5LP · 2016-03-25 · mikroProg™ for PSoC® is a fast programmer and hardware debugger. It’s a great tool for programming the Cypress® PSoC® 5LP microcontroller family

If you want to learn more about our products, please visit our website at www.mikroe.com

If you are experiencing some problems with any of our products or just need additional

information, please place your ticket at www.mikroe.com/support/

If you have any questions, comments or business proposals,

do not hesitate to contact us at offi [email protected]

mikroProg for PSoC 5LP Manual ver. 1.00

0 100000 023280