NEC NCT-MINICUBE 78K0 QuickStart Guide

0 (0)

NCT-MINICUBE 78K0

VERSION V1.20

NEC Electronics (China) Co.,Ltd

NEC Electronics Hong Kong Limited

Date Published Feb 2006

·2003 4NEC NECNEC

·NEC NEC

·NECNEC NECNEC

·NEC

·NEC NEC

·NEC

“ ” “ ” “ ” “ ”

“ ”

“ ”

“ ”NEC NEC “ ”NEC NEC NEC NEC

1 “NECNEC Corporation

2 “NEC ” NEC NEC

PC/AT IBM

Windows Microsoft

GNU GNU

IAR IAR IAR IAR

GHS Green Hill GHS Green Hill

I

 

 

 

 

NCT-MINICUBE78K0

 

NEC Applilet PM+

 

ID78K0-QB for MINICUBE NCT MINICUBE

 

 

 

NEC 78K0

 

NEC 78K0

 

C MCU

 

 

 

¾

 

 

¾

 

 

¾

 

 

¾

 

 

¾

 

 

¾

 

 

¾

 

 

78K0 NEC 78K 8 MCU 78K0 78K0S

 

MCU

 

NEC

 

http://www.necel.com/en/search/index.html#document

 

 

CC78K0 Ver3.70 C Complier Operation User’s Manual

U17201E

RA78K0 Ver3.80 Assembler Package Operation User’s Manual

U17199E

ID78K0-QB Ver2.90 Integrated Debugger Operation User’s Manual

U17437E

PM plus Ver5.20 User’s Manual

U16934E

NCT-MINICUBE78K0 On-Chip Debug Emulator User’s Manual

U17029E

78K0,78K0S Series OCD Checker V1.02 User’s Manual

ZUD-CD-05

II

 

 

 

 

 

 

1

 

.................................................................................................................................

 

1

 

1.1

Applilet ..................................................................................................

 

1

 

 

1.1.1

Applilet .............................................................................................................................

 

1

 

 

1.1.2

..................................................................................................................................

 

1

 

1.2

RA78Kx PM+ ............................................................................

2

 

 

1.2.1

..............................................................................................................................

 

2

 

 

1.2.2

..................................................................................................................................

 

3

 

1.3

C CC78Kx .................................................................................................................

 

6

 

 

1.3.1

..............................................................................................................................

 

6

 

 

1.3.2

..................................................................................................................................

 

6

 

1.4

ID78K0-QB for MINICUBE .........................................................................

9

 

 

1.4.1

..............................................................................................................................

 

9

 

 

1.4.2

..................................................................................................................................

 

9

 

1.5

...............................................................................................................................

 

12

 

 

1.5.1

........................................................................................................................

 

12

 

 

1.5.2

................................................................................................................................

 

13

2

 

...........................................................................................................................................

 

15

 

2.1

.......................................................................................................................................

 

15

 

2.2

...............................................................................................................................

 

15

 

 

2.2.1

Applilet .......................................................................................................................

 

15

 

 

2.2.2

Port ..............................................................................................................................

 

16

 

 

2.2.3

Timer ...........................................................................................................................

 

17

 

 

2.2.4

System .........................................................................................................................

 

18

 

 

2.2.5

................................................................................................................................

 

19

 

2.3

...........................................................................................................................

 

19

 

2.4

...........................................................................................................................

 

22

 

 

2.4.1 ID78K0-QB for MINICUBE .........................................................................................

 

22

 

 

2.4.2

................................................................................................................................

 

23

3

 

NEC Tools ...............................................................................................................

 

26

 

3.1

 

..................................................................................................................................................

 

26

 

3.2

C CC78Kx...........................................................................................................................

 

26

 

3.3

..............................................................................................................................RA78Kx

 

26

 

3.4

...............................................................................................................................LK78Kx

 

27

 

3.5

..............................................................................................................OC78Kx

 

28

 

3.6

...........................................................................................................................LB78Kx

 

28

4

 

............................................................................................................Applilet

 

29

 

4.1

.....................................................................................................................................Applilet

 

29

 

4.2

...........................................................................................................................................

 

29

 

4.3

...........................................................................................................................................

 

31

5

 

...................................................................................................................................

 

33

III

 

5.1

PM+ .................................................................................................................................

33

 

 

5.1.1

PM+ ..............................................................................................................................

33

 

 

5.1.2

................................................................................................................................

33

 

 

5.1.3

Workspace.....................................................................................................................

34

 

 

5.1.4

Workspace.....................................................................................................................

37

 

 

5.1.5

Build ...............................................................................................................................

37

 

5.2

..........................................................................................................................................

38

 

 

5.2.1

................................................................................................................................

38

 

 

5.2.2

................................................................................................................................

39

 

 

5.2.3

................................................................................................................................

39

 

 

5.2.4

................................................................................................................................

40

6

 

NCT-MINICUBE78K0 ..........................................................................................................

42

 

6.1

NCT-MINICUBE78K0 ................................................................................................

42

 

 

6.1.1

................................................................................................................................

42

 

 

6.1.2

............................................................................................................................

42

 

 

6.1.3

MINICUBE ....................................................................................................................

43

 

 

6.1.4

MINICUBE ........................................................................................................

44

 

 

6.1.5

NCT-MINICUBE78K0 ..........................................................................

45

 

 

6.1.6

NCT-MINICUBE78K0 ..........................................................................

45

 

 

6.1.7

NCT-MINICUBE78K0 ..............................................................................

45

 

 

6.1.8 NCT-MINICUBE78K0 MCU ...............................................................

46

 

6.2

NCT-MINICUBE78K0 ........................................................................................

48

 

 

6.2.1

........................................................................................................

48

 

 

6.2.2

............................................................................................................

51

 

 

6.2.3

ICE ................................................................................

52

 

6.3

NCT-MINICUBE78K0 ....................................................................................................

52

 

6.4

NCT-MINICUBE78K0 ................................................................................................

53

7

 

..................................................................................................................................

55

 

7.1

ID78K0-QB for MINICUBE ...................................................................................................

55

 

7.2

..........................................................................................................................................

56

 

 

7.2.1

........................................................................................................................

57

 

 

7.2.2

............................................................................................................................

58

 

 

7.2.3

........................................................................................................................

59

 

 

7.2.4

............................................................................................................

60

 

 

7.2.5

................................................................................................................................

61

 

 

7.2.6

................................................................................................................................

62

 

 

7.2.7

................................................................................................................................

62

 

 

7.2.8

.......................................................................................................................................

63

 

 

7.2.9

................................................................................................................

63

 

 

7.2.10

..........................................................................................................

65

 

 

7.2.11

.....................................................................................................................

66

 

 

7.2.12

.....................................................................................................................

67

 

 

7.2.13

.....................................................................................................................

68

 

 

7.2.14 ID78K0-QB for MINICUBE ......................................................................................

69

 

7.3

..................................................................................................................................

69

IV

 

7.3.1 Event ........................................................................................................................

69

 

7.3.2 Break ........................................................................................................................

71

 

7.3.3 ............................................................................................................

72

A

OCD Checker .........................................................................................................................

74

B

NCT-MINICUBE78K0 .........................................................................................

76

 

................................................................................................................................................................

80

V

 

 

 

1-1

Welcome ------------------------------------------------------------------------------------------------------------

1

1-2

License --------------------------------------------------------------------------------------------------------------

2

1-3

Applilet ----------------------------------------------------------------------------------------------------------

2

1-4

Welcome ------------------------------------------------------------------------------------------------------------

3

1-5

Software License Agreement ------------------------------------------------------------------------------------

3

1-6

Product ID ----------------------------------------------------------------------------------------------------------

4

1-7

Select Components ------------------------------------------------------------------------------------------------

4

1-8

Select Program Folder --------------------------------------------------------------------------------------------

5

1-9

Start Copying Files ------------------------------------------------------------------------------------------------

5

1-10

Setup Complete --------------------------------------------------------------------------------------------------

6

1-11

Welcome ----------------------------------------------------------------------------------------------------------

6

1-12

Software License Agreement -----------------------------------------------------------------------------------

7

1-13

Product ID --------------------------------------------------------------------------------------------------------

7

1-14

Select Components ----------------------------------------------------------------------------------------------

8

1-15

Select Program Folder -------------------------------------------------------------------------------------------

8

1-16

Start Copying Files ----------------------------------------------------------------------------------------------

9

1-17

Welcome ----------------------------------------------------------------------------------------------------------

9

1-18

Software License Agreemen -----------------------------------------------------------------------------------

10

1-19

Product ID -------------------------------------------------------------------------------------------------------

10

1-20

Select Components ---------------------------------------------------------------------------------------------

11

1-21

Select Program Folder ------------------------------------------------------------------------------------------

11

1-22

Start Copying Files ---------------------------------------------------------------------------------------------

12

1-23

Setup Complete -------------------------------------------------------------------------------------------------

12

1-24

Device File Installer -----------------------------------------------------------------------------------------------

13

1-25

------------------------------------------------------------------------------------------------------

13

1-26

------------------------------------------------------------------------------------------------------------

14

1-27

------------------------------------------------------------------------------------------------------

14

2-1

Applilet ---------------------------------------------------------------------------------------------

15

2-2

Applilet Macro ----------------------------------------------------------------------------------------------------

16

2-3

Applilet Port ----------------------------------------------------------------------------------------------

16

2-4

Applilet Timer --------------------------------------------------------------------------------------

17

2-5

Applilet Timer --------------------------------------------------------------------------------

17

2-6

Applilet OCD ---------------------------------------------------------------------------------------------

18

2-7

OCD -------------------------------------------------------------------------------

18

2-8

Applilet ------------------------------------------------------------------------------------------------

19

2-9

PM+ ----------------------------------------------------------------------------------------------------------

20

2-10 TM00 ------------------------------------------------------------------------------------------------------

20

2-11

ISR ------------------------------------------------------------------------------------------------

21

2-12

-------------------------------------------------------------------------------------------------------

21

2-13 Build -------------------------------------------------------------------------------------------------------------------

22

VI

2-14

----------------------------------------------------------------------------------------------------------

22

2-15

ID —USB -----------------------------------------------------------------------------------------

22

2-16

ID — -----------------------------------------------------------------------------------

23

2-17

MINICUBE --------------------------------------------------------------------------------------------------

23

2-18

ID78K0-QB for MINICUBE ---------------------------------------------------------------------------

24

2-19

ID78K0-QB for MINICUBE ---------------------------------------------------------------------------

24

2-20

LED -------------------------------------------------------------------------------------------

25

3-1

CC78Kx -----------------------------------------------------------------------------------------------------

26

3-2

RA78Kx -----------------------------------------------------------------------------------------------------

27

3-3

LK78Kx -----------------------------------------------------------------------------------------------------

27

3-4

OC78Kx -----------------------------------------------------------------------------------------------------

28

3-5

LB78Kx -----------------------------------------------------------------------------------------------------

28

4-1

Applilet ------------------------------------------------------------------------------------------------------------

29

4-2

Applilet Func ------------------------------------------------------------------------------------------------------

30

4-3

Applilet Pin --------------------------------------------------------------------------------------------------------

30

4-4

Applilet Int ---------------------------------------------------------------------------------------------------------

31

4-5

Applilet IOR -------------------------------------------------------------------------------------------------------

31

5-1

PM+-------------------------------------------------------------------------------------------------------------------

33

5-2

PM+ -------------------------------------------------------------------------------------------------------------

34

5-3

Workspace -----------------------------------------------------------------------------------------------------------

34

5-4

New WorkSpace – Step 1/8 ------------------------------------------------------------------------------------

35

5-5

New WorkSpace – Step 6/8 -----------------------------------------------------------------------------------

35

5-6

New WorkSpace – Step 7/8 -----------------------------------------------------------------------------------

36

5-7

New WorkSpace – Step 8/8 -----------------------------------------------------------------------------------

36

5-8

Workspace -----------------------------------------------------------------------------------------------------------

37

5-9

Open Workspace -------------------------------------------------------------------------------------------------

37

5-10

Build -----------------------------------------------------------------------------------------------------------------

38

5-11

Build -----------------------------------------------------------------------------------------------------------------

38

5-12

Compiler Options -----------------------------------------------------------------------------------------------

39

5-13

Assembler Options ---------------------------------------------------------------------------------------------

39

5-14

Linker Options --------------------------------------------------------------------------------------------------

40

5-15

Build --------------------------------------------------------------------------------------------------------

41

5-16

-----------------------------------------------------------------------------------------------------------------

41

6-1

MINICUBE -------------------------------------------------------------------------------------------------

42

6-2

MINICUBE -------------------------------------------------------------------------------------------------------

43

6-3

MINICUBE -------------------------------------------------------------------------------------------------------

43

6-4

MINICUBE -------------------------------------------------------------------------------------------------------

44

6-5

MINICUBE ----------------------------------------------------------------------------------------------------

44

6-6

MINICUBE -------------------------------------------------------------------------------------------

46

6-7

1 ----------------------------------------------------------------------------------------------------------

46

6-8

2 ----------------------------------------------------------------------------------------------------------

47

6-9

3 ----------------------------------------------------------------------------------------------------------

47

6-10

MINICUBE --------------------------------------------------------------------------------------------

48

VII

6-11

NCT-MINICUBE78K0/KF2 -------------------------------------------------------------------------------

48

6-12

MINICUBE ---------------------------------------------------------------------

49

6-13

MINICUBE ---------------------------------------------------------------------

49

6-14

MINICUBE ---------------------------------------------------------------

50

6-15

MINICUBE ---------------------------------------------------------------------

51

6-16

MINICUBE ------------------------------------------------------------------------

51

6-17

MINICUBE ------------------------------------------------------------------------

52

6-18

MINICUBE ICE ----------------------------------------------------

52

7-1

ID78K0-QB Configuration -----------------------------------------------------------------------------------

55

7-2

ID78K0-QB -------------------------------------------------------------------------------------------------

56

7-3

ID78K0-QB -------------------------------------------------------------------------------------------------

56

7-4

-------------------------------------------------------------------------------------------------

57

7-5

-------------------------------------------------------------------------------------------------------------

57

7-6

Download ----------------------------------------------------------------------------------------------------------

58

7-7

----------------------------------------------------------------------------------------------------------------

58

7-8

Open ----------------------------------------------------------------------------------------------------------------

59

7-9

ID78K0-QB for MINICUBE -----------------------------------------------------------------------------

59

7-10

------------------------------------------------------------------------------------------------------------

60

7-11

Open --------------------------------------------------------------------------------------------------------------

60

7-12

------------------------------------------------------------------------------------------------------------------

61

7-13

------------------------------------------------------------------------------------------------------------------

61

7-14

------------------------------------------------------------------------------------------------------------------

62

7-15

------------------------------------------------------------------------------------------------------------------

62

7-16

------------------------------------------------------------------------------------------------------------------

63

7-17

------------------------------------------------------------------------------------------------------------------------

63

7-18

Watch ----------------------------------------------------------------------------------------------------------

64

7-19

Watch ----------------------------------------------------------------------------------------------------------------

64

7-20

------------------------------------------------------------------------------------------------------------------

64

7-21

------------------------------------------------------------------------------------------------------------------

65

7-22

---------------------------------------------------------------------------------------------------------------

65

7-23

---------------------------------------------------------------------------------------------------------

65

7-24

---------------------------------------------------------------------------------------------------------------

66

7-25

------------------------------------------------------------------------------------------------------------

66

7-26

------------------------------------------------------------------------------------------------------------

67

7-27

------------------------------------------------------------------------------------------------------------------

67

7-28

------------------------------------------------------------------------------------------------------------

68

7-29

---------------------------------------------------------------------------------------------------------------

68

7-30

------------------------------------------------------------------------------------------------------------

69

7-31

---------------------------------------------------------------------------------------------------------------

69

7-32

Event Manager -----------------------------------------------------------------------------------------------------

70

7-33

New Event ----------------------------------------------------------------------------------------------------------

70

7-34

Event -----------------------------------------------------------------------------------------------------------------

70

7-35

Event Source --------------------------------------------------------------------------------------------

71

VIII

7-36

Break ----------------------------------------------------------------------------------------------------------------

71

7-37

-----------------------------------------------------------------------------------------------

72

7-38

-----------------------------------------------------------------------------------------------------------

72

7-39

-----------------------------------------------------------------------------------------------

72

7-40

-----------------------------------------------------------------------------------------------

73

 

 

 

4-1

μ PD78F0547DGC .......................................................................................................................

31

6-2

NCT-MINICUBE78K0 .....................................................................................................

45

6-1

MINICUBE ............................................................................................................

50

IX

1

NEC Applilet RA78Kx/PM+ CC78Kx ID78K0-QB for MINICUBE

1.1Applilet

1.1.1Applilet

Applilet for 78K0KX2 NEC78K0 MCU

Applilet for 78K0KX2 C ANSI C

Applilet

Applilet for 78K0KX2 Applilet4

78K0 Applilet V1.51

Applilet for 78K0KX2

1-1 Welcome

Next License Agreement

1

1

1-2 License

1-3 Applilet

Applilet Applilet Æ ÆNEC Electronics ToolsÆApplilet for 78K0KX2

1.2RA78Kx PM+

RA78Kx RA78Kx PM+ 78Kx

RA78Kx

RA78Kx NEC 78Kx 78Kx

2

1

PM+

PM+ NEC 8/16 78KxPM+

NEC32 V850 MCU

RA78Kx setup.exe

1-4 Welcome

Next” “Software License Agreement

1-5 Software License Agreement

3

1

Yes” “Product ID

1-6 Product ID

9 Next” “Select ComponentsRA78Kx Assembler Package PM+

1-7 Select Components

Browse” “C:\NECTools32Next Select Program Folder” “NEC Tools32

4

1

1-8 Select Program Folder

Next” “Start Copying Files

1-9 Start Copying Files

Next

5

1

1-10 Setup Complete

Setup Complete Finish

1.3C CC78Kx

CC78Kx NEC 78Kx C

yANSI C

yROM

CC78Kx setup.exe

1-11 Welcome

6

1

Next” “Software License Agreement

1-12 Software License Agreement

Yes” “Product ID

1-13 Product ID

Next” “Select ComponentsCC78Kx C Compiler

7

1

1-14 Select Components

Browse” “C:\NECTools32Next Select Program Folder” “NEC Tools32

1-15 Select Program Folder

Next” “Start Copying Files

8

1

1-16 Start Copying Files

Next

1.4ID78K0-QB for MINICUBE

ID78K0-QB for MINICUBE NECNEC CPU

ID78K0-QB for MINICUBE Setup.exe” “Welcome

1-17 Welcome

9

1

Next

1-18 Software License Agreemen

Yes” “Product ID

1-19 Product ID

MINICUBE Next

10

1

1-20 Select Components

点击“Browse” “C:\NECTools32” “Next

Select Program Folder NEC Tools32

1-21 Select Program Folder

Next” “Start Copying Files

11

1

1-22 Start Copying Files

Next

1-23 Setup Complete

Setup Complete” “Finish

Device file

在用PM+ PM+78K0 http://www.necel.com/micro/ods/eng/tool/DeviceFile/78K0.html

12

1

Æ ÆNEC Tools32ÆDevice File InstallerDevice File Installer

1-24 Device File Installer

Browse.78k NECTools32 dev

1-25

13

NEC NCT-MINICUBE 78K0 QuickStart Guide

1

1-26

Register

1-27

NEC 78K0/KF2

14

2

2

Demo 78K0/KX2 μ PD78F0547D 78K0/KF2 8-Bit Single-Chip Microcontrollers Preliminary User’s Manual U17397E

Applilet PM+ ID78K0-QB for MINICUBEApplilet for 78K0/KF2 1.50 Demo PM+ 5.10Demo ID78K0-QB for MINICUBE 2.81

NCT-MINICUBE78K0 USB 10μ PD78F0547DGC

2.2.1Applilet

 

Applilet FileÆNew

78K0/KF2 μ PD78F0547_80 MINICUBE MCU

2-1 Applilet

2-1 Project namemdt multi driver tools

HEX OKMacro

15

2

2-2 Applilet Macro

LED LEDPCOCD Applilet

OCD MCU D μ PD78F0547D

MCU μ PD78F0544 μ PD78F0545 μ PD78F0546 μ PD78F0547 MCU

2.2.2Port

2-2 PORTLED

μ PD78F0547D P32 P33

2-3 Applilet Port

Port Applilet

16

Loading...
+ 64 hidden pages