Fujitsu MB88121 SERIES, MB91460 SERIES manual Use Active Configuration MONDEBUGINTERNAL

Models: MB88121 SERIES MB91460 SERIES

1 73
Download 73 pages 7.7 Kb
Page 49
Image 49

SK-91F467-FLEXRAY V1.1

Getting Started

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

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.

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.

© Fujitsu Microelectronics Europe GmbH

- 49 -

FMEMCU-UG-910017-11

Page 49
Image 49
Fujitsu MB88121 SERIES, MB91460 SERIES Use Active Configuration MONDEBUGINTERNAL, Select Active Configuration “MONDEBUG”