Fujitsu MB91360 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Fujitsu MB91360, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Fujitsu MB91360 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Fujitsu MB91360. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Fujitsu MB91360 should contain:
- informations concerning technical data of Fujitsu MB91360
- name of the manufacturer and a year of construction of the Fujitsu MB91360 item
- rules of operation, control and maintenance of the Fujitsu MB91360 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Fujitsu MB91360 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Fujitsu MB91360, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Fujitsu service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Fujitsu MB91360.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Fujitsu MB91360 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    Fujit su Micr oelectr onics Eur ope User Guide FMEMCU- UG-910006-13 MB91360 S ERIES EVALUATION BOA RD STARTER KIT MB91360 USER GUID E[...]

  • Page 2

    START ERKIT M B91360 Revision H istory UG-9100 06-13 - 2 - © Fujitsu Microe lectron ics Europ e Gm bH Revision Histor y D ate I ssue 1999 1.0 MM First d ra ft 2001 1.2 MM 09 July 2003 V1.3, MSt new format, Info about MB91F361 re moved This document contains 43 pages.[...]

  • Page 3

    START ERKIT M B91360 Warranty an d Discl aimer © Fujitsu Microe lectron ics Europ e Gm bH - 3 - UG-9100 06-13 Warrant y and Disclaimer To the m axim um ex tent perm itted b y applicabl e la w, Fuj itsu Mic roelectr onics Europe Gm bH r estricts its warrant ies and its liabilit y for ST ARTERKIT MB91360 an d all its deliv er ables (eg. sof tware in[...]

  • Page 4

    START ERKIT M B91360 Contents UG-9100 06-13 - 4 - © Fujitsu Microe lectron ics Europ e Gm bH Conten ts REV ISION HIS T ORY .......................................................... .................................................. 2 WA RRA NTY A ND D ISC LA IMER ......................................................... ..........................[...]

  • Page 5

    START ERKIT M B91360 Contents © Fujitsu Microe lectron ics Europ e Gm bH - 5 - UG-9100 06-13 7.7 Development tools and accessories .................................................................. 39 7 .8 R elated Documents ..................................................... ........................................ 40 7.9 Trouble Shooting .....[...]

  • Page 6

    START ERKIT M B91360 Chapter 1 Introdu ction UG-9100 06-13 - 6 - © Fujitsu Microe lectron ics Europ e Gm bH 1 Introduc tion 1.1 A bstract The Fujitsu MB91360 evaluat ion board is a st and-alone application board that makes it easy to evaluate and demonstrate almost all features of the MB91360 microcontr oller series. Along with the supplied W indo[...]

  • Page 7

    START ERKIT M B91360 Chapter 1 Introdu ction © Fujitsu Microe lectron ics Europ e Gm bH - 7 - UG-9100 06-13 < Area for extensions (2.54mm grid) < Standard Euro-format (16x20 cm) < Built-in monitor debugger (in Flash) < Software includes Softune Workbench, a set of tools (e.g. flashloader) and example projects. 1.3 General Board U sage [...]

  • Page 8

    START ERKIT M B91360 Chapter 1 Introdu ction UG-9100 06-13 - 8 - © Fujitsu Microe lectron ics Europ e Gm bH 1.4 Mo de S electi on The board has thre e different “modes”, which are repres ented by the three reset-buttons “USE R”, “F LAS H” an d “ M ONITOR ”. By default, t he board will startup in the “MONITOR”-mode, which automa[...]

  • Page 9

    START ERKIT M B91360 Chapter 2 Installat ion © Fujitsu Microe lectron ics Europ e Gm bH - 9 - UG-9100 06-13 2 Installation 2.1 Har dware Install atio n What you’ll need : < Host : IBM (-comp) PC with W indow s 9x or W indows N T ; 1 COM -port < Power Requirements: A power supply, capable of supporting 9-12V DC at about 500 mA. Note that t [...]

  • Page 10

    START ERKIT M B91360 Chapter 2 Installat ion UG-9100 06-13 - 10 - © Fujitsu Microe lectron ics Europ e Gm bH 2.2 Sof t ware Inst allat ion Insert the pr ovided CD-ROM, browse to the installation pag e and select the In stallation option for Softune W orkbench. Follow the instructions to unpack and install Softune W orkbench for FR ,as w ell as som[...]

  • Page 11

    START ERKIT M B91360 Chapter 3 G etting St arted © Fujitsu Microe lectron ics Europ e Gm bH - 11 - UG-9100 06-13 3 Gettin g Start ed Make sure you have Softune Workbench for FR installed on your PC and the evaluation board is ready to use. For details refer to the Hardware and Software Installation chapters. This chapter uses the available ex ampl[...]

  • Page 12

    START ERKIT M B91360 Chapter 3 G etting St arted UG-9100 06-13 - 12 - © Fujitsu Microe lectron ics Europ e Gm bH 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 languag e tools will be fed into the output window at the bo[...]

  • Page 13

    START ERKIT M B91360 Chapter 3 G etting St arted © Fujitsu Microe lectron ics Europ e Gm bH - 13 - UG-9100 06-13 3.2 Softune W orkbench Debugging Introduction W henev er you have successfully created a valid load module, you may switch from the development mode to the debugging mode o f Softune W orkbench. Basically, there are 3 types of debugging[...]

  • Page 14

    START ERKIT M B91360 Chapter 3 G etting St arted UG-9100 06-13 - 14 - © Fujitsu Microe lectron ics Europ e Gm bH If these settings are correct, start the debugger using “Debug – Start Debug”. You should see a progress bar indicating the dow nload process. If nothing happens, there will be an error m essage after some time (“Invalid communi[...]

  • Page 15

    START ERKIT M B91360 Chapter 4 D etails of the i ncluded M onitor-Debugger © Fujitsu Microe lectron ics Europ e Gm bH - 15 - UG-9100 06-13 4 Details of the i nc luded Mo nitor -Debu gger 4.1 Basic d ebugg er featu res GO: Executes the program continuously from the memory location pointed to by the curren t pro g ram coun ter (PC ) unti l a ter min[...]

  • Page 16

    START ERKIT M B91360 Chapter 4 D etails of the i ncluded M onitor-Debugger UG-9100 06-13 - 16 - © Fujitsu Microe lectron ics Europ e Gm bH A BORT: Forcibly terminates execution. CAUTIO N: This function can be used in sin gle code line operations only (exa mple : for(k=DELAY_CONSTANT; k>0; k--); ) ! ! To abort continous execution on the Starterk[...]

  • Page 17

    START ERKIT M B91360 Chapter 4 D etails of the i ncluded M onitor-Debugger © Fujitsu Microe lectron ics Europ e Gm bH - 17 - UG-9100 06-13 4.2 A dvanced debu gger f eatures TOGGL E B REA KPOINT: S ets or deletes brea kpoint at the current source line or : To set or delete a breakpoint, click the circles at the beginning of a source-line. A indicat[...]

  • Page 18

    START ERKIT M B91360 Chapter 4 D etails of the i ncluded M onitor-Debugger UG-9100 06-13 - 18 - © Fujitsu Microe lectron ics Europ e Gm bH DEBUG - ST ACK: Display s the current stack conten ts in terms of function cal ls. Parameters, if any, are given i n brack ets. DEBUG - V ECTOR: Reads out and displays the actual interrupt-vector table. Use the[...]

  • Page 19

    START ERKIT M B91360 Chapter 4 D etails of the i ncluded M onitor-Debugger © Fujitsu Microe lectron ics Europ e Gm bH - 19 - UG-9100 06-13 Example: restart: set register PC=1f4000 set break main go In order to document or save debugging details such as memory contents, all outputs fed to the command console can be w ritten to a file (“logging”[...]

  • Page 20

    START ERKIT M B91360 Chapter 5 Fl as h Progra m ming UG-9100 06-13 - 20 - © Fujitsu Microe lectron ics Europ e Gm bH 5 Flash Pr ogra mmin g W henev er your application has been developed, debugged and tested as ex plained in the last chapter, it c an be programm ed to the internal flash ROM using t he „MB91360 Flash Programmer“. This t ool is [...]

  • Page 21

    START ERKIT M B91360 Chapter 5 Fl as h Progra m ming © Fujitsu Microe lectron ics Europ e Gm bH - 21 - UG-9100 06-13 Follow these steps to use the M B91360 Flash Pr ogrammer : 1. Be sure to have the st arterkit in Monitor (single-chip) mode. Check the position of the jumpers and dip-switches onboard according to tabl e1. 2. Connect the RS232- cabl[...]

  • Page 22

    START ERKIT M B91360 Chapter 6 E valuation Board Hardware UG-9100 06-13 - 22 - © Fujitsu Microe lectron ics Europ e Gm bH 6 Evaluation Board Hardw are 6.1 Board Components Socket QFP208 for Microcontrol ler MB91F361/2 Monitor UART and RS232-connect or DC input On/Off 512k SRAM Oscillator s PAL User buttons on external Ints 0,1 Mode LCD Prototyping[...]

  • Page 23

    START ERKIT M B91360 Chapter 6 E valuation Board Hardware © Fujitsu Microe lectron ics Europ e Gm bH - 23 - UG-9100 06-13 The evaluation board provides various IO-signals, which can be connected t o external devices. The contr oller resource functions are available on the c onnectors JP14, JP15, JP16 and JP20. External peripheral devices can be co[...]

  • Page 24

    START ERKIT M B91360 Chapter 6 E valuation Board Hardware UG-9100 06-13 - 24 - © Fujitsu Microe lectron ics Europ e Gm bH Jumper Description JP12 V cc/Gnd array for testpurposes JP14 S erial communication pins (UART0-3 , CAN0-2) JP15 P uls generator outputs 0-7, Stepper motor (P W M ) outputs 0-4 JP16 A /D inputs 0-7, Alarm comp. Input, Sound gen.[...]

  • Page 25

    START ERKIT M B91360 Chapter 6 E valuation Board Hardware © Fujitsu Microe lectron ics Europ e Gm bH - 25 - UG-9100 06-13 6.3 Conn ectors f or resou rces and IO-s ignals MCU-pins are grouped according to their logical functions. See the hardw are manual for details on the resource functions. JP16 : Analog Input s (ADC) Analog Outputs ( DAC) Sound [...]

  • Page 26

    START ERKIT M B91360 Chapter 6 E valuation Board Hardware UG-9100 06-13 - 26 - © Fujitsu Microe lectron ics Europ e Gm bH Note: Address bus and data bus pi ns (JP24,25) cannot be used as IO-ports. Jumper Pin-No. Pin Name IO-Po rt Resour ce Function JP16 06 4 AVCC - Analog Vcc 065 AVRH - Analog Ref erence High 066 AN0 PH0 AD C Input Channel 0 067 A[...]

  • Page 27

    START ERKIT M B91360 Chapter 6 E valuation Board Hardware © Fujitsu Microe lectron ics Europ e Gm bH - 27 - UG-9100 06-13 Jumper Pin-No. Pin Name IO-Po rt Resour ce Function 107 OUT1 PL5 OCU Output 1 108 OUT2 PL6 OCU Output 2 109 OUT3 PL7 OCU Output 3 128 SDA PM2 I2C- Interfac e SDA 129 SCL PM3 I2C-Interface SCL JP14 146 T X0 PP0 CAN 0 TX 147 RX0 [...]

  • Page 28

    START ERKIT M B91360 Chapter 6 E valuation Board Hardware UG-9100 06-13 - 28 - © Fujitsu Microe lectron ics Europ e Gm bH Jumper Pin-No. Pin Name IO-Po rt Resour ce Function 162 P W M1P0 PR0 SMC 0 163 P W M1M0 PR1 SMC 0 164 P W M2P0 PR2 SMC 0 165 P W M2M0 PR3 SMC 0 166 HVDD - SMC D river Vdd 167 P W M1P1 PR4 SMC 1 168 P W M1M1 PR5 SMC 1 169 P W M2[...]

  • Page 29

    START ERKIT M B91360 Chapter 7 Appendix © Fujitsu Microe lectron ics Europ e Gm bH - 29 - UG-9100 06-13 7 Appendix 7.1 Mem ory Map pings MB91F36 2 7.1.1 MODE 000 (Sing le- Chip / M onitor Mod e) MB91F362 Memory Map Recomm ended Mappings Figure 5: Memory Mapping Single Chip Mode / Monitor Mode[...]

  • Page 30

    START ERKIT M B91360 Chapter 7 Appendix UG-9100 06-13 - 30 - © Fujitsu Microe lectron ics Europ e Gm bH 7.1.2 MODE 001 (Ex ternal Bus / U ser Mo de) MB91F362 Memory Map Recom mended Mappings Figure 6: Memory Mapping External Mode / User Mode[...]

  • Page 31

    START ERKIT M B91360 Chapter 7 Appendix © Fujitsu Microe lectron ics Europ e Gm bH - 31 - UG-9100 06-13 7.2 Tool options for own projects Valid load module files for MB91360 devices can only be achiev ed if the language tool configuration is appr opriate. If you use the provided samples or templates, you do not have to worry about these settings. [...]

  • Page 32

    START ERKIT M B91360 Chapter 7 Appendix UG-9100 06-13 - 32 - © Fujitsu Microe lectron ics Europ e Gm bH 7.3 Star terkit limitation s If creating new project s, be sure not to use t he following f unctions, which are reserved for the MB91360 Starterkit: < Flash-ROM area 0F0000..0F3FFF (reserved for M on itor kernel) < Port G / upper ADC i npu[...]

  • Page 33

    START ERKIT M B91360 Chapter 7 Appendix © Fujitsu Microe lectron ics Europ e Gm bH - 33 - UG-9100 06-13 7.4 Bo ard Schematics[...]

  • Page 34

    START ERKIT M B91360 Chapter 7 Appendix UG-9100 06-13 - 34 - © Fujitsu Microe lectron ics Europ e Gm bH[...]

  • Page 35

    START ERKIT M B91360 Chapter 7 Appendix © Fujitsu Microe lectron ics Europ e Gm bH - 35 - UG-9100 06-13[...]

  • Page 36

    START ERKIT M B91360 Chapter 7 Appendix UG-9100 06-13 - 36 - © Fujitsu Microe lectron ics Europ e Gm bH 7.5 Silk Scre en[...]

  • Page 37

    START ERKIT M B91360 Chapter 7 Appendix © Fujitsu Microe lectron ics Europ e Gm bH - 37 - UG-9100 06-13 7.6 PAL Lis ting ;PALASM Design Description ;---------------------------------- Declaration Segment ------------ TITLE STK360_1.PDS PATTERN A REVISION 1.3 AUTHOR M.MIERSE COMPANY FUJITSU MIKROELEKTRONIK GMBH DATE 20/09/99 CHIP STK360 PAL22V10 ; [...]

  • Page 38

    START ERKIT M B91360 Chapter 7 Appendix UG-9100 06-13 - 38 - © Fujitsu Microe lectron ics Europ e Gm bH EQUATIONS ; ----------------------------------------------------------------------- ; Power-on Indicator (Flip-Flop) : ; ----------------------------------------------------------------------- PONFLAG.CLKF = RESETIN ; Power-on-Flag ist 0 at Pon [...]

  • Page 39

    START ERKIT M B91360 Chapter 7 Appendix © Fujitsu Microe lectron ics Europ e Gm bH - 39 - UG-9100 06-13 ; SRAMS active in areas : /CSRAM = (/A20 * A19 * /CS0) ; 08:0000...0F:FFFF (CS0) +( A20 * A19 * /CS0) ; 18:0000...1F:FFFF (CS0) +( A20 * A19 * /CS2) ; 38:0000...3F:FFFF (CS2) ; UART-Area = 20:0000...27:FFFF (CS0 in Monitor-mode or CS2 in USER mo[...]

  • Page 40

    START ERKIT M B91360 Chapter 7 Appendix UG-9100 06-13 - 40 - © Fujitsu Microe lectron ics Europ e Gm bH 7.8 Relat ed Document s Available manuals for MB91360 series : 1. MB91360 Hardw are Manual 2. MB91F36X Datasheet (General Specification) 3. FR Family C-Compiler M anual 4. FR Family Instruction M anua l 5. FR Family Assembler Manual 6. FR Family[...]

  • Page 41

    START ERKIT M B91360 Chapter 7 Appendix © Fujitsu Microe lectron ics Europ e Gm bH - 41 - UG-9100 06-13 7.9 Trouble Shooting Problem Soluti on Evaluationboard d oes no t initialize after power-on. LED D10 (P ower indica tor) does not light up and the LC -display remains empty . Check v oltage supply and jumpers : ☛ The v olt age on DC-Pow er plu[...]

  • Page 42

    START ERKIT M B91360 Chapter 7 Appendix UG-9100 06-13 - 42 - © Fujitsu Microe lectron ics Europ e Gm bH Problem Soluti on evaluation board fails (Communication er rors) (see debugger in t roduction). ☛ Make sure no other programs are using the same COM -port on y our PC. Close all o ther applications (e.g. Fla sh programmer u tilities, termin al[...]

  • Page 43

    START ERKIT M B91360 Chapter 7 Appendix © Fujitsu Microe lectron ics Europ e Gm bH - 43 - UG-9100 06-13 7.10 Fig ures Figure 1: Usi ng the Start erkit a s targe t board for the ICE ....................................................... 7 Figure 2: So ftune W orkbe nch E di tor ......................................................................[...]