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,418 次查看
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,333 次查看
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,334 次查看
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,333 次查看
jeremiecorbier
Contributor III

Hi,

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

Thanks!

0 项奖励
回复