Chapter 5 Operation Check Using System Simulator Sm; Building The Sample Program - NEC 78K0S/K 1+ Series Application Note

Led lighting switch control sample program (initial settings)
Hide thumbs Also See for 78K0S/K 1+ Series:
Table of Contents

Advertisement

This chapter describes how the sample program operates with system simulator SM+ for 78K0S/Kx1+, by using the
assembly language file that has been downloaded by selecting the
<R>
Caution System simulator SM+ for 78K0S/Kx1+ is not supported with the 78K0S/KU1+ microcontroller (as
5.1

Building the Sample Program

<R>
To check the operation of the sample program by using system simulator SM+ for 78K0S/Kx1+ (hereinafter referred
to as "SM+"), SM+ must be started after building the sample program. This section describes how to build a sample
program by using the assembly language sample program (source program + project file) downloaded by clicking the
icon.
downloaded programs.
For the details of how to operate PM+, refer to the
[Column] Build errors
Change the compiler option setting according to the following procedure when the error message "A006 File
not found 'C:\NECTOOLS32\LIB78K0S\s0sl.rel'" or "*** ERROR F206 Segment '@@DATA' can't allocate to
memory - ignored." is displayed, when building with PM+.
<1> Select [Compiler Options] from the [Tool] menu.
<2> The [Compiler Options] dialog box will be displayed. Select the [Startup Routine] tab.
<3> Uncheck the [Using Fixed Area of Standard Library] check box. (Leave the other check boxes as they are.)
A RAM area of 118 bytes that has been secured as a fixed standard library area will be enabled for use when
the [Using Fixed Area of Standard Library] check box is unchecked; however, the standard libraries (such as
the getchar function and malloc function) will be disabled for use.
The [Using Fixed Area of Standard Library] check box is unchecked by default when the file that has been
downloaded by clicking the

CHAPTER 5 OPERATION CHECK USING SYSTEM SIMULATOR SM+

of July 2008). The operation of the 78K0S/KU1+ microcontroller can therefore not be checked by
using system simulator SM+ for 78K0S/Kx1+.
See the
78K0S/Kx1+ Sample Program Startup Guide Application Note
PM+ Project Manager User's
icon is used in this sample program.
Application Note U18752EJ2V0AN
icon.
for how to build other
Manual.
29

Advertisement

Table of Contents
loading

This manual is also suitable for:

78k0s/ka1+78k0s/kb1+78k0s/ku1+78k0s/ky1+

Table of Contents