Fujitsu 32-Bit Microcontroller MB9B500 Series Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Carnets de notes Fujitsu 32-Bit Microcontroller MB9B500 Series. FUJITSU 32-Bit Microcontroller MB9B500 Series User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 34
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
MCU-AN-510014-E-10
FM3
32-BIT MICROCONTROLLER
MB9B500 Series
FSS MB9BF506R EV-BOARD
USER MANUAL
APPLICATION NOTE
For more information for the FM3 microcontroller, visit the web site at:
http://www.fujitsu.com/global/services/microelectronics/product/micom/roadmap/industrial/fm3/
FUJITSU SEMICONDUCTOR (SHANGHAI) LIMITED
Vue de la page 0
1 2 3 4 5 6 ... 33 34

Résumé du contenu

Page 1 - MB9B500 Series

MCU-AN-510014-E-10

Page 2 - ALL RIGHTS RESERVED

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 Prog

Page 3 - Revision History

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 EV

Page 4 - Table of Contents

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

Page 5 - 1 Introduction

4 Sample Code The sample codes for FSSDC-9B596-EV board are listed as following table. Project Name Description ext_bus_nandflash Use external

Page 6 - 1.3 Board Features

4.1 UART  Hardware Setting Connect UART-2 with PC via RS232 cable  Flowchart Figure 4-1: UART Sample Code Flowchart  Usage 1) Open a COM as

Page 7 - 2 Hardware Setting

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

Page 8 - 2.2 Jumpers Overview

4.2 Nand Flash  Hardware Setting None  Flowchart StartInitial external bus(Use CS7 area, 8 bit data width)Read Flash IDErase page 11 of block 0

Page 9 - 2.5 Setting for Debug Tool

 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

Page 10 - 3 Flash On-Board Programming

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 ca

Page 11 - 11

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 ill

Page 12

2 ALL RIGHTS RESERVED The contents of this document are subject to change without notice. Customers are advised to consult with sales representa

Page 13 - 4 Sample Code

4.7 LCD & AD & Key  Hardware Setting None  Flowchart StartInitialization(clock, key, lcd, led, dual timer, ad)Press key?Display

Page 14 - 4.1 UART

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 Overvi

Page 15 -

5.1 Debug with J-Link in IAR EWARM Workbench The sample code can be debugged in IAR EWARM Workbench with J-Link. The following figure shows basic de

Page 16 - 4.3 RTC

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

Page 17 - 4.4 CAN

4) Click “Download and Debug” Figure 5-7:Click Download and Debug 5) Use following tool bar to debug Figure 5-8: Debug Tool Bar The sample cod

Page 18 - 4.5 USB Function

2) Don’t select “Use macro files” in “Debugger|Setup” table. Figure 5-10: Macro File Disabled 3) Set Flash loader file path ($TOOLKIT_DIR$\co

Page 19 - 4.6 USB Host

 Setting for RAM Debug 1) Check the configuration file path ($PROJ_DIR$\config\mb9bf506_ram.icf) in Linker table. Figure 5-12: ICF File for RAM

Page 20 - 4.7 LCD & AD & Key

3) Don’t use Flash loader file. Figure 5-14: Flash Loader File Disabled If user need to program the hex file into Flash via UART or USB program

Page 21 - 5 Debug Tool and IDE

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 deb

Page 22 - Figure 5-4: Open a Project

2) Select a project (uvproj file) Figure 5-18: Select a Project 3) Rebuild all Figure 5-19: Rebuild All Files 4) Start debug Figure 5-20: Sta

Page 23 - 23

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

Page 24 - Figure 5-8: Debug Tool Bar

5) Use following tool bar to debug Figure 5-21: Debug Tool Bar The sample codes support both Flash and RAM debug in Keil uVison 4, if Flash debug

Page 25 - 25

2) Don’t use initialization file. Figure 5-23: Don’t use initialization File 3) Check “Update Target before Debugging” checkbox Figure 5-24

Page 26

 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 initi

Page 27 - 27

3) Don’t Check “Update Target before Debugging” checkbox Figure 5-27: Select Update Target Before Debugging If user need to program the hex fi

Page 28 - Figure 5-17: Open a Project

34 6 Materials Download The following materials can be downloaded from below web. http://www.fujitsu.com/cn/fss/events/contest/2010/index_download.

Page 29 - 29

Table of Contents REVISION HISTORY ... 3 1 INTRODUCTIO

Page 30 - Figure 5-21: Debug Tool Bar

1 Introduction 1.1 Product Overview FSS MB9BF506R EV-Board (PN: FSSDC-9B506-EVB) provides an economical and simple means for study usage for MB9B

Page 31 - 31

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 tab

Page 32

2 Hardware Setting 2.1 Main Features DB9 Connector UART channel 0 LED LED2-LED4 (P1B-P19)DB9 Connector UART channel 2External Power 15V JTAG C

Page 33 - 33

2.2 Jumpers Overview Jumper Name Function Setting J101-J103*1 Power selection Short J101: select external power Short J102: select JTAG power Sh

Page 34 - 6 Materials Download

2.5 Setting for Debug Tool  Use IAR J-Link Part Number Function Setting 20PIN-JTAG JTAG connctor Connect with J-Link J101-J103 Power selec

Commentaires sur ces manuels

Pas de commentaire