Does mcp-5748g support Execution in place?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Does mcp-5748g support Execution in place?

1,075件の閲覧回数
niket_shah
Contributor I
0 件の賞賛
4 返答(返信)

877件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

technically - FLASH target is running from Flash (in meaning executed in place). Anyway - what is your approach? 

Jiri

0 件の賞賛

877件の閲覧回数
niket_shah
Contributor I

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?

0 件の賞賛

877件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

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  

0 件の賞賛

877件の閲覧回数
niket_shah
Contributor I

Thanks for the quick reply.

0 件の賞賛