Fujitsu SK-96380-120PMT User Manual

Page 1
Fujitsu Microelectronics Europe
User Guide
FMEMCU-UG-960001-15
MB96300 SERIES
EVALUATION BOARD
SK-96380-120PMT V1.0
USER GUIDE
Page 2
SK-96380-120PMT User Guide
Revision History
FMEMCU-UG-960001-15 - 2 - © Fujitsu Microelectronics Europe GmbH
Revision History
Date Issue
2006-07-04 V1.0 MWi – Initial version 2006-09-18 V1.1 PHu – misc. corrections 2006-10-19 V1.2 MWi – Jumper settings updated 2006-10-20
V1.3 MWi – External Bus Interface is not released for SK-96380-120PMT
V1.0 2006-11-27 V1.4 CSc – Socket Note added 2007-03-02 V1.5 HWe/DGo - Recycling Note added
This document contains 41 pages.
Page 3
SK-96380-120PMT User Guide
Warranty and Disclaimer
© Fujitsu Microelectronics Europe GmbH - 3 - FMEMCU-UG-960001-15
Warranty and Disclaimer
To the maximum extent permitted by applicable law, Fujitsu Microelectronics Europe GmbH restricts its warranties and its liability for the SK-96380-120PMT Board and all its deliverables (eg. software include or header files, application examples, target boards, evaluation boards, engineering samples of IC’s etc.), its performance and any consequential damages, on the use of the Product in accordance with (i) the terms of the License Agreement and the Sale and Purchase Agreement under which agreements the Product has been delivered, (ii) the technical descriptions and (iii) all accompanying written materials. In addition, to the maximum extent permitted by applicable law, F
ujitsu Microelectronics Europe GmbH disclaims all warranties and liabilities for the performance of the Product and any consequential damages in cases of unauthorised decompiling and/or reverse engineering and/or disassembling. Note, the SK-96380-120PMT Board and all its deliverables are intended and must only be used in an evaluation laboratory environment.
1. Fujitsu Microelectronics Europe GmbH warrants that the Product will perform substantially in
accordance with the accompanying written materials for a period of 90 days form the date of receipt by the customer. Concerning the hardware components of the Product, Fujitsu Microelectronics Europe GmbH warrants that the Product will be free from defects in material and workmanship under use and service as specified in the accompanying written materials for a duration of 1 year from the date of receipt by the customer.
2. Should a Product turn out to be defect, Fujitsu Microelectronics Europe GmbH´s entire liability
and the customer’s exclusive remedy shall be, at Fujitsu Microelectronics Europe GmbH´s sole discretion, either return of the purchase price and the license fee, or replacement of the Product or parts thereof, if the Product is returned to Fujitsu Microelectronics Europe GmbH in original packing and without further defects resulting from the customer’s use or the transport. However, this warranty is excluded if the defect has resulted from an accident not attributable to Fujitsu Microelectronics Europe GmbH, or abuse or misapplication attributable to the customer or any other third party not relating to Fujitsu Microelectronics Europe GmbH.
3. To the maximum extent permitted by applicable law Fujitsu Microelectronics Europe GmbH
disclaims all other warranties, whether expressed or implied, in particular, but not limited to, warranties of merchantability and fitness for a particular purpose for which the Product is not designated.
4. To the maximum extent permitted by applicable law, Fujitsu Microelectronics Europe GmbH´s
and its supplier’s liability are restricted to intention and gross negligence.
NO LIABILITY FOR CONSEQUENTIAL DAMAGES
To the maximum extent permitted by applicable law, in no event shall Fujitsu Microelectronics Europe GmbH and its suppliers be liable for any damages whatsoever (including but without limitation, consequential and/or indirect damages for personal injury, assets of substantial value, loss of profits, interruption of business operation, loss of information, or any other monetary or pecuniary loss) arising from the use of the Product.
Should one of the above stipulations be or become invalid and/or unenforceable, the remaining stipulations shall stay in full effect
Page 4
SK-96380-120PMT User Guide
Contents
FMEMCU-UG-960001-15 - 4 - © Fujitsu Microelectronics Europe GmbH
0 Contents
REVISION HISTORY............................................................................................................ 2
WARRANTY AND DISCLAIMER ......................................................................................... 3
0 CONTENTS...................................................................................................................... 4
1 OVERVIEW...................................................................................................................... 6
1.1 Abstract................................................................................................................... 6
1.2 Features.................................................................................................................. 7
1.3 General Description................................................................................................. 8
2 INSTALLATION ............................................................................................................. 10
2.1 Connection/Power-On........................................................................................... 10
2.2 Default Jumper settings for MB9638x.................................................................... 11
2.3 Jumper Location.................................................................................................... 13
2.4 Software Installation.............................................................................................. 14
3 JUMPERS AND SWITCHES.......................................................................................... 15
3.1 Operating Mode (S1)............................................................................................. 15
3.2 Power Supply (S2, JP:16, 17, 28, 22, 42).............................................................. 16
3.3 Analog Power Supply Voltage (JP: 11, 12, 13, 14) ................................................ 17
3.4 LIN / UART Connectors (X5 and X9)..................................................................... 18
3.5 CAN interfaces (X6 and X8) .................................................................................. 20
3.6 Reset Generation (JP: 32, 33, 41, 48) ................................................................... 20
3.7 User Buttons SW1, SW2, SW3, SW4, SW5, SW6 (JP: 3, 4, 5, 6, and 7)............... 22
4 CONNECTORS.............................................................................................................. 23
4.1 Power connector (X7)............................................................................................ 23
4.2 MCU pin header connectors (X1 and X2).............................................................. 23
4.3 LIN-UART connectors (X5, X9) ............................................................................. 23
4.4 CAN Connector (X6, X8) ....................................................................................... 24
4.5 USER-LEDs & optional LC-Display ....................................................................... 24
4.6 In-Circuit-Programming Connector (X4) ................................................................ 26
4.7 Alarm Comparator Connector (J2)......................................................................... 27
4.8 External Supply Voltage Vin Line (J3) ................................................................... 27
4.9 Vcc 5 Volts (J4) ..................................................................................................... 27
4.10 Vcc 3.3 Volts (J5) .................................................................................................. 27
4.11 Vcc 2.5 Volts (J9) .................................................................................................. 27
4.12 Vcc 1.8 Volts (J10) ................................................................................................ 27
4.13 LIN Bus Inhibit (J6)................................................................................................ 27
Page 5
SK-96380-120PMT User Guide
Contents
© Fujitsu Microelectronics Europe GmbH - 5 - FMEMCU-UG-960001-15
4.14 LIN Bus Inhibit (J11).............................................................................................. 27
4.15 VCC Connector (J7).............................................................................................. 27
4.16 GND Connector (J8).............................................................................................. 27
5 POTENTIOMETERS ...................................................................................................... 28
5.1 RP1....................................................................................................................... 28
5.2 RP2....................................................................................................................... 28
6 GETTING STARTED...................................................................................................... 29
6.1 Introduction to Softune Workbench ....................................................................... 29
6.2 Project Start-up ..................................................................................................... 31
7 PROGRAMMING THE INTERNAL FLASH MEMORY................................................... 34
7.1 Asynchronous Mode.............................................................................................. 34
7.2 Synchronous Mode ............................................................................................... 36
8 APPENDIX..................................................................................................................... 37
8.1 Related Products................................................................................................... 37
8.2 Information in the WWW........................................................................................ 38
8.3 Tables ................................................................................................................... 39
8.4 Figures.................................................................................................................. 40
8.5 Abbreviations ........................................................................................................ 41
Page 6
SK-96380-120PMT User Guide
Chapter 1 Overview
FMEMCU-UG-960001-15 - 6 - © Fujitsu Microelectronics Europe GmbH
1 Overview
1.1 Abstract
The SK-96380-120PMT is a multifunctional evaluation board for the Fujitsu 16FX Flash microcontroller series MB96F38x.
It can be used stand-alone for software development and testing or as a simple target board to work with the emulator system.
The board allows the designer immediately to start software development before his own final target system is available.
Page 7
SK-96380-120PMT User Guide
Chapter 1 Overview
© Fujitsu Microelectronics Europe GmbH - 7 - FMEMCU-UG-960001-15
1.2 Features
< Supports Fujitsu’s MB96387-LQFP(M21) MCU in 120-PMT package or the MB2198
Emulator System with the Probe Cable MB2198-16FX-120P-M21
< 9-15V unregulated external DC power supply
< 5V, 3.3V, 2.5V and 1.8V onboard switching mode voltage regulators
< Power-LEDs for all supply voltages
< Onboard voltage supervisor monitors three of four supply voltages
< In-Circuit serial Flash programming (UART0 or UART2)
< All resources available for evaluation
< All MCU pins routed to connectors
< 4 MHz main crystal
< 32 kHz crystal for sub clock operation
< 2 RS232- or LIN interfaces and 2 CAN interfaces are usable simultaneously
< 3 V capable CAN, LIN, and RS232 transceivers
< 8 User LEDs, optional: alphanumeric standard LC-Display connectable instead of LEDs
< Reset button, Reset LED
< 5 User buttons
This board must only be used for test applications
in an evaluation laboratory environment.
Page 8
SK-96380-120PMT User Guide
Chapter 1 Overview
FMEMCU-UG-960001-15 - 8 - © Fujitsu Microelectronics Europe GmbH
1.3 General Description
The SK-96380-120PMT supports the 16-bit Flash microcontroller MB96F387-LQFP(M21) of the F
2
MC-16FX Series.
It can be used as a stand-alone evaluation board or as a target board for the emulator debugger.
The evaluation board supports the following package: LQFP120-M21.
1.3.1 MCU Clocks
The board is supplied with a socketed 4 MHz crystal as main oscillation source. Using the internal PLL of the JC, internal clock rates up to 56 MHz can be achieved.
1.3.2 RS-232 and LIN
Two separate RS232 transceivers and two single-wire LIN-transceivers (TLE7259) are available to connect two out of three on-chip UARTs to 9-pin D-Sub connectors (X5, X9). The transceivers generate the adequate RS232 levels for the receive (RXD) and transmit (TXD) and LIN bus lines. In RS232 mode, either the DTR line or the RTS line can be selected with jumpers (JP23 and JP38) to generate a system reset. The RTS signal can be shortcut to CTS using the jumpers JP19 and JP36. Each of the four D-Sub connectors can be configured as RS232 or LIN. The LIN Vs line can be powered by the unregulated supply input of the board, so no additional supply is needed (JP28 and JP42).
All transceivers are fully 3.3V IO compatible to enable low voltage applications.
In-circuit programming (asynchronous) can be done via LIN-UART 0 and 2 (X5, X9).
1.3.3 CAN Bus
Two high-speed CAN transceivers (TLE6250GV33) can be connected to the CAN interfaces of the MCU to allow easy connection to CAN networks.
All transceivers are fully 3.3V IO compatible to enable low voltage applications.
1.3.4 MCU Pins
All pins of the microcontroller except the oscillator pins X0/1(A) are connected to edge connectors and are directly available to the user.
1.3.5 Power Supply
The on-board switching mode voltage regulators allow the user to connect an unregulated DC input voltage of +9V to +15V, and supplies all voltages needed by the board and an optional graphic sub-board. The regulators are rated with 3A (5V and 3.3V) resp. 1.5A (2.5V,
1.8V) and are thermally protected against overload.
1.3.6 User Buttons
There are six push button switches on the board, which can be connected to input ports of the microcontroller. This allows the user to evaluate external Interrupts, external timer trigger or Input Capture functions as well as simple input polling. One button is reserved as ‘Reset’­button for the microcontroller, controlled by the supply monitor IC.
1.3.7 User LEDs and optional LCD
Eight user LEDs are connected to Port 09 and grounded by two 1k resistor networks (RN1, RN2). If these LEDs are not required, these resistor networks can be removed to disconnect the LEDs and to free the I/O port.
Page 9
SK-96380-120PMT User Guide
Chapter 1 Overview
© Fujitsu Microelectronics Europe GmbH - 9 - FMEMCU-UG-960001-15
1.3.8 I2C Bus
Additional 10 k Ohms pull-up resistors can be connected to the I²C bus lines by setting the according Jumpers. JP9 is for SDA0 and JP10 for SCL0.
1.3.9 Emulator System
If the board is used as an emulator target board, the microcontroller must be removed from the socket and the corresponding probe cable has to be mounted:
Table 1-1: Emulation System
Series V-Chip Probe cable Socket
MB96380 MB96V300
MB2198-16FX-120P-M21 NQPack120SD
Page 10
SK-96380-120PMT User Guide
Chapter 2 Installation
FMEMCU-UG-960001-15 - 10 - © Fujitsu Microelectronics Europe GmbH
2 Installation
2.1 Connection/Power-On
Carefully remove the board from the shipping carton.
First, check if there are any damages before powering up the evaluation board.
For the power supply a DC input voltage of 9V – 15V is recommended. The positive voltage (+) must be connected to the shield, and ground (GND) must be connected to the center pin of the connector X7!
Special care must be taken to the max. input voltage, if the LIN Vs lines are supplied by the board (JP28 and JP42), since the input supply voltage is directly applied to pin 1 of X5 and X9 without a voltage regulator.
After power-on (Switch S2 or JP22), the red power-on LEDs (LD9, LD10, LD11, and LD12) should be lit. If the LEDs do not light up, switch off the power supply and check input polarity and current capability of the DC supply used. Please do not look directly into the LEDs to prevent harming your eyes.
The in-circuit programming allows the user to program own applications into the Flash memory. The procedures for Flash programming are described in chapter 7.
If the board shall be used as an emulator target board, switch off the power supply and remove the microcontroller from the socket. Now the probe cable can be mounted on the socket. Take care of the pin 1 marking on the socket and fasten the probe cable with the provided screws.
Do not use any other probe cable than MB2198-16FX-120P-M21 only!
Connect the probe cable to the MB2198-500 emulation Adapter Board. Check all jumper settings of the evaluation board, the Probe Cable, and the Adapter Board.
When turning on the system, be sure to use the following power-up sequence:
1. Power up the Emulator Main Unit (MB2198-01)
2. Power up the Adapter Board (MB2198-500), if needed
3. Power up the target Board (SK-96380-120PMT)
To turn off the system, switch off the components in reverse order, beginning with the target Board.
Please refer to the corresponding user manuals and application notes for the emulator how to set up the emulator system. After power on the ‘UVCC’-LED of the emulator must be on.
Note:
Some customers experience connectivity problems when connecting the MCU into the socket adapter. Only the small red screwdriver available in your box should be used to connect the cover (HQPACK) onto the socket (NQPACK).
If the four screws are not tightening equally, then it may cause a poor contact.
Do not screw the cover too tight (max 0.054 Nm). If you have connectivity problems then please loosen the screws and tighten again the screws equally.
Do not clean NQPACK, YQPACK, and YQSOCKET with steam. Cleaning material will contaminate inside of connector.
Page 11
SK-96380-120PMT User Guide
Chapter 2 Installation
© Fujitsu Microelectronics Europe GmbH - 11 - FMEMCU-UG-960001-15
2.2 Default Jumper settings for MB9638x
The following table lists all jumpers including its default setting and location on the starterkit.
Jumper Description / Function Type
Default Setting
Coordinates
JP1 X1A connection Jumper 3 pin 1-2 J 10
JP2 X0A connection Jumper 4 pin 1-2 J 10
JP3 INT0/NMI switch Jumper 2 pin Closed H 6
JP4 FRCK0R switch Jumper 2 pin Closed H 6
JP5 TIN1R switch Jumper 2 pin Closed H 6
JP6 IN0 / TTG4/0 switch Jumper 2 pin Closed I 6
JP7 IN1 / TTG5/1 switch Jumper 2 pin Closed I 6
JP8 C pin connection Jumper 2 pin Closed I 14
JP9 SDA0 pull-up connection Jumper 2 pin Open L 15
JP10 SCL0 pull-up connection Jumper 2 pin Open L 15
JP11 AVCC connection Jumper 2 pin Closed I 16
JP12 AVRH connection Jumper 2 pin Closed I 15
JP13 AVRL connection Jumper 2 pin Closed J 15
JP14 AVSS connection Jumper 2 pin Closed K 14
JP15 VCC5V / VCC3V3 selection for MCUVCC Solder JP 3 pin 1-2 K 13
JP16 MCUVCC connection Jumper 2 pin Closed K 15
JP17 VCC3V3 / VCC5V selection for DVCC Jumper 3 pin 2-3 K 12
JP18 DVSS connection Jumper 2 pin Closed K 12
JP19 CTS / RTS UART0 Jumper 2 pin Closed I 3
JP20 VCC5V / VCC CAN0 Transceiver Solder JP 3 pin 1-2 D 4
JP21 RS232 / LIN SIN0 UART0 Jumper 3 pin 1-2 H 5
JP22 Mains Switch Jumper 2 pin Open L 17
JP23 DTR / RTS UART0 selection Jumper 3 pin Open I 3
JP24 CAN0 RxD connection Jumper 2 pin Closed E 4
JP25 RS232 / LIN SOT0 UART0 Jumper 3 pin 1-2 I 5
JP26 CAN0 TxD connection Jumper 2 pin Closed E 4
JP27 RS232 / LIN-Bus UART0 Jumper 3 pin 1-2 I 3
JP28 VBat LIN-Bus UART0 connector Jumper 2 pin Open H 3
JP29 LIN-Enable UART0 Jumper 2 pin Open I 4
JP30 Mounting option: TLE7259/TLE6259 Solder JP 3 pin 1-2 I 5
JP31 LIN Master selection UART0 Jumper 2 pin Open J 3
JP32 VCC5V / VCC CAN1 Transceiver Solder JP 3 pin 1-2 G 4
JP33 UART 0 / 2 Reset Option Jumper 3 pin Open J 5
JP34 CAN1 RxD connection Jumper 2 pin Closed G 4
JP35 CAN1 TxD connection Jumper 2 pin Closed G 4
JP36 CTS / RTS UART2 Jumper 2 pin Closed K 3
JP37 RS232 / LIN SIN2 UART2 Jumper 3 pin 1-2 K 5
JP38 DTR / RTS UART2 selection Jumper 3 pin Open K 3
JP39 RS232 / LIN SOT2 UART2 Jumper 3 pin 1-2 K 5
JP40 RS232 / LIN-Bus UART2 Jumper 3 pin 1-2 K 3
JP41 DTR / DTRX selection Jumper 3 pin Open I 7
JP42 VBat LIN-Bus UART2 connector Jumper 2 pin Open K 3
Page 12
SK-96380-120PMT User Guide
Chapter 2 Installation
FMEMCU-UG-960001-15 - 12 - © Fujitsu Microelectronics Europe GmbH
Jumper Description / Function Type
Default Setting
Coordinates
JP43 LIN-Enable UART2 Jumper 2 pin Open L 4
JP44 Mounting option: TLE7259/TLE6259 Solder JP 3 pin 1-2 L 5
JP45 LIN Master selection UART2 Jumper 2 pin Open L 3
JP46 Direct Reset Solder JP 3 pin 1-2 J 7
JP47 VCC1V8 / VCC2V5 option for LTC1326CS8 Solder JP 3 pin 2-3 J 8
JP48 RST MCU Jumper 2 pin Closed J 8
JP49 Word/Byte access On-Board Flash* Jumper 3 pin Open D 9
JP50 Word/Byte access On-Board SRAM* Jumper 3 pin Open E 9
JP51 BUSMUX selector* Jumper 2 pin Open F 16
JP52 Latch A0 / A15 On-Board Flash* Jumper 3 pin Open D 9
JP53 Latch A0 / A15 On-Board SRAM* Jumper 3 pin Open E 9
JP54 A20 VG-96 connector* Solder JP 2 pin Open C15
JP55 A23 VG-96 connector* Solder JP 2 pin Open C 15
JP56 A21 VG-96 connector* Solder JP 2 pin Open C 15
JP57 A22 VG-96 connector* Solder JP 2 pin Open C 16
JP58 GDC 1V8 VG-48 connector* Solder JP 2 pin Open C 4
JP59 ASX VG-48 connector* Solder JP 2 pin Open C 6
JP60 ASX/ALE VG-48 connector* Solder JP 2 pin Open C7
JP61 Ext. Vin VG-48 connector* Solder JP 2 pin Open C8
Table 2-1: Jumper Settings
* not supported on SK-96380-120PMT V1.0
Page 13
SK-96380-120PMT User Guide
Chapter 2 Installation
© Fujitsu Microelectronics Europe GmbH - 13 - FMEMCU-UG-960001-15
2.3 Jumper Location
The following picture shows the silk plot of the starter-kit with marked default jumper settings.
A B C D E F G H I J K L M
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
13 13
14 14
15 15
16 16
17 17
18 18
19 19
20 20
A B C D E F G H I J K L M
Figure 2-1: Default Jumper Settings
Page 14
SK-96380-120PMT User Guide
Chapter 2 Installation
FMEMCU-UG-960001-15 - 14 - © Fujitsu Microelectronics Europe GmbH
2.4 Software Installation
2.4.1 Installation of Softune Workbench
With the “SK-36380-120PMT” Fujitsu supplies a full working development environment called Softune Workbench V30L33. To develop own software the Softune Workbench development environment must be installed first. Follow the instructions for successful installation of the Softune Workbench.
1) Before starting the installation setup ensure that you are logged in with administrator or poweruser permissions, otherwise the Softune Workbench installation will fail! Be aware that Softune Workbench does not support multi-user support. Therefore install- and user login must be the same.
2) Browse on the starter-kit DVD-ROM into the directory ‘Micros DVD 4.0\pdf’ and start the 16STA*.exe.
3) Follow the installation instructions.
4) For the default installation path it is recommended to use c:\Softune16.
5) After the installation is finished. The 16LX/FX Family Softune Workbench can be started via the Windows “Start” menu.
Figure 2-2: Softune Workbench Start Menu Location
6) When Softune Workbench was started the following window will be shown.
Figure 2-3: Softune Workbench V30L33 IDE
Page 15
SK-96380-120PMT User Guide
Chapter 3 Jumpers and Switches
© Fujitsu Microelectronics Europe GmbH - 15 - FMEMCU-UG-960001-15
ON
OFF
DIP-Switch S1
(default setting)
1 2 3 4
MD0 MD1 MD2 nc
ON
OFF
DIP-Switch S1
1 2 3 4
MD0 MD1 MD2 nc
3 Jumpers and Switches
This chapter describes all jumpers and switches that can be modified on the evaluation board. The default setting for the MB96F387 Series is shown with a grey shaded area.
3.1 Operating Mode (S1)
This switch controls the MCU operation mode after Reset.
Please take care of the following mode settings:
DIP switch Setting Logical value
ON (closed) 1 (high)
S1/1 (MD0)
OFF (open) 0 (low)
ON (closed) 1 (high)
S1/2 (MD1)
OFF (open) 0 (low)
ON (closed) 1 (high)
S1/3 (MD2)
OFF (open) 0 (low)
ON (closed) Not connected
S1/4 (Not used)
OFF (open) Not connected
Table 3-1: MCU Operating Mode
Figure 3-1: MCU mode switch: Fixed Vector Mode
Figure 3-2: MCU mode switch: Flash Programming Mode
Page 16
SK-96380-120PMT User Guide
Chapter 3 Jumpers and Switches
FMEMCU-UG-960001-15 - 16 - © Fujitsu Microelectronics Europe GmbH
3.2 Power Supply (S2, JP:16, 17, 28, 22, 42)
The onboard voltage regulators provide stabilized 5V and 3.3V supplies to the MCU and peripherals. Even though they are thermally protected against overload, care must be taken when supplying current for additional circuitry.
The LIN Vs line can be connected directly to the input supply of the board by Jumpers. In this case, the input voltage to the board has to be suitable for the connected bus devices (mostly around 12V). Since there is a protection diode between Vin and Vs, it is not possible to power the board over the LIN bus.
S2 Power Switch
JP16 Connects the MCU IO voltage to Vcc. It can be used for current measurement.
JP17 Selects the Stepper Motor Driver Voltage (3.3V or 5V)
JP28, 42 Connects VBat (Pin 1 of D-Sub Connector) to Vs
JP22 Mains jumper; overrides the power switch S2.
Switch Setting Description
ON (1-2) Power ON
S2
OFF (2-3) Power OFF
Table 3-2: Power Switch
Jumper Setting Description
1 - 2 MCU disconnected from Vcc JP16
(MCUVCC)
2 - 3 MCU connected to Vcc
1 - 2 SMC supply voltage regulator is 3.3V JP17
(DVCC)
2 - 3 SMC supply voltage regulator is 5V
Closed Vs (Pin1) of LIN connector is powered by the board JP28, 42
(VBAT)
Open No voltage supply to Vs of LIN
Closed Board is always on JP22
(Mains)
Open S2 switches the Board on and off
Table 3-3: Power Supply Configuration
By default, all Board supplies are set to 5V.
Page 17
SK-96380-120PMT User Guide
Chapter 3 Jumpers and Switches
© Fujitsu Microelectronics Europe GmbH - 17 - FMEMCU-UG-960001-15
3.3 Analog Power Supply Voltage (JP: 11, 12, 13, 14)
The power supply as well as the positive reference voltage for the A/D-converter can be provided internally or externally.
JP11, JP14 connects analog power supply voltages (AVcc and AVss)
JP12 connects the low pass filtered analog reference voltage AVRH to AVcc
JP13 connects the low pass filtered analog reference voltage AVRL to AVss
Jumper Setting Description
Closed AVcc is connected to Vcc
JP11 (AVcc)
Open AVcc is disconnected from Vcc
Closed AVRH is connected to AVcc
JP12 (AVRH)
Open AVRH defined by resistor network
*
1
Closed AVRL is connected to AVss
JP13 (AVRL)
Open AVRL defined by resistor network
*1
Closed AVss is connected to GND
JP14 (AVss)
Open AVss is disconnected from GND
*1
By default the resistor network (R16, R17, R20, R21) is not mounted on the board
Table 3-4: ADC Supply
Default: JP11, JP12, JP13, and JP14 are closed
By default, the A/D-converter supply and reference voltage is the same as the microcontroller supply voltage.
Note:
If JP11 and JP14 are open, the user has to supply an adequate analog voltage supply (AVcc and AVss) to the A/D-converter.
If JP12 and JP13 are open, the resistors R16, R17, R20, and R21 define AVRH and AVRL.
By default the resistor network (R16, R17, R20, and R21) is not mounted on the board.
Page 18
SK-96380-120PMT User Guide
Chapter 3 Jumpers and Switches
FMEMCU-UG-960001-15 - 18 - © Fujitsu Microelectronics Europe GmbH
3.4 LIN / UART Connectors (X5 and X9)
There are two identical circuit blocks for LIN or RS232 connections. Each of the two D-Sub connectors can be configured as LIN or RS232 interface, and can be connected to one of two UARTs. DTS or RTS can be selected as reset source, and RTS and CTS can be connected by a jumper, since some terminals and Flash programming tools need this connection. Pin 1 (PIN Vs) of X5 and X9 can be connected to the voltage input of the board by jumpers in order to supply the LIN bus. When using this feature, pay attention to the input voltage of the board, since there is only a protection diode between Vin and Vs.
3.4.1 LIN-UART 0 (X5):
Jumper Setting Description
1-2 SIN0 is connected to RS232 transceiver
JP21
(RXD)
2-3 SIN0 is connected to LIN transceiver
1-2 SOT0 is connected to RS232 transceiver
JP25
(TXD)
2-3 SOT0 is connected to LIN transceiver
1-2 X5 Pin2 is connected to RS232 transceiver (T1out) JP27
(RS232/LIN)
2-3 X5 Pin2 is connected to LIN transceiver (BUS)
Closed RTS and CTS of X5 are connected JP19
(RTS-CTS)
Open RTS and CTS of X5 are not connected
1-2 DTR signal (Pin 6 of X5) is used as reset source JP23
(DTR/RTS)
2-3 RTS signal (Pin 7 of X5) is used as reset source
Closed LIN transceiver for X5 is enabled JP29
(LIN enable)
Open LIN transceiver for X5 is disabled
Closed LIN-UART0 is LIN Master JP31
(LIN master)
Open LIN-UART0 is LIN Slave
Closed Pin 1 (LIN Vs) of X5 is connected to Vin JP28
(LIN Vbat)
Open Pin 1 (LIN Vs) of X5 is not connected to Vin
Table 3-5: UART0 Settings
Page 19
SK-96380-120PMT User Guide
Chapter 3 Jumpers and Switches
© Fujitsu Microelectronics Europe GmbH - 19 - FMEMCU-UG-960001-15
3.4.2 LIN-UART 2 (X9):
Jumper Setting Description
1-2 SIN2 is connected to RS232 transceiver
JP37
(RXD)
2-3 SIN2 is connected to LIN transceiver
1-2 SOT2 is connected to RS232 transceiver
JP57
(TXD)
2-3 SOT2 is connected to LIN transceiver
1-2 X9 Pin2 is connected to RS232 transceiver (T1out) JP40
(RS232/LIN)
2-3
X9 Pin2 is connected to LIN transceiver (BUS)
Closed RTS and CTS of X9 are connected JP36
(RTS-CTS)
Open RTS and CTS of X9 are not connected
1-2 DTR signal (Pin 6 of X9) is used as reset source JP38
(DTR/RTS)
2-3 RTS signal (Pin 7 of X9) is used as reset source
Closed LIN transceiver for X5 is enabled JP43
(LIN enable)
Open LIN transceiver for X5 is disabled
Closed LIN-UART2 is LIN Master JP45
(LIN master)
Open LIN-UART2 is LIN Slave
Closed Pin 1 (LIN Vs) of X9 is connected to Vin JP42
(LIN Vbat)
Open Pin 1 (LIN Vs) of X9 is not connected to Vin
Table 3-6: UART2 Settings
Page 20
SK-96380-120PMT User Guide
Chapter 3 Jumpers and Switches
FMEMCU-UG-960001-15 - 20 - © Fujitsu Microelectronics Europe GmbH
3.5 CAN interfaces (X6 and X8)
Two high-speed CAN-transceivers can be connected to the microcontroller’s CAN interfaces (CAN0 and CAN1).
Jumper Setting Description
JP24 (CAN0 RX)
Closed RX0 of MCU is connected to CAN0 (X6)
JP26 (CAN0 TX)
Closed TX0 of MCU is connected to CAN0 (X6)
JP34 (CAN1 RX)
Closed RX1 of MCU is connected to CAN1 (X8)
JP35 (CAN1 TX)
Closed TX1 of MCU is connected to CAN1 (X8)
Table 3-7: CAN Settings
3.6 Reset Generation (JP: 32, 33, 41, 48)
In addition to the internal Power-On reset, the microcontroller can be reset by an external reset circuit (Voltage Monitor) and also by a RS232 interface. Refer to the chapter ‘LIN / UART Connectors (X5 or X9)’ for DTR / RTS selection.
JP33 Selects X5 or X9 as reset source
JP41 The signal on the DTR/RTS line can be negated with this jumper.
Remove the jumper in order to disable the RS232 reset circuit.
JP46 With this jumper the time to hold down reset button SW6 controlled
JP48 Open this jumper if no external Reset shall be generated.
In this case only the internal reset is active (e.g.: power-on)
Jumper Setting Description
1-2 LIN-UART0 (X5) connected to reset circuit
JP33 (UART RESET)
2-3 LIN-UART2 (X9) connected to reset circuit
1-2 No negation for the DTR/RTS signal
JP41 (DTR / DTRx)
2-3 DTR/RTS signal is negated
1-2 Reset is applied immediately when SW6 is pressed JP46
(Reset imm./delayed)
2-3 Reset is applied when SW6 is pressed >2sec
Closed External reset generation is active
JP48 (RST MCU)
Open No external reset generation
Table 3-8: Reset Connection
By default, the external reset is enabled and set to immediate reset, the reset by UART is disabled.
Page 21
SK-96380-120PMT User Guide
Chapter 3 Jumpers and Switches
© Fujitsu Microelectronics Europe GmbH - 21 - FMEMCU-UG-960001-15
N
ote:
While a reset signal is asserted the red Reset-LED LD13 is lit.
During normal operation, this LED should be off!
If JP41 (DTR/DTRx) is set, the UART RESET jumper (JP33) and the according DTR/RTS (JP23 and JP38) jumper have to be set, too.
If the reset LED is steadily on, check the power supply input voltage and the settings for the reset-generation by UART.
Page 22
SK-96380-120PMT User Guide
Chapter 3 Jumpers and Switches
FMEMCU-UG-960001-15 - 22 - © Fujitsu Microelectronics Europe GmbH
3.7 User Buttons SW1, SW2, SW3, SW4, SW5, SW6 (JP: 3, 4, 5, 6, and 7)
JP3, 4, 5, 6, 7 Five user push buttons (SW1-SW5) can be connected to the
microcontroller.
Jumper Setting Description
Closed Pin 119 (INT0/NMI) of the MCU is connected to “SW1”
JP3 (SW1)
Open No connection to the microcontroller
Closed Pin 77 (FRCK0R) of the MCU is connected to “SW2”
JP4 (SW2)
Open No connection to the microcontroller
Closed Pin 80 (TIN1R) of the MCU is connected to “SW3”
JP5 (SW3)
Open No connection to the microcontroller
Closed Pin 18 (IN0/TTG4/0) of the MCU is connected to “SW4”
JP6 (SW4)
Open No connection to the microcontroller
Closed Pin 19 (IN1/TTG5/1) of the MCU is connected to “SW5”
JP7 (SW5)
Open No connection to the microcontroller
Table 3-9: User Push Buttons
Default: JP3, 4, 5, 6, 7 closed
By default, all push-buttons are connected to the microcontroller.
Page 23
SK-96380-120PMT User Guide
Chapter 4 Connectors
© Fujitsu Microelectronics Europe GmbH - 23 - FMEMCU-UG-960001-15
4 Connectors
4.1 Power connector (X7)
The following figure shows the power connection jack X7. This connector is used to connect an external unregulated DC power supply voltage (9V-15V DC) to the evaluation board.
Connector X7:
Figure 4-1: Power Connector
The switching mode voltage regulators allow a wide input range. This might be of interest when using Vin to power the LIN bus Vs line.
4.2 MCU pin header connectors (X1 and X2)
All pins (except oscillator and supply pins) of the microcontroller are directly connected to pin headers. Pin 1 of the MCU corresponds to Pin 1 of the connector. Pin 2 of the MCU corresponds to Pin 2 of the connector, and so on.
4.3 LIN-UART connectors (X5, X9)
Two 9-pin D-Sub female connectors are used for the serial interfaces. Note that X5 and X9 are shared between the RS232- and LIN transceivers and must be configured to the desired functionality (refer to chapter 3.4 for details).
Figure 4-2: UART Connector
Pin Number Pin Signal Description
1 +VBat Power from / to LIN bus
TXD RS-232 transmit output
2
LIN Bi-directional LIN-interface bus 3 RXD RS-232 receive input 4 DTR Connected to DSR (pin 6) 5 GND Ground normally used for RS232 connection 6 DSR Connected to DTR (pin 4) 7 RTS Can be connected with CTS by jumper 8 CTS Can be connected with RTS by jumper 9 LGND Ground normally used for LIN connection
Shield GND Ground
Table 4-1: UART Connector Signals
Shield is connected to positive voltage supply
Center is connected to ground (GND)
+
Page 24
SK-96380-120PMT User Guide
Chapter 4 Connectors
FMEMCU-UG-960001-15 - 24 - © Fujitsu Microelectronics Europe GmbH
4.4 CAN Connector (X6, X8)
Two 9-pin D-Sub male connectors are used for the CAN interfaces CAN0 and CAN1. Both CAN interfaces can be used simultaneously.
Figure 4-3: CAN Connector
Pin Number Pin Signal Description
1 NC Not used 2 CANL LOW-level CAN voltage input/output 3 GND Ground 4 NC Not used 5 NC Not used 6 NC Not used 7 CANH HIGH-level CAN voltage input/output 8 NC Not used 9 NC Not used
Shield GND Ground
Table 4-2: CAN Connector Signals
4.5 USER-LEDs & optional LC-Display
Eight LEDs are supplied for user applications. In order to disconnect the LEDs from the related microcontroller port (Port 09), the resistor network RN1 can be removed.
Instead of the user-LEDs, an alphanumeric LC-Display (optional) can be connected.
The potentiometer RP1 can be used to adjust the contrast of the LC-Display. Pin 15 and 16 of J1 are normally not mounted. If the used LC-Display has pins for LED backlight at this position, they can be connected here (Pin15: Vcc via 39U/0.5W, Pin16: GND).
The following control signals are provided:
Page 25
SK-96380-120PMT User Guide
Chapter 4 Connectors
© Fujitsu Microelectronics Europe GmbH - 25 - FMEMCU-UG-960001-15
Figure 4-4: User LEDs/LCD
16* 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
LCD
LCD LED
GND
D7 D6 D5 D4 - - - - E R/W RS V0
VCC GND
LED
LD8 LD7 LD6 LD5 LD4 LD3 LD2 LD1
Port
09_7 09_6 09_5 09_4 09_3 09_2 09_1 09_0
Table 4-3: User LEDs/LCD
* Pin16: Vcc via 39U/0.5W for LCD Lightning
Page 26
SK-96380-120PMT User Guide
Chapter 4 Connectors
FMEMCU-UG-960001-15 - 26 - © Fujitsu Microelectronics Europe GmbH
4.6 In-Circuit-Programming Connector (X4)
There is a flash-programming socket on the starter-kit, which makes it possible to program the flash MCU with a special programming adapter. Mode pin MD0 and reset signal are also available at this connector.
Figure 4-5: In-circuit programming connector
Pin Number Pin Signal Description
1 NC Not used 2 NC Not used 3 MD0 MCU mode-pin 0 4 NC Not used 5 RSTX MCU reset signal 6 SIN2 UART2 receive data 7 SOT2 UART2 transmit data 8 SCK2 UART2 clock 9 VCC Board supply voltage
10 GND Ground
Table 4-4: In-circuit programming connector
Page 27
SK-96380-120PMT User Guide
Chapter 4 Connectors
© Fujitsu Microelectronics Europe GmbH - 27 - FMEMCU-UG-960001-15
4.7 Alarm Comparator Connector (J2)
On the Connector J2 the adjusted analog voltage of potentiometer RP2 can be measured. This voltage is used for the Alarm Comparator 0 on pin 26.
4.8 External Supply Voltage Vin Line (J3)
This connector is connected to the external supply voltage (Vin)
4.9 Vcc 5 Volts (J4)
On this connector the VCC5V supply can be measured.
4.10 Vcc 3.3 Volts (J5)
On this connector the VCC3V3 supply can be measured.
4.11 Vcc 2.5 Volts (J9)
On this connector the VCC2V5 supply can be measured.
4.12 Vcc 1.8 Volts (J10)
On this connector the VCC1V8 supply can be measured.
4.13 LIN Bus Inhibit (J6)
To this connector the INH pin of the LIN0 transceiver is connected.
4.14 LIN Bus Inhibit (J11)
To this connector the INH pin of the LIN1 transceiver is connected.
4.15 VCC Connector (J7)
This connector holds the VCC supply.
4.16 GND Connector (J8)
This connector holds the GND line.
Page 28
SK-96380-120PMT User Guide
Chapter 5 Potentiometers
FMEMCU-UG-960001-15 - 28 - © Fujitsu Microelectronics Europe GmbH
5 Potentiometers
5.1 RP1
With RP1 the contrast of a connected alphanumerical LCD board to J1A/B can be adjusted.
5.2 RP2
With the potentiometer RP2 the threshold voltage for the alarm comparator can be adjusted. Any voltage between VCC and GND can be set. It is connected to the comparator 0, thus to pin ALARM0.
Additionally the adjusted voltage can be measured at connector J2.
Page 29
SK-96380-120PMT User Guide
Chapter 6 Getting Started
© Fujitsu Microelectronics Europe GmbH - 29 - FMEMCU-UG-960001-15
6 Getting Started
Make sure that the 16LX/FX Family Softune Workbench is installed on your PC and the “SK­96380-120PMT” is ready to use (power-on, serial connection UART0) to a COM port of the PC).
6.1 Introduction to Softune Workbench
Start Softune Workbench. Select <File> <Open Workspace> to load the first example. (e.g. mb96380_io.wsp). All examples can be found in the folder \Software\SWB_Samples on the starter-kit DVD-ROM. It is recommended to copy this folder to the local hard-drive. In the project tree on the left side, you can open the “source”-folder which contains the source-files registered to this project. A double-click on one of the files will invoke the built-in editor, which supports syntax-highlighting, tags, and various other functions.
Figure 6-1: Softune Workbench main window
Note:
You may customize the editor by a right-click on the editor window.
Page 30
SK-96380-120PMT User Guide
Chapter 6 Getting Started
FMEMCU-UG-960001-15 - 30 - © Fujitsu Microelectronics Europe GmbH
Whenever you modify the source files, you have to re-compile and link the related files to produce a valid loadmodule (ABS-file). This is done using the MAKE-function. MAKE invokes the assembler, C-compiler, and linker for 16FX whenever necessary (only modified files will be re-compiled).
If you wish to re-compile the entire project regardless of any changes, you can use the BUILD-function. To check for syntax errors on a specific source file, use the COMPILE/ASSEMBLE function.
These three functions are available on the button-bar or from the main menu (Project – Compile / Make / Build / Abort).
Click on MAKE or BUILD. Messages from the individual language tools will be fed into the output window at the bottom of the main screen. If the tool chain (C-compiler Y Assembler Y Linker) was completed successfully, the message “No Error” will appear.
If you get any errors during build, an appropriate message will be generated. Try this with a simple syntax error (e.g. delete a semicolon “;” from the end of a C-line) and click on MAKE again. You will now see a message like this:
Now Making...
--------------------Configuration: mb96380_io.prj - Debug--------------------
Main.c
*** c:\work\mb90340\reflash_test\src\main.c(19) E4062C: syntax error near `__set_il'
------------------------------
Error detected.
------------------------------
To locate the position in the source file where the error occurred, double-click on the message. The editor will open the appropriate source file, indicating the error highlighted in red, depending on the customize settings of the editor. Correct the error and re-compile the project as explained above.
If more errors occurred, you can go through the error list step by step using the menu “Edit – Top/Previous/Next/Bottom Error” or using the appropriate buttons, which have the same functions:
Note: To get on-line help about a specific error, select the error message and press F1. In many cases, you can get some useful hints how to solve the problem. Of course, you can also use the HELP-menu anytime during development or debugging.
Page 31
SK-96380-120PMT User Guide
Chapter 6 Getting Started
© Fujitsu Microelectronics Europe GmbH - 31 - FMEMCU-UG-960001-15
6.2 Project Start-up
In order to allow a quick and smooth project start-up Fujitsu Microelectronics Europe supplies a template project as a reference. The easiest way to start a new project is to make a copy of the template project and use this copy as a start-up. The template includes the latest start.asm file, MCU header file, IRQ table, basic linker and C-Compiler settings.
Note:
6.2.1 Create a New Project:
1. In order to start a new user-project use the 96380_template project
2. Copy the folder 96380_template-vXX and rename the folder to e.g. my_application
3. Enter the folder my_application Rename mb96380_template.prj into my_application.prj Rename mb96380_template.wsp into my_application.wsp
4. Edit my_application.prj Replace all mb96380_template entries to my_application
5. Edit my_application.wsp Replace all mb96380_template entries to my_application
In any case the settings done in the template must be checked and have to be
adjusted to the specific needs and settings of the final application. The template is
providing an example for building up a new project.
THIS SAMPLE CODE IS PROVIDED AS IS AND I
S SUBJECT TO ALTERATIONS. FUJITSU
MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS
OR/ELIGIBILITY FOR ANY PURPOSES.
(C) Fujitsu Microelectronics Europe GmbH
Page 32
SK-96380-120PMT User Guide
Chapter 6 Getting Started
FMEMCU-UG-960001-15 - 32 - © Fujitsu Microelectronics Europe GmbH
6. Start Softune Workbench and open your project
Figure 6-2: Open Softune Workbench workspace (*.wsp)
Rename
mb96380_template
into
my_application
Note that [DirInfo] entries are not needed to edit.
Page 33
SK-96380-120PMT User Guide
Chapter 6 Getting Started
© Fujitsu Microelectronics Europe GmbH - 33 - FMEMCU-UG-960001-15
7. Use “Make”, or “Build” to compile and link the project for available memory on flash­device. The generated output files like the *.mhx file (Motorola S-Record) can be found in the sub-folder ABS of the project folder.
8. Now, the application can be debugged, therefore, please have a look at the next chapter. Or the generated *.mhx file (Motorola S-Record) can be programmed with the flash programming utility into the internal Flash memory. Please keep in mind, that therefore the mode pins have to be set to “Internal ROM Mode Vector”.
Note: Always check the memory map of the linker settings and ensure that this memory map is suitable for the application and target system in use. Additionally the *.mp1 file should be checked to e
nsure correct settings.
Note: The starter-kit is delivered with the mode pin settings for the “Internal Vector Mode”.
If the application should be programmed into the internal Flash memory, the mode pins have to be switched to the “Serial Programming Mode”.
Page 34
SK-96380-120PMT User Guide
Chapter 7 Programming the internal Flash memory
FMEMCU-UG-960001-15 - 34 - © Fujitsu Microelectronics Europe GmbH
7 Programming the internal Flash memory
There are two ways to program the internal Flash memory: Asynchronous as well as synchronous Flash-programming:
< Asynchronous serial Flash-programming via X5 or X9 (UART0 or UART2)
< Synchronous serial Flash-programming via X4 (UART2)
7.1 Asynchronous Mode
This chapter describes the serial asynchronous programming of the internal Flash memory with the help of the ‘Flash Memory Programmer 16FX’ in automatic mode.
1) For serial asynchronous programming SUB-D9 connector X5 or X9, which are connected to UART0 and 2, have to be used. The following jumper setting is needed.
Jumper
Programming
UART
Setting Description
JP21
(SIN0)
UART0 1-2 RS232 RxD is connected to SIN0
JP25
(SOT0)
UART0 1-2 RS232 TxD is connected to SOT0
JP27
(RS232/LIN)
UART0 1-2 RS232 is selected
JP28
(Vbat)
UART0 Open Vbat is not connected to Pin 1 of X5
JP23
(DTR/RTS)
UART0 Open DTR/RTS is not connected
JP37
(SIN0)
UART2 1-2 RS232 RxD is connected to SIN2
JP39
(SOT0)
UART2 1-2 RS232 TxD is connected to SOT2
JP40
(RS232/LIN)
UART2 1-2 RS232 is selected
JP42
(Vbat)
UART2 Open Vbat is not connected to Pin 1 of X9
JP38
(DTR/RTS)
UART2 Open DTR/RTS is not connected
Table 7-1: Jumper Settings for Programming
Page 35
SK-96380-120PMT User Guide
Chapter 7 Programming the internal Flash memory
© Fujitsu Microelectronics Europe GmbH - 35 - FMEMCU-UG-960001-15
2) If the programming software should generate a reset signal on RTS or DTR line, refer to the following jumper list.
Jumper Programming
UART
Setting Description
Closed RTS and CTS of X5 are connected JP19
(RTS-CTS)
UART0
Open RTS and CTS of X5 are not connected
UART0 1-2
DTR signal (Pin 6 of X5) is used as reset source
JP23
(DTR/RTS)
UART0 2-3
RTS signal (Pin 7 of X5) is used as reset source
Closed RTS and CTS of X9 are connected JP36
(RTS-CTS)
UART2
Open RTS and CTS of X9 are not connected
UART2 1-2
DTR signal (Pin 6 of X9) is used as reset source
JP38
(DTR/RTS)
UART2 2-3
RTS signal (Pin 7 of X9) is used as reset source
UART0 1-2 LIN-UART 0 (X5) connected to reset circuit
JP33
(RESET A/B)
UART2 2-3 LIN-UART 2 (X9) connected to reset circuit
1-2 No negation for the DTR/RTS signal JP41 (DTR / DTRx)
­2-3 DTR/RTS signal is negated
1-2
Reset is applied immediately when SW6 is pressed
JP46
(Direct RST)
-
2-3 Reset is applied when SW6 is pressed >2sec
Table 7-2: Jumper Settings for reset signal
3) The CPU Mode selection must be set to internal reset vector mode by setting DIP switch S1 to Off, On, Off, X.
4) Start the ‘Flash Memory Programmer 16FX’ and connect the UART0 or 1 to your serial PC communication port. A straight cable connection has to be used.
5) Choose the microcontroller device (MB96F387) as target microcontroller and 4 MHz for crystal frequency. Then browse to the mhx-file you want to program to the embedded flash memory of the microcontroller. Press the button “Full Operation” to start programming.
Note, that the COM port of the PC can be set in the Option ‘Set Environment’.
Page 36
SK-96380-120PMT User Guide
Chapter 7 Programming the internal Flash memory
FMEMCU-UG-960001-15 - 36 - © Fujitsu Microelectronics Europe GmbH
Figure 7-1: Settings for Automatic Mode
6) After that, switch S1 to On, On, Off, X, and reset the microcontroller.
The software now automatically writes a flash loader to the microcontroller (“Download”), does a blank check and erases the Flash memory if necessary. After that the user application is programmed to the embedded Flash memory (“Program & Verify”).
If the programming sequence has ended successfully, you will receive the output “It all ended normally completely”.
7.2 Synchronous Mode
In order to program the Flash-ROM synchronously special third-party soft- and hardware has to be used, e.g. GALEP-4 from www.conitec.de
. This tool is not available for free.
A dedicated Flash programming socket (X4) is provided on the evaluation-board for direct connection to this programmer.
X4: Flash programming socket
Figure 7-2: Flash Programming Socket
n/c 1
MD0 3
RST 5
SOT2 7
VCC 9
2 n/c
4 MD2
6 SIN2
8 SCK2
10 GND
Page 37
SK-96380-120PMT User Guide
Chapter 8 Appendix
© Fujitsu Microelectronics Europe GmbH - 37 - FMEMCU-UG-960001-15
8 Appendix
8.1 Related Products
< SK-96380-120PMT Evaluation board for the MB96F38x MCU
in LQFP-120 package
< MB2198-01 Emulator debugger main unit
< MB2198-500 Emulation Pod
< NQPack120SD Socket for package LQFP-120
(Tokyo Eletech Corp. www.tetc.co.jp/e_tet.htm
)
< HQPack120SB Socket header for package LQFP-120
(Tokyo Eletech Corp. www.tetc.co.jp/e_tet.htm)
< MB2198-16FX-120P-M21 Emulator probe cable for MB96F38x MCU
< MB96300 Series
< MB96V300 MB96300 Series Evaluation chip
< MB96F38x Flash MCU
Page 38
SK-96380-120PMT User Guide
Chapter 8 Appendix
FMEMCU-UG-960001-15 - 38 - © Fujitsu Microelectronics Europe GmbH
8.2 Information in the WWW
Information about FUJITSU MICROELECTRONICS Products can be found on the following Internet pages:
http://emea.fujitsu.com/microelectronics
Microcontrollers (8-, 16- and 32bit), Graphics Controllers Datasheets and Hardware Manuals, Support Tools (Hard- and Software)
http://www.fme.gsdc.de/gsdc.htm
Page 39
SK-96380-120PMT User Guide
Chapter 8 Appendix
© Fujitsu Microelectronics Europe GmbH - 39 - FMEMCU-UG-960001-15
8.3 Tables
Table 1-1: Emulation System .................................................................................................9
Table 2-1: Jumper Settings .................................................................................................. 12
Table 3-1: MCU Operating Mode ......................................................................................... 15
Table 3-2: Power Switch ...................................................................................................... 16
Table 3-3: Power Supply Configuration................................................................................ 16
Table 3-4: ADC Supply ........................................................................................................ 17
Table 3-5: UART0 Settings .................................................................................................. 18
Table 3-6: UART2 Settings .................................................................................................. 19
Table 3-7: CAN Settings ...................................................................................................... 20
Table 3-8: Reset Connection................................................................................................ 20
Table 3-9: User Push Buttons .............................................................................................. 22
Table 4-1: UART Connector Signals .................................................................................... 23
Table 4-2: CAN Connector Signals ...................................................................................... 24
Table 4-3: User LEDs/LCD................................................................................................... 25
Table 4-4: In-circuit programming connector ........................................................................ 26
Table 7-1: Jumper Settings for Programming....................................................................... 34
Table 7-2: Jumper Settings for reset signal.......................................................................... 35
Page 40
SK-96380-120PMT User Guide
Chapter 8 Appendix
FMEMCU-UG-960001-15 - 40 - © Fujitsu Microelectronics Europe GmbH
8.4 Figures
Figure 2-1: Default Jumper Settings..................................................................................... 13
Figure 2-2: Softune Workbench Start Menu Location........................................................... 14
Figure 2-3: Softune Workbench V30L33 IDE ....................................................................... 14
Figure 3-1: MCU mode switch: Fixed Vector Mode .............................................................. 15
Figure 3-2: MCU mode switch: Flash Programming Mode ................................................... 15
Figure 4-1: Power Connector ...............................................................................................23
Figure 4-2: UART Connector................................................................................................ 23
Figure 4-3: CAN Connector.................................................................................................. 24
Figure 4-4: User LEDs/LCD ................................................................................................. 25
Figure 4-5: In-circuit programming connector....................................................................... 26
Figure 6-1: Softune Workbench main window ...................................................................... 29
Figure 6-2: Open Softune Workbench workspace (*.wsp) .................................................... 32
Figure 7-1: Settings for Automatic Mode.............................................................................. 36
Figure 7-2: Flash Programming Socket................................................................................ 36
Page 41
SK-96380-120PMT User Guide
Chapter 8 Appendix
© Fujitsu Microelectronics Europe GmbH - 41 - FMEMCU-UG-960001-15
8.5 Abbreviations
ADC Analogue Digital Converter
CAN Controller Area Network
CS Chip Select
FME Fujitsu Microelectronics Europe GmbH
LIN Local Interconnect Network
MCU Microcontroller Unit
PCB Printed Circuit Board
SRAM Static Random Access Memory
SDRAM Synchronous Dynamic Random Access Memory
UART Universal Asynchronous Receiver Transmitter
Page 42
SK-96380-120PMT User Guide
Chapter 8 Appendix
FMEMCU-UG-960001-15 - 42 - © Fujitsu Microelectronics Europe GmbH
Recycling
Gültig für EU-Länder:
Gemäß der Europäischen WEEE-Richtlinie und deren Umsetzung in landesspezifische Gesetze nehmen wir dieses Gerät wieder zurück.
Zur Entsorgung schicken Sie das Gerät bitte an die folgende Adresse:
Fujitsu Microelectronics Europe GmbH
Warehouse/Disposal
Monzastraße 4a
63225 Langen
Valid for European Union Countries:
According to the European WEEE-Directive and its implementation into national laws we take this device back.
For disposal please send the device to the following address:
Fujitsu Microelectronics Europe GmbH
Warehouse/Disposal
Monzastraße 4a
63225 Langen
Loading...