Skip to main content
Renesas Singapore - Knowledgebase

Code of downloaded startup routine is wrong(CC-RL)

Last Updated:06/28/2017


I am using RL78 Compiler CC-RL.

I set a value for on-chip debug operation permission in the on-chip debug option byte. However, when I downloaded to the E1 emulator and checked the disassembling result of the startup routine, cstart.asm, the directive was different from what I coded in cstart.asm.

Can you tell me a probable cause for this?


The area where the program of cstart.asm is allocated and the area for debug monitor programs might overlap.

Confirm that the -DEBUG_MONITOR option is specified in the linker.
If it is not specified, specify the -DEBUG_MONITOR option and check the result.

For on-chip debugging, you must secure the area for debug monitor programs in addition to setting the on-chip debug option byte.

Suitable Products
e² studio
CS+ (formerly CubeSuite+)
C Compiler Package for RL78 Family
  • Was this article helpful?