External abort when accessing UART1 from Secure User mode on SABRE SDP

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

External abort when accessing UART1 from Secure User mode on SABRE SDP

ソリューションへジャンプ
1,442件の閲覧回数
jeremiecorbier
Contributor III

I am running a userspace UART driver for UART1, on top of a microkernel. The whole thing is running in secure mode. The UART driver is executed in userspace. The kernel can send logs through the UART alright but my userspace driver is triggering external aborts when trying to do the same. At first I thought there was something wrong with CSL21 in the CSU but it looks like the reset value works for this configuration. I tried to change it to 0xff just to be sure and it didn't change a thing. Am I missing something? Are there any other reasons why a secure user access to a peripheral would fail?

Thanks

ラベル(1)
1 解決策
1,357件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Jeremie

I think one can check AIPSTZ security access settings

described in Table 13-2. Peripheral Access Configuration options

13.7.1 Security Block IMX6DQRM

Best regards

igor

元の投稿で解決策を見る

2 返答(返信)
1,358件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Jeremie

I think one can check AIPSTZ security access settings

described in Table 13-2. Peripheral Access Configuration options

13.7.1 Security Block IMX6DQRM

Best regards

igor

1,357件の閲覧回数
jeremiecorbier
Contributor III

Hi,

Indeed, you're right. I had forgotten setting up AIPSTZ so that unprivileged accesses to UART1 were allowed.

Thanks!

0 件の賞賛
返信