Skip to main content
Knowledgebase
Home
Renesas Electronics Europe - Knowledgebase

What is the solution when app w/ emulator jumps to wrong address?

Latest Updated:03/15/2012

Question:

I created an application using a combination of the C/C++ Compiler Package for M16C Series and R8C Family [M3T-NC30WA] V.6xx and M3T-MR30/4 Real-time OS for M16C Series and R8C Family V.4.01. When executing the application with the emulator, the program jumps to the wrong address when I execute the line“INT __MR_CALL_VECTOR33”in start-up routine or “ILLEGAL INSTRUCTION” is generated. What is the workaround for this?

Answer:

Use the following settings to work around this problem. In the High-performance Embedded Workshop menu, select [Build] -> [Linkage Order] -> [Use custom linkage order] and set “crt0mr.obj” as the first link.
Suitable Products
C/C++ Compiler Package for M16C Series and R8C Family [M3T-NC30WA]
E8a
E100
M3T-MR30/4 Real-time OS for M16C Series and R8C Family