Fujitsu MB9B500 Series Jumpers Overview, Setting for UART On-Board Programming, 1 Jumper List

Page 8
2.2 Jumpers Overview

2.2 Jumpers Overview

 

 

Jumper Name

 

Function

 

Setting

 

 

J101-J103*1

 

Power selection

 

Short J101: select external power

 

 

 

 

Short J102: select JTAG power

 

 

 

 

 

 

Short J103: select USB power

 

 

J104*2

 

Voltage selection

 

Short 1,2: 5V

 

 

 

 

 

 

Short 2,3: 3.3V

 

 

J-USB-

 

USB Host/Function

Short 1,2: USB Function

 

 

J-USB+

 

selection

Short 2,3: USB Host

 

 

J105

Mode setting

Short: Programming mode

 

 

Open: Normal mode

 

 

 

 

 

 

 

J106

 

Oscillator Selection

 

Short 1,2: when 4M oscillator is used

 

 

 

 

Short 2,3: when 48M oscillator is used

 

 

 

 

 

 

 

 

J107

P22 connection

Short: connect P22 (UART_TX0) with MAX3232

 

 

Open: disconnect P22 (UART_TX0) with MAX3232

 

 

 

 

 

 

 

J701

Voltage division

Short: when 5V power is used

 

 

Open: when 3.3V power is used

 

 

 

 

 

Attention:

 

Table 2-1: Jumper List

 

 

 

 

1)Never short J101-103 at the same time! When Keil U-Link ME is used, JTAG power can not be used.

2)When Keil U-link is used, only 3.3V can be selected, never select 5V power!

2.3 Setting for UART On-Board Programming

 

Part Number

 

Function

Setting

 

 

UART-0

 

DB9 connector

Connect with PC via RS232 cable

 

 

 

 

 

 

 

 

 

 

J106

Oscillator Selection

Open

 

 

 

J105

Mode setting

short

 

 

 

J107

 

P22 connection

short

 

 

 

 

 

 

Table 2-2: Setting for UART On-Board Programming

 

2.4 Setting for USB On-Board Programming

 

 

 

 

 

 

 

 

 

 

 

Part Number

 

 

Function

 

 

Setting

 

 

USBFUNCTION

 

 

USB function connector

 

Connect with PC via USB cable

 

 

 

 

 

 

 

 

 

 

 

J-USB-

 

 

Function/Host selection

 

Short 1,2

 

 

J-USB+

 

 

 

 

 

 

 

 

 

 

 

 

 

J105

 

Mode setting

 

 

Short

 

 

J106

 

 

Oscillator Selection

 

 

Short 1,2

 

 

J107

 

P22 connection

 

 

Open

 

 

J701

 

Voltage division

 

 

Short: when 5V power is used

 

 

 

 

 

Open: when 3.3V power is used

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 2-3: Setting for USB On-Board Programming

 

8

Image 8
Contents FUJITSU SEMICONDUCTOR SHANGHAI LIMITED MB9B500 Series32-BIT MICROCONTROLLER APPLICATION NOTEALL RIGHTS RESERVED Revision History DateVersion 2011-04-212 HARDWARE SETTING REVISION HISTORY1 INTRODUCTION 3 FLASH ON-BOARD PROGRAMMING1.2 MB9B506 Series MCU 1 Introduction1.1 Product Overview 1.3 Board Features 2 Hardware Setting AD channel2.3 Setting for UART On-Board Programming 2.4 Setting for USB On-Board Programming2.2 Jumpers Overview Table 2-2 Setting for UART On-Board Programming„ Use Keil U-Link ME 2.5 Setting for Debug Tool„ Use IAR J-Link 3 Flash On-Board Programming 3.1 On-Board Programming via UART3.2 On-Board Programming via USB Figure 3-7 Press Reset ButtonFigure 3-4 USB Device Sign Figure 3-5 COM Port in Device Manager„ Press reset key on the board. Programming will start Figure 3-8 Start Programming4 Sample Code 4.1 UART „ Hardware Setting„ Flowchart „ UsageFigure 4-3 Send UART Data From PC Side 4.2 Nand Flash 4.3 RTC„ Hardware Setting None „ Flowchart Flowchart4.4 CAN „ Block Diagram4.5 USB Function 4.6 USB Host 4.7 LCD & AD & Key 5 Debug Tool and IDE Figure 5-1 J-Link Overview Figure 5-2 U-Link Overview5.1 Debug with J-Link in IAR EWARM Workbench „ Run an Existed ProjectTool bar Project list Log window Watch window Main window2 Select a project eww file 3 Click “Project Rebuild All”Figure 5-5 Select a Project Figure 5-6Rebuild All„ Setting for Flash Debug Figure 5-11 Flash Load File Path 2 Don’t select “Use macro files” in “DebuggerSetup” tableFigure 5-10 Macro File Disabled „ Setting for RAM Debug 2 Select “Use macro files” in “DebuggerSetup” tableFigure 5-13 Macro File Enabled Figure 5-12 ICF File for RAM Debug„ How to Make a HEX File Figure 5-14 Flash Loader File Disabled3 Don’t use Flash loader file 1 Use Flash debug5.2 Debug with U-Link ME in Keil uVision4 Tool bar Project list Build outputFigure 5-16 Keil IDE Overview Figure 5-17 Open a Project2 Select a project uvproj file 3 Rebuild all4 Start debug Figure 5-18 Select a ProjectFigure 5-22 ROM Address Setting for Flash Debug Figure 5-21 Debug Tool Bar3 Check “Update Target before Debugging” checkbox Figure 5-24 Select Update Target Before Debugging2 Don’t use initialization file Figure 5-23 Don’t use initialization File1 Set ROM address in Code SRAM area. 0x1fff8000-0x1fffffff 2 Set initialization file path. ..\DebugRAM.iniFigure 5-25 Set RAM Address for RAM Debug Figure 5-26 Select Initialization FileFigure 5-27 Select Update Target Before Debugging Figure 5-28 HEX File Generation in Keil IDE6 Materials Download „ Software„ Document „ Sample code