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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

853 次查看
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 回复

574 次查看
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 项奖励
回复