Fujitsu 91360 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 91360, 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 91360 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 91360. 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 91360 should contain:
- informations concerning technical data of Fujitsu 91360
- name of the manufacturer and a year of construction of the Fujitsu 91360 item
- rules of operation, control and maintenance of the Fujitsu 91360 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 91360 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 91360, 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 91360.

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 91360 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 oelectroni cs Eur ope User Guide FMEMCU- UG-910006-13 MB91360 SER IES 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 lectronic s Europ e Gm bH Revision Histor y D ate I ssue 1999 1.0 MM First d raft 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 Disclai mer © Fujitsu Microe lectronic s Europ e Gm bH - 3 - UG-9100 06-13 Warrant y and Disclaimer To the m axim um ext ent perm itted b y applicabl e la w, Fuj itsu Micr oelectr onics Eu rope 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 i[...]

  • Page 4

    START ERKIT M B91360 Contents UG-9100 06-13 - 4 - © Fujitsu Microe lectronic s Europ e Gm bH Conten ts REV ISION H IST ORY ............................................................... ............................................. 2 WAR RANT Y A ND DISC LAIM ER .............................................................. ......................[...]

  • Page 5

    START ERKIT M B91360 Contents © Fujitsu Microe lectronic s Europ e Gm bH - 5 - UG-9100 06-13 7.7 Development tools and accessories .................................................................. 3 9 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 lectronic s Europ e Gm bH 1 Introduc tion 1.1 A bstract The Fujitsu MB91360 evaluat ion board is a sta nd-alone application board t hat makes it easy to evaluate and demonstrate almost all features of the MB91360 microcontroller series. Along with the supplied W indo[...]

  • Page 7

    START ERKIT M B91360 Chapter 1 Introdu ction © Fujitsu Microe lectronic s 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 B oard Us age[...]

  • Page 8

    START ERKIT M B91360 Chapter 1 Introdu ction UG-9100 06-13 - 8 - © Fujitsu Microe lectronic s Europ e Gm bH 1.4 Mo de Selection The board has three differ ent “modes”, which are represented by the three r eset-buttons “USE R”, “FL ASH” a nd “ MON ITOR”. By default, t he board will startup in the “MONITOR”-mode, which automatica[...]

  • Page 9

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

  • Page 10

    START ERKIT M B91360 Chapter 2 Installat ion UG-9100 06-13 - 10 - © Fujitsu Microe lectronic s Europ e Gm bH 2.2 Sof tware Insta llation Insert the pr ovided CD-ROM, browse to the installation page and select the Installation option for Softune Workbench. Follow the instructions to unpack and install Softune W orkbench for FR ,as w ell as some exa[...]

  • Page 11

    START ERKIT M B91360 Chapter 3 G etting St arted © Fujitsu Microe lectronic s 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 lectronic s 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 lectronic s 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 fr om the development mode to the debugging mode of So ftune Workbench. 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 lectronic s 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 t he includ ed Monitor-D ebugger © Fujitsu Microe lectronic s Europ e Gm bH - 15 - UG-9100 06-13 4 Details of the i ncl uded Mo nitor -Debu gger 4.1 Basic d ebugger f eatures GO: Executes the program continuously from the memory location pointed to by the curren t pro gram counte r (PC ) unti l a te rmina[...]

  • Page 16

    START ERKIT M B91360 Chapter 4 D etails of t he includ ed Monitor-D ebugger UG-9100 06-13 - 16 - © Fujitsu Microe lectronic s Europ e Gm bH A BORT: Forcibly terminates execution. CAUTION: This f unction can be used in sin gle code line operations only (exa mple: for(k=DELAY_CONSTANT; k>0; k--); ) !! To abort continous execution on t he Starterk[...]

  • Page 17

    START ERKIT M B91360 Chapter 4 D etails of t he includ ed Monitor-D ebugger © Fujitsu Microe lectronic s Europ e Gm bH - 17 - UG-9100 06-13 4.2 A dvanced debug ger feat ures TOGGL E BR EA KPOINT : Sets 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 indica[...]

  • Page 18

    START ERKIT M B91360 Chapter 4 D etails of t he includ ed Monitor-D ebugger UG-9100 06-13 - 18 - © Fujitsu Microe lectronic s Europ e Gm bH DEBUG - ST ACK: Display s the current stack contents in terms o f function calls. Parameters, if any, are given in brackets. DEBUG - VECTO R: Reads out and displays the actual interrupt-vector table. Use the ?[...]

  • Page 19

    START ERKIT M B91360 Chapter 4 D etails of t he includ ed Monitor-D ebugger © Fujitsu Microe lectronic s Europ e Gm bH - 19 - UG-9100 06-13 Example: restart: set register PC=1f4 000 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 ash Progra mming UG-9100 06-13 - 20 - © Fujitsu Microe lectronic s Europ e Gm bH 5 Flash Pr ogra mmin g W henev er your application has been developed, debugged and tested as explained in the last chapter, it can be programm ed to the internal flash ROM using the „ MB91360 Flash Programmer“. This t ool is a ge[...]

  • Page 21

    START ERKIT M B91360 Chapter 5 Fl ash Progra mming © Fujitsu Microe lectronic s Europ e Gm bH - 21 - UG-9100 06-13 Follow these steps to use the M B91360 Flash Programmer : 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 table1. 2. Connect the RS232-c able fr[...]

  • Page 22

    START ERKIT M B91360 Chapter 6 Ev aluation Board Hardw are UG-9100 06-13 - 22 - © Fujitsu Microe lectronic s Europ e Gm bH 6 Evaluation Board Hardw are 6.1 Board Compone nts 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 Prototypi[...]

  • Page 23

    START ERKIT M B91360 Chapter 6 Ev aluation Board Hardw are © Fujitsu Microe lectronic s 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 conn ectors JP14, JP15, JP16 and JP20. External peripheral devices can be c[...]

  • Page 24

    START ERKIT M B91360 Chapter 6 Ev aluation Board Hardw are UG-9100 06-13 - 24 - © Fujitsu Microe lectronic s Europ e Gm bH Jumper Description JP12 Vcc/Gnd array for testpurposes JP14 Serial communication pins (UART0-3 , CAN0-2) JP15 Puls generator outputs 0-7, Stepper motor (P W M) ou tputs 0-4 JP16 A/D inputs 0-7, Alarm comp. Input, Sound gen. Ou[...]

  • Page 25

    START ERKIT M B91360 Chapter 6 Ev aluation Board Hardw are © Fujitsu Microe lectronic s Europ e Gm bH - 25 - UG-9100 06-13 6.3 Connect ors for resources and IO- signals MCU-pins are grouped according to their logical functions. See the hardw are manual for details on the resource functions. JP16 : Analog Inputs (ADC) Analog Outputs ( DAC) Sound Ge[...]

  • Page 26

    START ERKIT M B91360 Chapter 6 Ev aluation Board Hardw are UG-9100 06-13 - 26 - © Fujitsu Microe lectronic s 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-Port Resource Function JP16 06 4 AVCC - Analog Vcc 065 AVRH - Analog Ref erence High 066 AN0 PH0 AD C Input Channel 0 067 AN[...]

  • Page 27

    START ERKIT M B91360 Chapter 6 Ev aluation Board Hardw are © Fujitsu Microe lectronic s Europ e Gm bH - 27 - UG-9100 06-13 Jumper Pin-No. Pin Name IO-Port Resource 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 P[...]

  • Page 28

    START ERKIT M B91360 Chapter 6 Ev aluation Board Hardw are UG-9100 06-13 - 28 - © Fujitsu Microe lectronic s Europ e Gm bH Jumper Pin-No. Pin Name IO-Port Resource Function 162 PWM1P0 PR0 SMC 0 163 PWM1M0 PR1 SMC 0 164 PWM2P0 PR2 SMC 0 165 PWM2M0 PR3 SMC 0 166 HVDD - SMC Dr iver Vdd 167 PWM1P1 PR4 SMC 1 168 PWM1M1 PR5 SMC 1 169 PWM2P1 PR6 SMC 1 17[...]

  • Page 29

    START ERKIT M B91360 Chapter 7 Appendix © Fujitsu Microe lectronic s Europ e Gm bH - 29 - UG-9100 06-13 7 Appendix 7.1 Memo ry Mappin gs MB91F362 7.1.1 MODE 000 ( Single- Chip / Moni tor M ode) MB91F362 Memory Map Recomm ended Mappings Figure 5: Memory Mapping Single C hip Mode / Monitor Mode[...]

  • Page 30

    START ERKIT M B91360 Chapter 7 Appendix UG-9100 06-13 - 30 - © Fujitsu Microe lectronic s Europ e Gm bH 7.1.2 MODE 001 ( External 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 lectronic s 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 achieved 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. T[...]

  • Page 32

    START ERKIT M B91360 Chapter 7 Appendix UG-9100 06-13 - 32 - © Fujitsu Microe lectronic s Europ e Gm bH 7.3 Star terkit limi tations 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 onitor kernel) < Port G / upper ADC input [...]

  • Page 33

    START ERKIT M B91360 Chapter 7 Appendix © Fujitsu Microe lectronic s 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 lectronic s Europ e Gm bH[...]

  • Page 35

    START ERKIT M B91360 Chapter 7 Appendix © Fujitsu Microe lectronic s 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 lectronic s Europ e Gm bH 7.5 Silk Scre en[...]

  • Page 37

    START ERKIT M B91360 Chapter 7 Appendix © Fujitsu Microe lectronic s Europ e Gm bH - 37 - UG-9100 06-13 7.6 PAL Listing ;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 lectronic s 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 lectronic s 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 lectronic s 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 Manual 4. FR Family Instruction M anual 5. FR Family Assembler Manual 6. FR Family S[...]

  • Page 41

    START ERKIT M B91360 Chapter 7 Appendix © Fujitsu Microe lectronic s Europ e Gm bH - 41 - UG-9100 06-13 7.9 Trouble Shooting Problem Soluti on Evaluationboard d oes not initialize after p ower-on. LED D10 (Po wer indicator) doe s not light up and the LC-dis play remains empty . Check voltage supply an d jumpers : ☛ The v oltage on D C-Power plug[...]

  • Page 42

    START ERKIT M B91360 Chapter 7 Appendix UG-9100 06-13 - 42 - © Fujitsu Microe lectronic s Europ e Gm bH Problem Soluti on evaluation board fails (Communication er rors) (see debugger in troduction). ☛ Make sure no other programs are using the same COM-port on y our PC. Close all other applications (e .g. Flash programmer utili ties, terminal s e[...]

  • Page 43

    START ERKIT M B91360 Chapter 7 Appendix © Fujitsu Microe lectronic s Europ e Gm bH - 43 - UG-9100 06-13 7.10 Fig ures Figure 1: Usin g the Start erki t as targe t boa rd for the ICE ....................................................... 7 Figure 2: Softu ne Workb ench E ditor .......................................................................[...]