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

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

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

Jump to solution
693 Views
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

Labels (1)
1 Solution
608 Views
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

View solution in original post

2 Replies
609 Views
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

608 Views
jeremiecorbier
Contributor III

Hi,

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

Thanks!

0 Kudos