Not able to access modules under AIPS_A

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Not able to access modules under AIPS_A

553 Views
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? 

Labels (1)
Tags (1)
0 Kudos
3 Replies

485 Views
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 Kudos

485 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

which device?

Lukas

0 Kudos

485 Views
stefintomy
Contributor I

MPC5668G

0 Kudos