write protection to a Ram partition

Hello Renesas,

I want to protect the a RAM partition from writing. I went through the PEG(PE Guard Function). I want to know how can I use this function to protect ram partition from write access. I am using rh850F1KH controller. Can I get a sample code for it

 

Thanks

VJK