memory mapping in RL78/F14 using cubesuite++

guide me to write linker directive file for RL78/F14 controller using Cubesuite++,

Parents Reply
  • hi kirin,

    thanks your reply,

    directive file:

    ;MEMORY

    MEMORY ROM : ( 00000000H, 00010000H ) / REGULAR

    MEMORY RAM : ( 000faf00H, 00005000H ) / REGULAR

    ;SEGMENT

    MERGE code_sec :  = ROM / REGULAR

    MERGE data_sec :  = RAM / REGULAR

    pragma i have defined like:

    #pragma section @@CODE @code_sec AT 00000000H

    #pragma section @@DATA @data_sec AT 000faf00H

    this is the error i am getting please help on this.

    E3210 RA78K0R error E3210: Segment 'code_sec' is not exist - ignored

    E3210 RA78K0R error E3210: Segment 'data_sec' is not exist - ignored

    regards,

    Channakeshava K S

Children