To the maximum extent permitted by applicable law, Fujitsu Microelectronics Europe GmbH restricts
its warranties and its liability for the SK-91467R-176PMC Board and all its deliverables (eg.
software include or header files, application examples, target boards, evaluation boards, engineering
samples of IC’s etc.), its performance and any consequential damages, on the use of the Product in
accordance with (i) the terms of the License Agreement and the Sale and Purchase Agreement under
which agreements the Product has been delivered, (ii) the technical descriptions and (iii) all
accompanying written materials. In addition, to the maximum extent permitted by applicable law,
Fujitsu Microelectronics Europe GmbH disclaims all warranties and liabilities for the performance of
the Product and any consequential damages in cases of unauthorized decompiling and/or reverse
engineering and/or disassembling. Note, the SK-91467R-176PMC Board and all its deliverables are intended and must only be used in an evaluation laboratory environment.
1. Fujitsu Microelectronics Europe GmbH warrants that the Product will perform substantially in
accordance with the accompanying written materials for a period of 90 days form the date of
receipt by the customer. Concerning the hardware components of the Product, Fujitsu
Microelectronics Europe GmbH warrants that the Product will be free from defects in material
and workmanship under use and service as specified in the accompanying written materials
for a duration of 1 year from the date of receipt by the customer.
2. Should a Product turn out to be defect, Fujitsu Microelectronics Europe GmbH´s entire liability
and the customer’s exclusive remedy shall be, at Fujitsu Microelectronics Europe GmbH´s
sole discretion, either return of the purchase price and the license fee, or replacement of the
Product or parts thereof, if the Product is returned to Fujitsu Microelectronics Europe GmbH in
original packing and without further defects resulting from the customer’s use or the transport.
However, this warranty is excluded if the defect has resulted from an accident not attributable
to Fujitsu Microelectronics Europe GmbH, or abuse or misapplication attributable to the
customer or any other third party not relating to Fujitsu Microelectronics Europe GmbH.
3. To the maximum extent permitted by applicable law Fujitsu Microelectronics Europe GmbH
disclaims all other warranties, whether expressed or implied, in particular, but not limited to,
warranties of merchantability and fitness for a particular purpose for which the Product is not
designated.
4. To the maximum extent permitted by applicable law, Fujitsu Microelectronics Europe GmbH´s
and its supplier’s liability are restricted to intention and gross negligence.
NO LIABILITY FOR CONSEQUENTIAL DAMAGES
To the maximum extent permitted by applicable law, in no event shall Fujitsu
Microelectronics Europe GmbH and its suppliers be liable for any damages whatsoever
(including but without limitation, consequential and/or indirect damages for personal
injury, assets of substantial value, loss of profits, interruption of business operation,
loss of information, or any other monetary or pecuniary loss) arising from the use of
the Product.
Should one of the above stipulations be or become invalid and/or unenforceable, the remaining
stipulations shall stay in full effect
< Supports Fujitsu’s MB91F467R MCU in FPT-176P-M07 package or the MB2198
Emulator System with the Probe Cables EMA-MB91F467R-NLS-176M07 and EMAMB91F467R-LS-176M07
< 9-12V unregulated external DC power supply
< 5V, 3.3V, 2.5V and 1.8V onboard switching mode voltage regulators
< Power-LEDs for all supply voltages
< Onboard voltage supervisor monitors three of four supply voltages
< In-Circuit serial Flash programming (UART0)
< All resources available for evaluation
< All MCU pins routed to connectors
< 4 MHz main crystal
< 32 kHz crystal for sub clock operation
< Four RS232- or LIN interfaces and two CAN interfaces are usable simultaneously
< 3V capable CAN, LIN and RS232 transceivers
< 8 User LEDs
< Reset button, Reset LED
< 5 User buttons
< 96+48-pin VG connectors featuring external bus signals, e.g. for graphic sub-board
< 4 MB Flash ROM, 2 MB SRAM and 8 MB SDRAM connected to external bus
This board must only be used for test applications
The SK-91467R-176PMC supports the 32-bit Flash microcontroller MB91F467R.
It can be used as a stand-alone evaluation board or as a target board for the emulator
debugger.
The evaluation board supports the following package: FPT-176P-M07.
1.3.1 MCU Clocks
The board is supplied with a 4 MHz crystal as main oscillation source. Using the internal PLL
of the µC, internal clock rates up to 100 MHz can be achieved.
1.3.2 RS-232 and LIN
Four separate RS232 transceivers and four single-wire LIN-transceivers (TLE7259) are
available to connect four on-chip UARTs to 9-pin D-Sub connectors (X2-X5). The
transceivers generate the adequate RS232 levels for the receive (RXD) and transmit (TXD)
and LIN bus lines. In RS232 mode, either the DTR line or the RTS line can be selected with
jumpers (JP67, 77, 87, 97) to generate a system reset. The RTS signal can be shortcut to
CTS using the jumpers JP68, 78, 88 and 98. Each of the four D-Sub connectors can be
configured as RS232 or LIN. The LIN Vs line can be powered by the unregulated supply
input of the board, so no additional supply is needed (JP69, 79, 89 and 99).
All transceivers are fully 3.3V IO compatible to enable low voltage applications.
In-circuit programming (asynchronous, synchronous) can be done via LIN-UART 0(X2).
1.3.3 CAN Bus
Two high-speed CAN transceivers (TLE6250GV33) can be connected to the CAN interfaces
of the MCU to allow easy connection to CAN networks.
All transceivers are fully 3.3V IO compatible to enable low voltage applications.
1.3.4 MCU Pins / External Bus Interface Connector
All pins of the microcontroller except the oscillator pins X0/1(A) are connected to edge
connectors in functional groups and are directly available to the user. Furthermore, all
signals of the external bus interface are connected to a 96+48-pin VG connector to interface
e.g. external graphic sub-boards such as Fujitsu’s ‘Jasmine’ sub-board.
1.3.5 Power Supply
The on-board switching mode voltage regulators allow the user to connect an unregulated
DC input voltage of +9V to +15V, and supplies all voltages needed by the board and an
optional graphic sub-board. The regulators are rated with 3A (5V and 3.3V) resp. 1.5A (2.5V,
1.8V) and are thermally protected against overload.
1.3.6 User Buttons
There are six push button switches on the board, which can be connected to input ports of
the microcontroller. This allows the user to evaluate external Interrupts, external ADC trigger
or Input Capture functions as well as simple input polling. One button is reserved as ‘Reset’button for the microcontroller, controlled by the supply monitor IC.
Eight user LEDs are connected to Port 28 and grounded by a 220R resistor network. If these
LEDs are not required, the resistor network can be removed to disconnect the LEDs and to
free the IO port.
1.3.8 Onboard Memories
4 MB Flash ROM, 2 MB SRAM and 8 MB SDRAM are connected to external bus chip select
areas 0 (Flash),1 (SRAM) and 2 (SDRAM). SRAM and SDRAM can be accessed 16 bit
wide. Flash can be accessed 8 bit or 16 bit wide (JP40, JP42).
1.3.9 I2C Bus
Additional pull-up resistors can be connected to the I²C bus lines by setting the according
Jumpers (JP20, 21, 22, 23, 24, 25) for I²C 0/1.
1.3.10 Emulator System
If the board is used as an emulator target board, the microcontroller must be removed from
the socket and the corresponding probe cable has to be mounted:
Series V-Chip Probe cable Socket
MB91460R MB91V460
EMA-MB91F467R-NLS-176M07
NQPACK176SD
HQPACK176SD
Table 1-1: Emulation System
Attention:
Socket for Flash chip mounting and probe cable connection is very sensitive. Always fit
probe cable or socket cover very carefully. If any unexpected problems occur, please check
proper connection of MCU/probe cable pads to socket.
Note:
Some customers experience connectivity problems when connecting the MCU into
the socket adapter. Only the small red screwdriver available in your box should be
used to connect the cover (HQPACK) onto the socket (NQPACK).
If the four screws are not tightening equally, then it may cause a poor contact.
Do not screw the cover too tight (max 0.054 Nm). If you have connectivity problems
then please loosen the screws and tighten again the screws equally.
Do not clean NQPACK, YQPACK, and YQSOCKET with steam. Cleaning material will
Carefully remove the board from the shipping carton.
First, check if there are any damages before powering up the evaluation board.
For the power supply a DC input voltage of 9V – 15V is recommended. The positive
voltage (+) must be connected to the shield, and ground (GND) must be connected to
the center pin of the connector X6!
Special care must be taken to the max. input voltage, if the LIN Vs lines are supplied
by the board (JP69, 79, 89, 99), since the input supply voltage is directly applied to pin
1 of X2-X5 without a voltage regulator.
After power-on (Switch S3 or JP19), the yellow power-on LEDs (D20, D28, D32, D36) should
be lit. If the LEDs do not light up, switch off the power supply and check input polarity and
current capability of the DC supply used.
The starter-kit is delivered with programmed Softune Workbench (SWB) Monitor Debugger
in the external flash. The SWB Monitor Debugger checks also the external SRAM access at
CS1. In case of successful access to external SRAM the LED LD1, LD3 and LD7 are on.
To use the SWB Monitor Debugger, the CPU mode selection must be set to the External
Reset Vector mode by setting DIP switch S1 to (Off, Off, Off, On), which is the delivery state.
To use the MCU with the internal flash, which is normally required for the final application,
the CPU mode selection must be set to the Internal Reset Vector mode by setting DIP switch
S1 to (Off, Off, Off, Off)
The in-circuit programming allows the user to program own applications into the Flash
memory. The procedures for Flash programming are described in chapter 6.
If the board shall be used as an emulator target board, switch off the power supply and
remove the microcontroller from the socket. Now the probe cable can be mounted on the
socket. Take care of the pin 1 marking on the socket and fasten the probe cable with the
provided screws.
Do not use any other probe cable than EMA-MB91F467R-NLS-176M07 only!
Connect the probe cable to the MB2198-300 emulation Adapter Board. Check all jumper
settings of the evaluation board, the Probe Cable and the Adapter Board.
When turning on the system, be sure to use the following power-up sequence:
1. Power up the Emulator Main Unit (MB2198-01)
2. Power up the Adapter Board (MB2198-300)
3. Power up the target Board (SK-91467R-176PMC)
To turn off the system, switch off the components in reverse order, beginning with the target
Board.
Please refer to the corresponding user manuals and application notes for the emulator how
to set up the emulator system. After power on, the ‘Reset’-LED of the emulator must be off
and the ‘Vcc’-LED must be on.
If the Reset LED is still lit, check the settings of the emulator system and the power supply of
the evaluation board.
The following picture shows the silk plot of the starter-kit with marked default jumper
settings.
The following picture shows the silk plot of the starterkit with marked default jumper settings.
With the “SK-91467R-176PMC” Fujitsu supplies a full working development environment
called Softune Workbench V6. To develop own software the Softune Workbench
development environment must be installed first. Follow the instructions for successful
installation of the Softune Workbench.
1) Before starting the installation setup ensure that you are logged in with administrator
or poweruser permissions, otherwise the Softune Workbench installation will fail! Be
aware that Softune Workbench does not support multi-user support. Therefore
install- and user login must be the same.
2) Browse on the starter-kit DVD-ROM into the directory ‘Micros DVD 4.0\pdf’ and start
the FRSTA*.exe.
3) Follow the installation instructions.
4) For the default installation path it is recommended to use c:\Softune32.
5) After the installation is finished. The FR Family Softune Workbench can be started
via the Windows “Start” menu.
Figure 2-2: Softune Workbench Start Menu Location
6) When Softune Workbench was started the following window will be shown.
This chapter describes all jumpers and switches that can be modified on the evaluation
board. The default setting for the MB91F467R Series is shown with a grey shaded area.
Table 3-3-2-1: Communication mode for serial programming
Page 17
SK-91467R-176PMC User Guide
Chapter 3 Jumpers and Switches
3.2 Power Supply (S3, JP: 8, 9, 11, 12, 66)
The onboard voltage regulators provide stabilized 5V and 3.3V supplies to the MCU and
peripherals. Even though they are thermally protected against overload, care must be taken
when supplying current for additional circuitry.
The LIN Vs line can be connected directly to the input supply of the board by Jumpers. In
this case, the input voltage to the board has to be suitable for the connected bus devices
(mostly around 12V). Since there is a protection diode between Vin and Vs, it is not possible
to power the board over the LIN bus.
S3 Power Switch
JP1 Selects the MCU IO Block 1 and peripherals VCC_1 voltage (3.3V or 5V)
JP2 Selects the MCU IO Block 2 and peripherals VCC_2 voltage (3.3V or 5V)
JP3 Selects the MCU IO Block 3 and peripherals VCC_3 voltage (3.3V or 5V)
JP4 Connects the MCU IO Block 1 Supply (MCUVCC5_1) to VCC_1. Can be used for
current measurement.
JP5Connects the MCU IO Block 2 Supply (MCUVCC5_2) to VCC_2. Can be used for
current measurement.
JP6Connects the MCU IO Block 3 Supply (MCUVCC5_3) to VCC_3. Can be used for
current measurement.
JP7 Supplies the MCU External Bus MCUVCC3 with VCC3V3 (3.3V). Can be used for
current measurement.
JP19 Power jumper; overrides the power switch S3.
JP69, 79, 89, 99 Connects Vs (Pin 1 of D-Sub Connector) to VBAT.
There are four identical circuit blocks for LIN or RS232 connections. Each of the four D-Sub
connectors can be configured as LIN or RS232 interface. DTS or RTS can be selected as
reset source, and RTS and CTS can be connected by a jumper, since some terminals and
Flash programming tools need this connection. Pin 1 (PIN Vs) of X2-X5 can be connected to
the voltage input (VBat) of the board by jumpers in order to supply the LIN bus. When using
this feature, pay attention to the input voltage of the board, since there is only a protection
diode between Vin and Vs.
LIN-UART 4:
Jumper Setting Description
JP91
(RXD)
JP92
(TXD)
(LIN enable)
(LIN master)
(RS232/LIN)
(DTR/RTS)
(RTS-CTS)
1-2 SIN4 is connected to RS232 transceiver
2-3 SIN4 is connected to LIN transceiver
1-2 SOT4 is connected to RS232 transceiver
2-3 SOT4 is connected to LIN transceiver
Closed LIN transceiver for X4 is enabled JP93
Open LIN transceiver for X4 is disabled
Closed LIN-UART 4 is LIN Master JP95
Open LIN-UART 4 is LIN Slave
1-2 X4 Pin2 is connected to RS232 transceiver (T1out) JP96
2-3 X4 Pin2 is connected to LIN transceiver (BUS)
1-2 DTR signal (Pin 6 of X4) is used as reset source JP97
2-3 RTS signal (Pin 7 of X4) is used as reset source
Closed RTS and CTS of X4 are connected JP98
Open RTS and CTS of X4 are not connected
Closed Pin 1 (LIN Vs) of X4 is connected to Vin JP99
(LIN VBbat)
Open Pin 1 (LIN Vs) of X4 is not connected to Vin
Table 3-8: UART 4 Settings
By default, UART4 is connected to X4 and configured as RS232 interface.
SK-91467R-176PMC User Guide
Chapter 3 Jumpers and Switches
LIN-UART 5:
Jumper Setting Description
JP71
(RXD)
JP72
(TXD)
(LIN enable)
(LIN master)
(RS232/LIN)
(DTR/RTS)
(RTS-CTS)
1-2 SIN5 is connected to RS232 transceiver
2-3 SIN5 is connected to LIN transceiver
1-2 SOT5 is connected to RS232 transceiver
2-3 SOT5 is connected to LIN transceiver
Closed LIN transceiver for X3 is enabled JP73
Open LIN transceiver for X3 is disabled
Closed LIN-UART 5 is LIN Master JP75
Open LIN-UART 5 is LIN Slave
1-2 X3 Pin2 is connected to RS232 transceiver (T1out) JP76
2-3 X3 Pin2 is connected to LIN transceiver (BUS)
1-2 DTR signal (Pin 6 of X4) is used as reset source JP77
2-3 RTS signal (Pin 7 of X4) is used as reset source
Closed RTS and CTS of X3 are connected JP78
Open RTS and CTS of X3 are not connected
Closed Pin 1 (LIN Vs) of X3 is connected to Vin JP79
(LIN VBbat)
Open Pin 1 (LIN Vs) of X3 is not connected to Vin
Table 3-9: UART 5 Settings
By default, UART5 is connected to X3 and configured as RS232 interface.
1-2 SIN6 is connected to RS232 transceiver
2-3 SIN6 is connected to LIN transceiver
1-2 SOT6 is connected to RS232 transceiver
2-3 SOT6 is connected to LIN transceiver
Closed LIN transceiver for X5 is enabled JP63
Open LIN transceiver for X5 is disabled
Closed LIN-UART 6 is LIN Master JP65
Open LIN-UART 6 is LIN Slave
1-2 X5 Pin2 is connected to RS232 transceiver (T1out) JP66
2-3 X5 Pin2 is connected to LIN transceiver (BUS)
1-2 DTR signal (Pin 6 of X5) is used as reset source JP67
2-3 RTS signal (Pin 7 of X5) is used as reset source
Closed RTS and CTS of X5 are connected JP68
Open RTS and CTS of X5 are not connected
Closed Pin 1 (LIN Vs) of X5 is connected to Vin JP69
(LIN VBbat)
Open Pin 1 (LIN Vs) of X5 is not connected to Vin
Table 3-10: UART 6 Settings
By default, UART6 is connected to X5 and configured as RS232 interface.
SK-91467R-176PMC User Guide
Chapter 3 Jumpers and Switches
LIN-UART 0:
Jumper Setting Description
JP81
(RXD)
JP82
(TXD)
(LIN enable)
(LIN master)
(RS232/LIN)
(DTR/RTS)
(RTS-CTS)
1-2 SIN0 is connected to RS232 transceiver
2-3 SIN0 is connected to LIN transceiver
1-2 SOT0 is connected to RS232 transceiver
2-3 SOT0 is connected to LIN transceiver
Closed LIN transceiver for X2 is enabled JP83
Open LIN transceiver for X2 is disabled
Closed LIN-UART 0 is LIN Master JP85
Open LIN-UART 0 is LIN Slave
1-2 X2 Pin2 is connected to RS232 transceiver (T1out) JP86
2-3 X2 Pin2 is connected to LIN transceiver (BUS)
1-2 DTR signal (Pin 6 of X2) is used as reset source JP87
2-3 RTS signal (Pin 7 of X2) is used as reset source
Closed RTS and CTS of X2 are connected JP88
Open RTS and CTS of X2 are not connected
Closed Pin 1 (LIN Vs) of X2 is connected to Vin JP89
(LIN VBbat)
Open Pin 1 (LIN Vs) of X2 is not connected to Vin
Table 3-11: UART 0 Settings
By default, UART0 is connected to X2 and configured as RS232 interface.
For Flash programming, UART0 has to be used (RS232).
Two high-speed CAN-transceivers can be connected to the microcontroller’s CAN interfaces
(CAN0-CAN1.
Jumper Setting Description
JP34CAN0 RX) Closed RX0 of MCU is connected to CAN0 (X7)
JP35CAN0 TX) Closed TX0 of MCU is connected to CAN0 (X7)
JP37CAN1 RX) Closed RX1 of MCU is connected to CAN1 (X10)
JP38CAN1 TX) Closed TX1 of MCU is connected to CAN1 (X10)
Table 3-12: CAN Settings
By default, all two CAN Interfaces are connected to X7 and X10.
In addition to the internal Power-On reset, the microcontroller can be reset by an external
reset circuit (Voltage Monitor) and also by a RS232 interface. Refer to the chapter ‘LIN /
UART Connectors (X2 – X5)’ for DTR / RTS selection.
JP60, 70, 80, 90: Selects X4, X3, X5 or X2 as reset source
JP51 The signal on the DTR/RTS line can be negated with this jumper.
Remove the jumper in order to disable the RS232 reset circuit.
JP52 This solder jumper selects between normal (immediate) reset and delayed reset.
In delayed reset mode, the reset button has to be held down for 2 sec before a
reset is generated to avoid accidental resets.
JP53 Open this jumper if no external Reset shall be generated.
In this case only the internal reset is active (e.g.: power-on)
JP50 This solder jumper selects the third voltage monitored by the reset IC (1.8V and
SK-91467R-176PMC User Guide
Chapter 3 Jumpers and Switches
Jumper Setting Description
JP90
(RST 4)
JP70
(RST 5)
JP60
(RST 6)
JP80
(RST 0)
(DTR sel)
(Direct RST)
JP50
Closed LIN-UART 4 (X2) connected to reset circuit
Open LIN-UART 4 (X2) not connected to reset circuit
Closed LIN-UART 5 (X3) connected to reset circuit
Open LIN-UART 5 (X3) not connected to reset circuit
Closed LIN-UART 6 (X5) connected to reset circuit
Open LIN-UART 6 (X5) not connected to reset circuit
Closed LIN-UART 0 (X4) connected to reset circuit
Open LIN-UART 0 (X4) not connected to reset circuit
1-2 No negation for the DTR/RTS signal JP51
2-3 DTR/RTS signal is negated
1-2 Reset is applied immediately when SW6 is pressed JP52
2-3 Reset is applied when SW6 is pressed >2sec
1-2 VCC1V8 is monitored by reset IC
2-3 VCC2V5 is monitored by reset IC
Closed External reset generation is active JP53
(RST MCU)
Open No external reset generation
Table 3-13: Reset Connection
By default, the external reset is enabled and set to immediate reset, the reset by UART is
disabled.
Note:
While a reset signal is asserted the red Reset-LED D10 is lit.
During normal operation, this LED should be off!
If JP51(DTR sel) is set, one of the RST jumpers (JP60, 70, 80, 90) and the according
DTR/RTS jumper have to be set, too.
If the reset LED is steadily on, check the power supply input voltage and the settings for the
SK-91467R-176PMC User Guide
Chapter 3 Jumpers and Switches
3.8 Memories (SRAM/Flash)
Flash ROM can be accessed 8bit or 16bit wide. This is selectable by jumpers JP40, JP42
SRAM and SDRAM can be accessed 16 bit wide.
The memories can be disabled by jumpers JP41(Flash) and JP44(SRAM) to use the
ChipSelectLines CSX0 and CSX1 for the graphic interface.
Jumper Setting Description
JP40
(Flash 8/16bit)
JP42:
(Flash A0/D16)
JP41:
(Flash Enable)
JP44:
(SRAM Enable)
JP46:
(MCLKO=MCKLI)
1-2 Flash is used in 16bit mode
2-3 Flash is used in 8bit mode
1-2 Flash is used in 16bit mode
2-3 Flash is used in 8bit mode
1-2 Flash is enabled
2-3 Flash is disabled
1-2 SRAM is enabled
2-3 SRAM is disabled
The following figure shows the power connection jack X6. This connector is used to connect
an external unregulated DC power supply voltage (9V-12V DC) to the evaluation board.
Connector X6:
Shield is connected to positive voltage supply
The switching mode voltage regulators allow a wide input range. This might be of interest
when using Vin to power the LIN bus Vs line.
Center is connected to ground (GND)
Figure 4-1: Power Connector
4.2 Edge connector (J1, J2, J3, J4)
All pins (except oscillator Pins) of the microcontroller are directly connected to J1 – J4 as
follows:
Connector MCU Pins
J1 1 – 44
J2 45 – 88
J3 89 – 132
J4 133 – 176
The odd pin numbers are located on the one side and the even pin numbers are located on
the other side of the connector.
Four 9-pin D-Sub female connectors are used for the serial interfaces. Note that X2 to X5
are shared between the RS232- and LIN transceivers and must be configured to the desired
functionality (refer to chapter 3.4 for details).
Figure 4-2: UART Connector
Pin Number Pin Signal Description
1 +VBat Power from / to LIN bus
2
3 RXD RS-232 receive input
4 DTR Connected to DSR (pin 6)
5 GND Ground normally used for RS232 connection
6 DSR Connected to DTR (pin 4)
7 RTS Can be connected with CTS by jumper
8 CTS Can be connected with RTS by jumper
9 LGND Ground normally used for LIN connection
Shield GND Ground
TXD RS-232 transmit output
LIN Bi-directional LIN-interface bus
Table 4-1: UART Connector Signals
4.4 CAN Connector (X7+X10)
Six 9-pin D-Sub male connectors are used for the CAN interfaces CAN0-CAN1. All CAN
interfaces can be used simultaneously.
Figure 4-3: CAN Connector
Pin Number Pin Signal Description
1 NC Not used
2 CANL LOW-level CAN voltage input/output
3 GND Ground
4 NC Not used
5 NC Not used
6 NC Not used
7 CANH HIGH-level CAN voltage input/output
8 NC Not used
9 NC Not used
Eight LEDs are supplied for user applications. In order to disconnect the LEDs from the
related microcontroller port (Port 28), the resistor network RN1 can be removed.
The following control signals are provided:
Figure 4-4: User LEDs
8 7 6 5 4 3 2 1
LED LD7 LD6 LD5 LD4 LD3 LD2 LD1 LD0
Port 28_7 28_6 28_5 28_4 28_3 28_2 28_1 28_0
There is a flash-programming socket on the starter-kit which makes it possible to program
the flash MCU with a special programming adapter. The reset signal is also available at this
connector. Be advised to set the right MCU mode (refer to chapter 3.1 for details).
Figure 4-5: In-circuit programming connector
Pin Number Pin Signal Description
1 P15_3 Select communication mode
2 P13_2 Select communication mode
3 NC Not used
4 MD2 Mode Pin2
5 INITX MCU reset signal
6 SIN0 UART0 receive data
7 SOT0 UART0 transmit data
8 SCK0 UART0 clock
9 NC Not used
All Flash devices have an internal bootloader for asynchronous as well as synchronous
Flash-programming:
< Asynchronous serial Flash-programming via X2 (UART 0)
< Synchronous serial Flash-programming via X1
5.1 Asynchronous Mode
This chapter describes the serial asynchronous programming of the internal flash with the
help of the ‘FME-FR Programmer’ in automatic mode. For other programming possibilities,
please see the application note mcu-an-300012-e-mb91460_flash_programming.pdf.
1) For serial asynchronous programming SUB-D9 connector X2 which is connected to
UART0 has to be used. The following jumper setting is needed.
Jumper Setting Description
JP81
1-2 SIN0 is connected to RS232 transceiver
(RXD)
JP82
1-2 SOT0 is connected to RS232 transceiver
(TXD)
JP86
1-2 X2 Pin4/6 is connected to RS232 transceiver (T1out)
2) If the programming software should generate a reset signal on RTS or DTR line, refer
to the following jumper list.
Jumper Setting Description
Closed RTS and CTS of X2 are connected JP88
(RTS-CTS)
Open RTS and CTS of X2 are not connected
1-2 DTR signal (Pin 6 of X2) is used as reset source JP87
(DTR/RTS)
JP80
(RST 0)
JP51
(DTR / DTRx)
JP53
(RST MCU)
2-3 RTS signal (Pin 7 of X2) is used as reset source
Closed LIN-UART 0 (X2) connected to reset circuit
1-2 No negation for the DTR/RTS signal
2-3 DTR/RTS signal is negated
Closed External reset generation is active
Table 5-2: Jumper Settings for reset signal
3) The CPU Mode selection must be set to serial programming mode by setting DIP
switch S1 to (Off, On, Off, Off)
4) Start the ‘FME-FR Programmer’ and connect the UART0 to your serial PC
communication port. A straight cable connection has to be used.
5) Choose the microcontroller device (“MB91F467R”) as device type and browse to the
mhx-file you want to program to the embedded flash memory of the microcontroller.
Press the button “Automatic Mode” to start programming.
7) If your hardware supports MCU reset via DTR or RTS signal lines of the PC’s COM
port, go to sheet “Signals” and select the appropriate reset signal line. The
programmer now resets the microcontroller automatically before starting the
programming sequence and you do not have to reset the MCU manually immediately
after pressing the button “Automatic Mode”.
The software now automatically writes a flash loader to the microcontroller, does a blank
check and erases the flash memory if necessary. After that the user application is
programmed to the embedded flash memory.
During this sequence the actual progress status can be seen by checked off steps on the
“Automatic” sheet and the messages below in the message box.
If the programming sequence is ended successfully, you will receive the output shown in
figure 7.
The Addresses 0x14:8000 to 0x14:800F cannot be written in automatic mode. This is a built
in security feature to prevent unintended writing to the Flash Security Vectors and Boot
Security Vectors. Otherwise it would be possible to secure flash content and to lock the
microcontroller for serial programming/reading/erasing by not being able to enter the internal
loader anymore. If you want to use these features explicitly, you have to program these
dedicated addresses by using the “Prog Word” Function of the step-by-step mode.
Figure 5-3: Successful Programming in Automatic Mode
5.2 Synchronous Mode
In order to program the Flash-ROM synchronously special third-party soft- and hardware has
to be used, e.g. GALEP-4 from www.conitec.de
A dedicated Flash programming socket (X1) is provided on the evaluation-board for direct
connection to this programmer.
Do program Softune Workbench Monitor Debbuger to external Flash, get the latest Monitor
Debugger Project (91467r_mondeb_uart4_extbus_flash_sram) from our website.
The CPU Mode selection must be set to serial programming mode by setting DIP switch S1
to (Off, On, Off, Off)
Choose MB91F467R as device type and select tab ‘External Flash’. Mark the checkboxes
‘Enable ext. Flash’, ‘CS0’ and ‘Chip erase’ (only needed if ext. Flash is not blank).
Figure 6-1: CS settings for SWB Monitor Debugger programming
Please check following entries for register settings:
ASR0: 0100 ACR0: 8820 AWR0: 3378
Select tab ‘Automatic’, browse to SWB monitor debugger file (e.g.
your_path\MONDEB\FLASH\ABS\91467r_mondeb_uart4_extbus_flash_sram.mhx), press
button “Automatic Mode” and reset microcontroller.
Programmer will execute single steps described in chapter 6.1. After successful
programming, set mode pins to external vector fetch mode (S1: off, off, off, on) and reset
microcontroller. In case of successful startup of the monitor debugger and access to external
SRAM the LED LD1, LD3 and LD7 are lit. Now connection to Softune Workbench can be
started.
ADC Analogue Digital Converter
CAN Controller Area Network
CS Chip Select
FME Fujitsu Microelectronics Europe GmbH
LIN Local Interconnect Network
MCU Microcontroller Unit
PCB Printed Circuit Board
SRAM Static Random Access Memory
SDRAM Synchronous Dynamic Random Access Memory
UART Universal Asynchronous Receiver Transmitter