K60 with external code memory

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

K60 with external code memory

ソリューションへジャンプ
820件の閲覧回数
cktrod
Contributor I

I'm trying to run code in an external flash on the FlexBus.  I would like to set instruction breakpoints in the code in external flash for debugging. It appears that I will have to use the aliased region that resides on the code bus between 0x1800_0000 and 0x1BFF_FFFF (aliased to 0x9800_0000 and 0x9BFF_FFFF).  Is this correct?

Do I use the aliased address (0x1XXX_XXXX) for all references to this space in the linker file and CSARX?

I'm using a K60FX512VLQ12 and can't seem to read the memory in the memory window of my debugger (IAR EWARM) when the CSARX is set to 0x1800_0000, but if I change CSARX to one of the external memory/peripheral regions I can read the contents of my flash part.  Does my processor have the aliased region?  Are there any other settings that are required to enable this aliased function?

Thanks,

Rod

ラベル(1)
タグ(4)
0 件の賞賛
返信
1 解決策
680件の閲覧回数
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Rodney,

0x1800_0000–0x1BFF_FFFF can only be accessed by core only, so if you want to put your code there, it would be the better place other than the places can be accessed by all masters.


Have a great day,
B.R
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
681件の閲覧回数
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Rodney,

0x1800_0000–0x1BFF_FFFF can only be accessed by core only, so if you want to put your code there, it would be the better place other than the places can be accessed by all masters.


Have a great day,
B.R
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信