Anda di halaman 1dari 35

User Manual: Toshiba-TMPM370

TOSHIBA-TMPM370

www.ngxtechnologies.com Page-1
User Manual: Toshiba-TMPM370

About NGX Technologies:

NGX Technologies is a premier supplier of development tools for the ARM7, ARM Cortex M0, M3
and M4 series of microcontrollers. NGX provides innovative and cost effective design
solutions for embedded systems. We specialize in ARM MCU portfolio, which includes ARM7,
Cortex-M0, M3 & M4 microcontrollers. Our experience with developing evaluation platforms for
NXP controller enables us to provide solutions with shortened development time thereby ensuring
reduced time to market and lower development costs for our customers. Our cost effective and
feature rich development tool offering, serves as a testimony for our expertise, cost effectiveness
and quality.

Contact Information:

NGX Technologies Pvt.Ltd.


#39/39, 'Parusha', 1st 'E' cross,
5th Main Road, Remco Layout,
Vijayanagar 2nd Stage,
Bangalore 560 040.
Phone : +91-80-40925507
email:sales@ngxtechnologies.com

www.ngxtechnologies.com Page-2
User Manual: Toshiba-TMPM370

Table of Contents

Chapter 1 : Introduction 4

Chapter 2: CoFlash Installation & Flashing Binary codes 5


2.1 Installation & Configuration of CoFlash software 5
2.2 Flashing Binary Codes in CoFlash. 8

Chapter 3 : TMPM370 Development Tool Setup 13


3.1 CMSIS-DAP and CooCox 13
3.2 Installation & Configuration of CooCox(CoIDE1.7.5)software 13
3.3 Installation & Configuration of GNU Tool Chain 19

Chapter 4 : Configuration of CMSIS-DAP Debugger and Programming 24


4.1 Configuration of CMSIS-DAP Debugger and Programming 24

Chapter 5 : Schematic & Board Layout 31


5.1 Schematic & Board Layout 31

Chapter 6 : Change History 32


6.1 Change History 32

www.ngxtechnologies.com Page-3
User Manual: Toshiba-TMPM370

Chapter 1: Introduction

The TMPM370 is an evaluation stamp board which is exploring the complete features of the new
ARM Cortex-M3 TMPM370FYFG microcontroller by Toshiba. Based on the ARM Cortex-M3 core
running at 80MHz, the new device operates from a 5.0V supply It integrates Toshibas proprietary
PMD3+ programmable motor driver technology, a vector engine (VE) 12-bit ADC functionality and a
comprehensive set of peripherals and interfaces into a single 100-pin IC.

The 12-bit ADC provides high-speed, PWM-synchronised analogue-to-digital conversion, while an


on-board comparator can be used for detecting emergency stop conditions. Other on-board features
include a regulator, a single-channel encoder, power-on-reset/low-voltage detection, a watchdog timer
and an 8-channel 16-bit timer.

TMPM370 stamp specifications

Dimensions: 63.75 mm x 49.53 mm


Two layer PCB (FR-4 material)
USB mini connector ( as power source) with power indicator
On-board linear regulators generate +3.3V/1A from power supply
Extension headers for all Micro-controller pins
One RS232 port connector
10 JTAG connector
On-board two test LED's
On-board user and reset switches

www.ngxtechnologies.com Page-4
User Manual: Toshiba-TMPM370

Chapter 2: CoFlash Installation & Flashing Binary codes

2.1:Installation & Configuration of CoFlash software

Follow the steps given below.

Step 1: Open CoFlash-1.4.6.exe setup downloaded from internet.

Step 2: When you open CoFlash-1.4.6.exe setup you will get the following window , click on 'Next'.

www.ngxtechnologies.com Page-5
User Manual: Toshiba-TMPM370

Step 3: Click on 'Next'.

Step 4: Click on 'Next'.

www.ngxtechnologies.com Page-6
User Manual: Toshiba-TMPM370

Step 5: Click on 'Install'.

Step 6: Wait till Installation complete.

www.ngxtechnologies.com Page-7
User Manual: Toshiba-TMPM370

Step 7: CoFlash-1.4.6.exe setup is completed, click on 'Finish' .

2.2: Flashing Binary Codes in CoFlash.

Follow the steps given below to check the binary codes.


Step 1: Hardware Setup
Accessaries Required:
1. Toshiba-TMPM370 stamp board.
2. CMSIS-DAP board.
3. 10 pin JTAG cable.
4. 2 USB mini cable.
5. 20 to 10 pin converter
6. 20 pin JTAG cable

www.ngxtechnologies.com Page-8
User Manual: Toshiba-TMPM370

1 2 3 4

Step 2: Hardware Connection.


Connect one end of 10-pin ribbon cable to 10-pin box header of the Toshiba-TMPM330
board and other end to the '10-Pin box header' of 20 to 10 pin converter board as shown in the
following image.
Connect one end of USB mini cable to CMSIS-DAP board and other end to computer,as
shown in the following image.

www.ngxtechnologies.com Page-9
User Manual: Toshiba-TMPM370

Step 3: Right click on 'CoFlash' and click on 'Open'.

Step 4: You will get the following window when you open CoFlash. Now click on 'config' select
'CMSIS-DAP' Adapter and select 'TMPM370FYFG' in Toshiba as shown in the following image.

www.ngxtechnologies.com Page-10
User Manual: Toshiba-TMPM370

Step 5: Now click on 'Command' and browse the binary code.

Step 6: Select BIN file and click on 'Open'. (SampleCodes click on resources to download codes).

www.ngxtechnologies.com Page-11
User Manual: Toshiba-TMPM370

Step 7: Click on Program.

Step 8: Next check for 'Program Done' and click on 'close'.

www.ngxtechnologies.com Page-12
User Manual: Toshiba-TMPM370

Step 9: Verify the output as shown in image below.

www.ngxtechnologies.com Page-13
User Manual: Toshiba-TMPM370

Chapter 3 : TMPM370 Development Tool Setup

3.1 CMSIS-DAP and CooCox

NGXs MCU evaluation platforms are not coupled tightly with any one particular combination of
IDE and debugger. The following sections will explain the setup for CooCox(CoIDE-1.7.5) and
CMSIS-DAP as the IDE and debugger respectively.

3.2 Installation & Configuration of CooCox(CoIDE-1.7.5) software

The Installation of CooCox (CoIDE-1.7.5) software is explained below:

Step 1: Open the CooCox(CoIDE-1.7.5) setup

www.ngxtechnologies.com Page-14
User Manual: Toshiba-TMPM370

Step 2: Click on Next.

www.ngxtechnologies.com Page-15
User Manual: Toshiba-TMPM370

Step 3: Click on Next.

www.ngxtechnologies.com Page-16
User Manual: Toshiba-TMPM370

Step 4: Click on Next.

www.ngxtechnologies.com Page-17
User Manual: Toshiba-TMPM370

Step 5: Click on Install.

www.ngxtechnologies.com Page-18
User Manual: Toshiba-TMPM370

Step 6: CooCox CoIDE(1.7.5) setup is completed, click on Finish .

www.ngxtechnologies.com Page-19
User Manual: Toshiba-TMPM370

3.3 Installation & Configuration of GNU Tool Chain:

step 1: Open the GNU Tools setup.

Step 2: Select English language and click on OK as shown in below image.

www.ngxtechnologies.com Page-20
User Manual: Toshiba-TMPM370

Step 3: Click on 'Yes'.

Step 4: Click on 'Next'.

Step 5: Select ' I accept the terms of the license agreement' and click on 'Next'.

www.ngxtechnologies.com Page-21
User Manual: Toshiba-TMPM370

Step 6: Click on 'Next'.

Step 7: Click on 'Next'.

www.ngxtechnologies.com Page-22
User Manual: Toshiba-TMPM370

Step 8: Wait till installation complete.

Step 9: GNU Tool setup is completed, click on Finish (Close All the Windows you get when u click
on 'Finish').

www.ngxtechnologies.com Page-23
User Manual: Toshiba-TMPM370

www.ngxtechnologies.com Page-24
User Manual: Toshiba-TMPM370

Chapter 4 : CMSIS-DAP Debugger and Programming.

4.1: Configuration of CMSIS-DAP Debugger and Programming.

The configuration flow of CMSIS-DAP Debugger is explained below:

Step 1: Hardware Setup


Accessaries Required:
1. Toshiba-TMPM370 stamp board.
2. CMSIS-DAP board.
3. 10 pin JTAG cable.
4. 2 USB mini cable.
5. 20 to 10 pin converter
6. 20 pin JTAG cable

1 2 3
4

Step 2: Hardware Connection.


Connect one end of 10-pin ribbon cable to 10-pin box header of the Toshiba-TMPM330
board and other end to the '10-Pin box header' of 20 to 10 pin converter board as shown in the
following image.
Connect one end of USB mini cable to CMSIS-DAP board and other end to computer,as
shown in the following image.

www.ngxtechnologies.com Page-25
User Manual: Toshiba-TMPM370

Step 3: Open the CooCox Led_blink project downloaded from our website (SampleCodes click on
resources to download codes).

www.ngxtechnologies.com Page-26
User Manual: Toshiba-TMPM370

Step 4: The window opens as shown in the following image when you open CooCox Led_Blinky
project. Next Right click on Led_Blinky and then select 'Configuration' as shown in the following
image. You will get a Configuration window , select the 'Device' option and Select the
'TMPM370FYFG' MCU as shown below.

Step 5 : Next click on the Debugger Option, select 'CMSIS-DAP' and 'SWD' as shown in the
following image.

www.ngxtechnologies.com Page-27
User Manual: Toshiba-TMPM370

Step 6: Next click on the ' Rebuild ' , if you have not selected the GNU tool chain you will get the
following warning as shown in the following image. Click on OK.
(NOTE : If you do not get any warning proceed to step : 12)

Step 7: Click on 'Browse'.

www.ngxtechnologies.com Page-28
User Manual: Toshiba-TMPM370

Step 8: Goto 'Local Disk (C:).

Step 9: In 'Local Disk (C:) search for 'Program Files'.

www.ngxtechnologies.com Page-29
User Manual: Toshiba-TMPM370

Step 10: In 'Program files' Check for GNU Tools ARM Embedded' , select 'bin' folder in '4.7
2012q4' click on OK as shown in the following image.

Step 11: Click on OK.

www.ngxtechnologies.com Page-30
User Manual: Toshiba-TMPM370

Step 1 2 : Next click on the Rebuild , ensure 'BUILD SUCCESSFUL' as shown in the below
image.

www.ngxtechnologies.com Page-31
User Manual: Toshiba-TMPM370

Step 1 3 : Next click on 'Download Code To Flash', ensure Flash successfull as shown in the below
image.Once the flashing is completed, reset the board to verify the blinky code.

Blinky code is verified as shown in the image below.

www.ngxtechnologies.com Page-32
User Manual: Toshiba-TMPM370

Chapter 5: Schematic & Board Layout.

5.1: Schematic & Board Layout.

Click on link given below for the details of schematic and board layout.
SchematicLink ( Click on resourses to download the schematic).

Chapter 6: Change History

6.1: Change History:


Rev Changes Date (dd/mm/yy) By
1.0 Initial release of the manual 13/05/14 Netravati C.

www.ngxtechnologies.com Page-33
User Manual: Toshiba-TMPM370

About this document: Revision History

Version: V1.0 author: Netravati C.

Company Terms & Conditions

Legal

NGX Technologies Pvt. Ltd. provides the enclosed product(s) under the following conditions:

This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT,


DEMONSTRATION, and EDUCATION OR EVALUATION PURPOSES ONLY and is not
considered by NGX Technologies Pvt. Ltd to be a finished end-product fit for general consumer use.
Persons handling the product(s) must have electronics training and observe good engineering practice
standards. As such, the goods being provided are not intended to be complete in terms of required
design-, marketing-, and/or manufacturing-related protective considerations, including product safety
and environmental measures typically found in end products that incorporate such
semiconductor components or circuit boards. This evaluation board/kit does not fall within the scope
of the European Union directives regarding electromagnetic compatibility, restricted substances
(RoHS), recycling (WEEE), FCC, CE or UL and therefore may not meet the technical requirements of
these directives or other related directives.

The user assumes all responsibility and liability for proper and safe handling of the goods. Further, the
user indemnifies NGX Technologies from all claims arising from the handling or use of the goods.
Due to the open construction of the product, it is the users responsibility to take any and all
appropriate precautions with regard to electrostatic discharge.

EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE, NEITHER PARTY
SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES.

NGX Technologies currently deals with a variety of customers for products, and therefore our
arrangement with the user is not exclusive. NGX Technologies assumes no liability for applications
assistance, customer product design, software performance, or infringement of patents or services
described herein.

Please read the Users Guide and, specifically, the Warnings and Restrictions notice in the Users
Guide prior to handling the product. This notice contains important safety information about
temperatures and voltages.

No license is granted under any patent right or other intellectual property right of NGX Technologies
covering or relating to any machine, process, or combination in which such NGX Technologies
products or services might be or are used.

www.ngxtechnologies.com Page-34
User Manual: Toshiba-TMPM370

Disclaimers

Information in this document is believed to be reliable and accurate. However, NGX Technologies
does not give any representations or warranties, expressed or implied, as to the completeness or
accuracy of such information and shall have no liability for the consequences of use of such
information. NGX Technologies reserves the right to make changes to information published in this
document, at any time and without notice, including without limitation specifications and product
descriptions. This document replaces and supersedes all information supplied prior to the publication
hereof.

Trademarks

All referenced trademarks, product names, brands and service names are the property of their
respective owners.

********** THANK YOU **********

www.ngxtechnologies.com Page-35

Anda mungkin juga menyukai