JTAG access p1020 CCSRBAR memory

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

JTAG access p1020 CCSRBAR memory

ソリューションへジャンプ
754件の閲覧回数
zzzzzzz
Contributor II

Hi all .

        i have a custom board of P1020 which i want read CCSRBAR value after the board power up by JTAG. The e500 core have only 4K tlb memory map valid after reset , the CCSRBAR 1M memory don't have default TLB to map it . I find no TLB correspond to CCSRBAR memory have been set up before JTAG access the memory region .  The AN3366 "Simplifying Board Bringup" pdf show how to set up Initialization file for JTAG ,  i can't find any step to create TLB before access CCSRBAR region.  Is there no need set TLB for CCSRBAR region ?  can someone give me some suggestion ?

thank you 

1 解決策
492件の閲覧回数
ufedor
NXP Employee
NXP Employee

Please note that correctly configured TLB is always required when Core is accessing memory.

CodeWarrior (or another debugger) reads and writes target hardware memory through the SAP (System Access Port) which is independent of the Core complex (including MMU), so it is able to use direct physical addresses to perform its operations.

Right after reset it is possible to access 1 MB CCSRBAR and 4KB default boot ROM memory spaces by means of the SAP.

元の投稿で解決策を見る

1 返信
493件の閲覧回数
ufedor
NXP Employee
NXP Employee

Please note that correctly configured TLB is always required when Core is accessing memory.

CodeWarrior (or another debugger) reads and writes target hardware memory through the SAP (System Access Port) which is independent of the Core complex (including MMU), so it is able to use direct physical addresses to perform its operations.

Right after reset it is possible to access 1 MB CCSRBAR and 4KB default boot ROM memory spaces by means of the SAP.