I am using RH850/D1M1A controller. RAM starts at FEB80000. data written on the 0xFEB80000 is reflecting on the 0xFED80000. I want use the FED80000 for some other purpose. how to avoid writing to the 0xFED80000. I am using GHS compiler.
I don't have the device U/M for D1x, but if this is what I believe it is, you cannot turn this off. The local RAM is mapped into two areas of the address space, the intention is so that a multi-core device can access its own local RAM and the RAM of the other core(s) via the global area.
That is not possible because it is the same RAM area. The RAM is visible in two areas for different IPs. DMA can access the local RAM only via area starting at 0xFEB8000. The CPU can access the local RAM via both areas, but it is recommended using the CPU exclusive area starting at 0xFED80000 (see note on page 378 of the RH850/D1x manual: www.renesas.com/.../rh850d1ld1m-group-users-manual-hardware )