[iMX51] Workaround in my BSP : Write in AIPS 0x77777777?

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

[iMX51] Workaround in my BSP : Write in AIPS 0x77777777?

816件の閲覧回数
florentguichard
Contributor I

In my Bsp of iMX512, a work around is executed at the beginning:

/* workaround for UART SDMA support */

    LDR r1, =0x73F00000

    LDR r2, =0x77777777

    STR r2, [r1]

The 0x73F00000 address seems to be inside AIPS but this is not documented by Freescale.

Do you have any information about the purpose of this workaround? Is it the correct address?

Thank you in advance for your help.

Florent

0 件の賞賛
返信
1 返信

537件の閲覧回数
ZeeFrench
NXP Employee
NXP Employee

Hello Florent,

This was supposed to be added on the new version of the manual but was never done. If you look at iMX53 RM, chapter AIPSTZ describes those MPROT registers : after reset, only ARM core is allowed to access this set of peripheral, writing 0x77777777 is allowing all masters, including SDMA to do so. If you want to allow SDMA to access the uart, this is indeed required in your specific OS.

Best regards, Philippe.

0 件の賞賛
返信