Fujitsu
MB9B500 Series
user manual
2 Don’t select “Use macro files” in “DebuggerSetup” table
Flowchart
7 Press Reset Button
Hardware Setting
How to
Board Features
13 Macro File Enabled
Page 25
Page 24
Page 26
Image 25
Page 24
Page 26
Contents
MB9B500 Series
FUJITSU SEMICONDUCTOR SHANGHAI LIMITED
32-BIT MICROCONTROLLER
APPLICATION NOTE
ALL RIGHTS RESERVED
Date
Revision History
Version
2011-04-21
REVISION HISTORY
2 HARDWARE SETTING
1 INTRODUCTION
3 FLASH ON-BOARD PROGRAMMING
1.1 Product Overview
1 Introduction
1.2 MB9B506 Series MCU
1.3 Board Features
AD channel
2 Hardware Setting
2.4 Setting for USB On-Board Programming
2.3 Setting for UART On-Board Programming
2.2 Jumpers Overview
Table 2-2 Setting for UART On-Board Programming
Use IAR J-Link
2.5 Setting for Debug Tool
Use Keil U-Link ME
3.1 On-Board Programming via UART
3 Flash On-Board Programming
Figure 3-7 Press Reset Button
3.2 On-Board Programming via USB
Figure 3-4 USB Device Sign
Figure 3-5 COM Port in Device Manager
Figure 3-8 Start Programming
Press reset key on the board. Programming will start
4 Sample Code
Hardware Setting
4.1 UART
Flowchart
Usage
Figure 4-3 Send UART Data From PC Side
4.3 RTC
4.2 Nand Flash
Hardware Setting None Flowchart
Flowchart
Block Diagram
4.4 CAN
4.5 USB Function
4.6 USB Host
4.7 LCD & AD & Key
Figure 5-1 J-Link Overview Figure 5-2 U-Link Overview
5 Debug Tool and IDE
Run an Existed Project
5.1 Debug with J-Link in IAR EWARM Workbench
Tool bar Project list Log window
Watch window Main window
3 Click “Project Rebuild All”
2 Select a project eww file
Figure 5-5 Select a Project
Figure 5-6Rebuild All
Setting for Flash Debug
Figure 5-10 Macro File Disabled
2 Don’t select “Use macro files” in “DebuggerSetup” table
Figure 5-11 Flash Load File Path
2 Select “Use macro files” in “DebuggerSetup” table
Setting for RAM Debug
Figure 5-13 Macro File Enabled
Figure 5-12 ICF File for RAM Debug
Figure 5-14 Flash Loader File Disabled
How to Make a HEX File
3 Don’t use Flash loader file
1 Use Flash debug
Tool bar Project list Build output
5.2 Debug with U-Link ME in Keil uVision4
Figure 5-16 Keil IDE Overview
Figure 5-17 Open a Project
3 Rebuild all
2 Select a project uvproj file
4 Start debug
Figure 5-18 Select a Project
Figure 5-21 Debug Tool Bar
Figure 5-22 ROM Address Setting for Flash Debug
Figure 5-24 Select Update Target Before Debugging
3 Check “Update Target before Debugging” checkbox
2 Don’t use initialization file
Figure 5-23 Don’t use initialization File
2 Set initialization file path. ..\DebugRAM.ini
1 Set ROM address in Code SRAM area. 0x1fff8000-0x1fffffff
Figure 5-25 Set RAM Address for RAM Debug
Figure 5-26 Select Initialization File
Figure 5-28 HEX File Generation in Keil IDE
Figure 5-27 Select Update Target Before Debugging
Software
6 Materials Download
Document
Sample code
Related pages
All Setup page
Top
Page
Image
Contents