Use Active Configuration Mondebug - Fujitsu SK-91F467D-208PFV User Manual

Mb91460 series
Table of Contents

Advertisement

7) Select Active Configuration "MONDEBUG"

5.2.2 Use Active Configuration MONDEBUG

With this selection the project is linked to be used with the Softune Workbench Monitor
Debugger. Corresponding linker settings are done for the memory map in order to avoid
overwriting of the sections which are used by the monitor debugger. The code is linked in
this configuration for external SRAM, otherwise it is not possible to debug code with the
Softune Workbench Monitor Debugger. Additionally the MACRO SWBMonDeb is
switched on in the assembler / Compiler settings in the Softune Workbench Tool
Settings. This affects settings in start91460.asm which are mandatory to work with the
Softune Workbench Monitor Debugger.
7. Check MCU settings in the module start91460.asm. Be careful regarding any
modifications. If the peripheral clock speed is modified it can happen that the
communication between Softune Workbench and Softune Workbench Monitor
Debugger is lost. In the module start91460.asm some basic MCU settings are done
and some initial data copy transfers are performed for specific data sections e.g INIT.
Check if the macro "SWBMonDeb" is enabled (default) in the Assember options
(<Project>, <Setup Project>, <Assembler>, category <Define Macro>.
8. Check module vectors.c if any interrupts are used for proper vector table set-up.
9. Write application code in the module main.c or add any other module to the project.
10. Write and modify source code and settings corresponding to the needs of the
application. Finally use "Make", or "Build" to compile and link the project. The
generated output files can be found in the sub-folder MONDEB of the project folder.
The *.mhx file (Motorola S-Record) is located in the ABS sub-folder.
© Fujitsu Microelectronics Europe GmbH
SK-91F467D-208PFV V1.1
Getting Started
Figure 5-3: Project configuration selection
Note:
Always check the memory map of the linker settings and ensure
that this memory map is suitable for the application and target
system in use. Additionally the .mp1 file should be checked to
ensure correct settings.
- 39 -
FMEMCU-UG-910014-10

Advertisement

Table of Contents
loading

Table of Contents