Fujitsu MB9B500 Series manuel d'utilisation

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

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Fujitsu MB9B500 Series. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Fujitsu MB9B500 Series ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Fujitsu MB9B500 Series décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Fujitsu MB9B500 Series devrait contenir:
- informations sur les caractéristiques techniques du dispositif Fujitsu MB9B500 Series
- nom du fabricant et année de fabrication Fujitsu MB9B500 Series
- instructions d'utilisation, de réglage et d’entretien de l'équipement Fujitsu MB9B500 Series
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Fujitsu MB9B500 Series ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Fujitsu MB9B500 Series et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Fujitsu en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Fujitsu MB9B500 Series, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Fujitsu MB9B500 Series, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Fujitsu MB9B500 Series. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    MCU-AN-510014-E-10 FM3 32 -BIT MICROCONTROLLER MB9B500 Series FSS MB9BF506R EV-BOARD USER MANUAL APPLICATION NOTE For more inf ormation f or the FM3 m icrocontr oller, visit t he web site at: http://ww w.fujitsu. com/glob al/servi ces/microe lectroni cs/prod uct/micom /roadmap/i ndustria l/fm3/  FUJITSU SEMICONDUCTOR (SHANGHAI) LIMITED[...]

  • Page 2

    2 ALL RIGHTS RESERVED The contents of this document are subject to change without notice. Customers are advised to consult with sales representatives before ord ering. The information, such as descriptions of function an d application ci rcuit examples, in this document are presented solely for the purpose of reference to show examples of operation[...]

  • Page 3

    Revision History Date Version 2011-04-21 V1.0 3[...]

  • Page 4

    Table of Contents REVISION HI ST OR Y ................................................................................................. 3 1 INTRO DUCTION ..................................................................................................... 5 1.1 Product Overview .......................................................................[...]

  • Page 5

    1 Introduction 1.1 Product Overview FSS MB9BF506R EV-Board (PN: FSSDC-9B506-EVB) pr ovides an economical and simple means for study usage for MB9B506 series MCU. The board compatible with both 3.3 and 5V system contains abundant external resources (LCD, buttons, UART, Nand Flash, CAN…) to demonstrate MCU periphery function. It also provides stand[...]

  • Page 6

    The size of on-chip memory can be configured according to different part number and the package is available in LQFP and BGA, shown in following table. Product Flash SRAM Package MB9BF500N/R 256kB 32kB N: LQFP-100 R: LQFP-120 MB9BF504N/R 256kB 32kB N: LQFP-100/BGA-1 12 R: LQFP-120 MB9BF505N/R 384kB 48kB N: LQFP-100/BGA-1 12 R: LQFP-120 MB9BF506N/R [...]

  • Page 7

    2 Hardware Setting 2.1 Main Features DB9 Connector UART channel 0 LED LED2-LED4 ( P1B-P19 ) DB9 Connector UART channel 2 External Power 15V JTAG Connector LCD Potentiome ter AD channel 7 CAN TX0_2, RX0_2 USB Device USB Host Nand Flash attached on external bus CS7 area RTC attached on I 2 C channel 7 Key “Reset” Key “Left” (P40), “Right”[...]

  • Page 8

    2.2 Jumpers Overview Jumper Name Function Setting J101-J 103 *1 Power select ion Short J101: select external power Short J102: select JT AG power Short J103: select USB power J104 *2 V oltage selection Short 1,2: 5V Short 2,3: 3.3V J-USB- J-USB+ USB Host/Function selection Short 1,2: USB Function Short 2,3: USB Host J105 Mode setting Short: Program[...]

  • Page 9

    2.5 Setting for Debug Tool  Use IAR J-Link Part Number Function Setting 20PIN-JT AG JT AG connctor Connect with J-Lin k J101-J 103 Power selection Short J101: select external power Short J102: select JT AG power Short J103: select USB power J104 V oltage selection Short 1,2: 5V Short 2,3: 3.3V J105 Mode setting Open Table 2-4: Setting for J-Link[...]

  • Page 10

    3 Flash On-Board Programming There are two ways to program the on-chip Flash of MB9BF506 series MCU: UART On- Board Programming and USB On-Board Programming. 3.1 On-Board Programming via UART  First check the hardware setting as introduced by section 2. 3.  Install the UART programmer: PCWFM3_V01L01. (It can be downloaded on the web)  Open[...]

  • Page 11

    3.2 On-Board Programming via USB  First check the hardware setting as introduced by section 2. 4.  After connect with PC via USB cable, the EVB can be identified as a USB device. Figure 3-4: USB Device Sign  Check the COM port for this USB port in the device manager. Figure 3-5: COM Port in Device Manager  Install the USB programmer: US[...]

  • Page 12

     Press reset key on the board. Programming will start. Figure 3-8: Start Programming 12[...]

  • Page 13

    4 Sample Code The sample codes for FSSDC-9B596-EV board are listed as following table. Project Name Description ext_bus_nandflash Use external bus to access Nand Flash uart Use UART to communicate with PC can Implement CAN communication between 2 CAN nodes rtc Use IIC to access RTC module usb_function_mose Implement the USB mouse to demonstrate USB[...]

  • Page 14

    4.1 UART  Hardware Setting Connect UART-2 with PC via RS232 cable  Flowchart Figure 4-1: UART Sample Code Flo wchart  Usage 1) Open a COM assistant software, make following setting, and open COM port Figure 4-2: COM Assistant Setting 2) Open UART sample code and run it, user can watch a str ing on the COM assistant window. Then send charac[...]

  • Page 15

    Figure 4-3: Send UART Data From PC Side 15[...]

  • Page 16

    4.2 Nand Flash  Hardware Setting None  Flowchart Start Initial external bus (Use CS7 area, 8 bit data width) Read Flash ID Erase page 11 of block 0 Write data into page 11 of block 0 Read data from page 11 of block 0 Erase page 20 of block 100 Write data into page 20 of block 100 Read data from page 20 of block 100 End Figure 4-4: Nand Flash [...]

  • Page 17

     Usage 1) Open Nand Flash sample project, and start debug. 2) Use “step over” to debug, and watch local variable “sec”, “min”, “hour”. 4.4 CAN  Hardware Setting Connect 2 EV-board with CAN interface, as following figure. CAN 1 CAN 2 CAN 1 CAN 2 EV board 1 (Node A) EV board 2 (Node B) Figure 4-6: CAN Hardware Connection  Blo[...]

  • Page 18

    4.5 USB Function  Hardware Setting ¾ Check if 1,2 of J-USB- and J-USB+ short ¾ Check J701 (Short: 5V, Open: 3.3V) ¾ Connect with PC via USB cable  Flowchart The following flowchart illuminates the procedure to implement a USB mouse, it is not a certain flow of a function, but provides a clue to study and understand the sample cod e. Start [...]

  • Page 19

    4.6 USB Host  Hardware Setting ¾ Check if 2,3 of J-USB- and J-USB+ short ¾ Connect with a USB mouse  Flowchart The following flowchart illuminates the procedure to implement USB host function, which can catch the position of a USB mouse, it is not a certain flow of a function, but provides a clue to study and understand the sample code. Sta[...]

  • Page 20

    4.7 LCD & AD & Key  Hardware Setting None  Flowchart Start Initializa tion (clock, key, lcd, led, dual timer, ad) Press key? Display key pressed in LCD AD conve rt Pre_AD_value- Cur_AD_calue>threshold value Display new AD value on LCD Count Time = 1s Set LCD update flag Set LCD update flag Count time++ Y N Y N N Y LCD update flag =[...]

  • Page 21

    5 Debug Tool and IDE FSS MB9BF506R EV-Board supports both Keil U-Link-ME and IAR J-Link for debug shown as following. Figure 5-1: J-Link Overview Figure 5-2: U-Link Overview The U-Link-me should be used wit h Keil uVision 4 which can be downloaded freely from following web. https://www.keil.com/update/sw/RVMDK/4.20 The J-Link should be used with IA[...]

  • Page 22

    5.1 Debug with J-Link in IAR EWARM Workbench The sample code can be debugged in IAR EWARM Workbench with J-Link. The fo llowing figure shows basic debug window. Main window Watch window Log window list Project Tool bar Figure 5-3: IAR IDE Overview  Run an Existed Project 1) Open a project by clicking “File | Open | Workspace” Figure 5-4: Ope[...]

  • Page 23

    2) Select a project (eww file) Figure 5-5: Select a Project 3) Click “Project | Rebuild All” Figure 5-6:Rebuild All 23[...]

  • Page 24

    4) Click “Download and Debug” Figure 5-7:Click Do wnload and Debug 5) Use following tool bar to debug Figure 5-8: Debug T ool Bar The sample codes support both Flash and RAM debug in IAR EWARM Workbench, if Flash debug is used, the code is programmed into MB9BF506 Flash. If RAM debug is used, the code only runs in RAM area, and after power off,[...]

  • Page 25

    2) Don’t select “Use macro files” in “Debugger|Setup” table. Figure 5-10: Macro File Disab led 3) Set Flash loader file path ($TOOLKIT_ DIR$configflashloaderF ujitsuMB9BF506.board) in “Debug|Download” table. Figure 5-11: Flash Load File Path 25[...]

  • Page 26

     Setting for RAM Debug 1) Check the configuration file path ($PROJ_DIR$configmb9bf506_ram.icf) in L inker table. Figure 5-12: ICF File for RAM Debug 2) Select “Use macro files” in “Debugger|Setup” table. Figure 5-13: Macro File Enabled 26[...]

  • Page 27

    3) Don’t use Flash loader file. Figure 5-14: Flash Loader Fil e Disabled If user need to program the hex file into Flash via UART or USB programmer, a hex file need to be produced first.  How to Make a HEX File 1) Use Flash debug 2) Select “Generate additional output” in “Output Converter” table. Figure 5-15: Hex File Genrati on in IAR[...]

  • Page 28

    5.2 Debug with U-Link ME in Keil uVision4 The sample code can also be debugged in Keil μ Version4 with U-Link. The following figure shows basic debug window. Build output Project list Main window Watch window Tool bar Figure 5-16: Keil IDE Overview  Run an Existed Project 1) Open a project by clicking “Project | Open Project…” Figure 5-17[...]

  • Page 29

    2) Select a project (uvproj file) Figure 5-18: Select a Project 3) Rebuild all Figure 5-19: Rebuild Al l Files 4) Start debug Figure 5-20: Start Debug 29[...]

  • Page 30

    5) Use following tool bar to debug Figure 5-21: Debug T ool Bar The sample codes support both Flash and RAM debug in Keil uVison 4, if Flash debug is used, the code is programmed into MB9BF506 Flash. If RAM debug is used, the code only runs in RAM area, and after power off, the code will no t be stored, but the RAM debug will be faster than Flash d[...]

  • Page 31

    2) Don’t use initialization file. Figure 5-23: Don’t use initializ ation File 3) Check “Update Target before Debugging” checkbox Figure 5-24: Select Update Target Before Debu gging 31[...]

  • Page 32

     Setting for RAM Debug 1) Set ROM address in Code SRAM area. (0x1fff8000-0x1fffffff) Figure 5-25: Set RAM Address for RAM Debug 2) Set initialization file path. (..Debug_RAM.ini) Figure 5-26: Select Initialization File 32[...]

  • Page 33

    3) Don’t Check “Update Target before Debugging” checkbox Figure 5-27: Select Update Target Before Debu gging If user need to program the hex file into Flash via UART or USB programmer, a hex file need to be produced first.  How to Make a HEX File 1) Check “Create HEX File” checkbox (This file is Intel Format HEX ) Figure 5-28: HEX File[...]

  • Page 34

    34 6 Materials Download The following materials can be downloaded from below web. http://www.fujitsu.com/cn/ fss /events/contest/2010/index_download.html  Software z FUJITSU Flash MCU Programmer z FUJITSU Flash USB DIRECT Programmer  Document z FSSDC-9B506-EVB User Manual z FSSDC-9B506-EVB Schematic z MB9B506 Series Datasheet z MB9B506 Series[...]