Hi team,
The controller RL78_G23-(R7F100GSN2DFB) have 768 KB code flash memory. controller should need to keep the main application code & RL78_G13 application code. So that purpose the flash memory was needed to separate two sections. So how to make this appropriate setting in RL78_G23 controller. please let me know
Hello,
RL78/G23 does not support dual bank mode to partition code flash.
You can define memory sections on linker and place code/data there.
Regards
ok. give brief explain about this and documents to regarding this because i don't know for how to use linker options.
You can create linker sections on linker settings:
Then you can place your code/data in the user defined sections using #pragma section command.
Please find more information and examples on this #pragma on the CC-RL manual:
www.renesas.com/.../cc-rl-compiler-users-manual
1.It may be possible to send .MOT file from RL78_G23 µC to RL78_13 µC without RFD file?
2.How to separate the memory section. below given image taken from Renesas sample software.
in this image where should i start separate the memory section.
3.But in the Reference Manuel the code flash memory was commonly given. shown in below attached
image
Kindly clarify the where should i start to separate the memory section
To send data from a device to another you will need a communication interface like UART. The flash library is necessary for self-programming in the device itself.
The first image contains the linker sections. The code flash is not physically partitioned.
From first image - we need to separate the flash memory? if yes.
example: The RL78_G23 µC have 768 KB code flash memory. But run time code was 60 KB. Now where I should start address the memory separation to load the .MOT file for transferring to RL78_G13 µC. help to me
Obviously somewhere after the 60KB so there is not overlap. If you investigate the .map file you can find out where linker has already placed code/data.
Ok. I will check and do it