background image

Fujitsu Microelectronics Europe 

Application Note 

 

FMEMCU-AN-890023-10 

F²MC-8L FAMILY 

8-BIT MICROCONTROLLER 

MB89210 

 

GETTING STARTED 

 

APPLICATION NOTE

 

Summary of Contents for F2MC-8L MB89210 Series

Page 1: ...Fujitsu Microelectronics Europe Application Note FMEMCU AN 890023 10 F MC 8L FAMILY 8 BIT MICROCONTROLLER MB89210 GETTING STARTED APPLICATION NOTE ...

Page 2: ...Getting started Revision History AN 890023 10 2 Fujitsu Microelectronics Europe GmbH Revision History Date Issue 06 08 2004 V1 0 HWe First release This document contains 13 pages ...

Page 3: ...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 a...

Page 4: ... 1 Product line up 5 1 2 Tool line up 5 1 2 1 Evaluation board 5 1 2 2 Emulator system 5 1 2 3 Package conversion adapter 5 1 2 4 Flash programmer software 5 2 EVALUATION SYSTEM CONFIGURATION 6 2 1 Optional Sub D9 connector for RS232 UART 7 2 2 Using the LIN interface 8 3 SOFTWARE 9 3 1 New project 9 3 2 Flash programming 11 3 2 1 Hardware 11 3 2 2 Software 12 ...

Page 5: ...ion board Main board Daughter board for MQP 48C P02 BBF2003 8L MB Evaluation board Main board BBF2003 8L 48PB Evaluation board Daughter board for MB89PV210 MQP 48C P02 1 2 2 Emulator system MSE1001C F MC 8L Compact ICE In Circuit Emulator MB2144 203 Probe cable for use with evaluation board BBF2003 8L 48PS 48PB 1 2 3 Package conversion adapter The package conversion adapter allows using the evalua...

Page 6: ... the main board close the jumpers JP0 to JP7 if the LEDs on the main board want to be used set JP10 to 5V position Set Dip SW2 to 1 ON 2 OFF 3 ON 4 OFF and Dip SW3 to 1 ON 2 ON 3 ON 4 OFF 5 OFF 6 OFF On the daughter board set the jumpers AVCC RST X1 X0 MODE and P00 to P07 if the LEDs on the main board want to be used to position 89210 and close the jumpers VSS1 VSS2 AVSS Use the probe cable MB2144...

Page 7: ...the COM port of the PC In order to use the UART of the MB89210 device with the on board RS232 transceiver two connections have to be wired manually Connect SOT and LUO on the daughter board as shown below Connect SIN and LUI on the daughter board as shown below Set Dip SW2 to 1 ON 2 OFF 3 ON 4 OFF 16 15 3V 5V Solder optional male SUB D9 connector in order to use RS232 UART transceiver Use 1 1 cabl...

Page 8: ...d LNP on the main board Do not connect the jumper LMP of the main board because the MB89210series does not support the master bus mode Take care to enable the on board LIN transceiver by setting the signal LUC to high level The signal LUC is controlled by port P17 DDR1_D17 1 enable LIN transceiver PDR1_P17 1 set Jumper LUC NOTE LIN interface and RS232 interface cannot be used at the same time beca...

Page 9: ... a new user project the template project of the MB89210series should be used always This project includes the startup code header files and vector table for the MB89210series Copy the folder Template within the example folder and rename Copy of Template into my_application Enter my_application folder and rename template prj into my_application prj and template wsp into my_application wsp Edit my_a...

Page 10: ...Softune Workbench and open your project my_application wsp Write your application code Start asm Startup code Vector c Vector table Main c Your application Compile build your project The generated MHX file can be flashed into the Flash device the ABS file can be used for emulation and simulation ...

Page 11: ...ynchronous burn in bootloader the microcontroller port pin P07 has to be connected to GND P30 and MODA have to be connected to VCC see table and schematic below Pin MB89F217 FPT 48P M13 Connect to MOD0 37 VSS MOD1 38 VSS MODA 1 VCC for programming only GND for RUN mode UO 22 PC RxD via RS232 transceiver UI 23 PC TxD via RS232 transceiver P07 47 VSS for programming only P30 11 VCC for programming o...

Page 12: ...89F217 and the crystal frequency depending on your external crystal e g 10MHz Select the Hex File ABS MHX of your project Take care that the asynchronous burn in bootloader of the microcontroller is selected P07 L P30 MODA H Press Full Operation and reset your target system when prompted After the device is programmed successfully select the RUN mode P07 open P30 open MODA L and reset the target s...

Page 13: ...Getting started Chapter 3 Software Fujitsu Microelectronics Europe GmbH 13 AN 890023 10 ...

Reviews: