Not able to access modules under AIPS_A

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

Not able to access modules under AIPS_A

671件の閲覧回数
stefintomy
Contributor I

177812_177812.jpgtlb_jpeg.jpg

 

I initialised memory location corresponding to AIPS_A as tlb 4. Does i need to do anything else to get access? 

ラベル(1)
タグ(1)
0 件の賞賛
返信
3 返答(返信)

603件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

That should be enough. This is default settings of MMU and also we can see that there are no registers for DSPI_C visible at 0xC3F90000:

pastedImage_1.png

Then I used this configuration:

lis r3, 0x1004

mtMAS0 r3

 

lis r3,0xC000

ori r3, r3, 0x0500

mtMAS1 r3

 

lis r3, 0xC3F0

ori r3, r3, 0x002A

mtMAS2 r3

 

lis r3, 0xC3F0

ori r3, r3, 0x003F

mtMAS3 r3

 

tlbwe

isync

(or this script for Lauterbach debugger: MMU.TLB1.SET 4.  0xC0000500 0xC3F0002A 0xC3F0003F)

... and I can see that the registers for DSPI_C are visible and writeable:

pastedImage_2.png

No other settings are necessary in this case.

Regards,

Lukas

0 件の賞賛
返信

603件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

which device?

Lukas

0 件の賞賛
返信

603件の閲覧回数
stefintomy
Contributor I

MPC5668G

0 件の賞賛
返信