Skip to main content
Knowledgebase
Home
Renesas Singapore - Knowledgebase

Why did the R8C, M16C stops running when I call the initialization API?

Latest Updated:08/08/2008

Question:

When I call the library initialization API (tcpudp_open), the program stops running (R8C, M16C). What's the problem?

Answer:

Confirm the version of the M3T-NC30WA compiler you are using.
If you are using V.5.40 Release 00 or later, set the following two items:

    (1) Specify compiler option "-fsizet_16"
    (2) Change the linked standard library to:
                M16C/XX Series MCUs = nc30s16.lib
                R8C/Tiny Series MCUs = r8cs16.lib

Suitable Products
M3S-T2-Tiny