Execution in place (XIP) feature is supported by mcp-5748g or not?
I want to make sure that my code is running from flash not from RAM.
When i debug the code with "debug flash" configuration then value of pc(program counter) shows flash region. And when i debug the code with "debug RAM" configuration then value of pc(program counter) shows RAM region.
So if i want to run the code from flash then i should go with "debug flash". Am i correct?
You are correct. You can also check addresses in .map file (part of build output) . the RAM target is mainly for debug purposes - you aren't programming FLASH which extends flash endurance.
Hope it helps.