2 use active configuration mondebug_internal, Use active configuration mondebug_internal – FUJITSU MB91460 SERIES User Manual

Page 49

Advertising
background image

SK-91F467-FLEXRAY V1.1

Getting Started

© Fujitsu Microelectronics Europe GmbH

- 49 -

FMEMCU-UG-910017-11

7) Select Active Configuration “MONDEBUG”

Figure 5-3: Project configuration selection

5.2.2 Use Active Configuration MONDEBUG_INTERNAL

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. The monitor

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 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 module
vectors.c if any interrupts are used for proper vector table set-up.

8. Write application code in the module main.c or add any other module to the project.

9. 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_INTERNAL of the
project folder. The *.mhx file (Motorola S-Record) is located in the ABS sub-folder.

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.

Advertising
This manual is related to the following products: