Execution in place (XIP) feature is supported by mcp-5748g or not?
Hi,
technically - FLASH target is running from Flash (in meaning executed in place). Anyway - what is your approach?
Jiri
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?
Hi,
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.
Jiri
Thanks for the quick reply.