MQX Memory Direct Access ISSUE

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

MQX Memory Direct Access ISSUE

404 Views
sunghokim
Contributor I

Hi, This is Sungho from South Korea.

I`m using 'i.mx6sx-sdb' board to build some application with PURE MQX BSP/PSP library(with no config modifications).

I`m wondering why Direct Memory Accessing to peripherals makes  'MQX_AUTO_START_TASK' attributed Task stop...(may jumped to some exception handler...)

I didn`t set MQX_ENABLE_USER_MODE <= this #define when copmpiled with bsp.a/psp.a  

Is this MPU related issue? or Privileged Mode related issue? or RDC issue? or Clock Source Configure issue? :smileysad:

Memory Access Code is like this........reg = *(uint32_t *)0x020A8000;

Regarding MPU and Privileged Mode,

I searched all the BSP code but could not find the MPU configuration section.

Need a Help...please

Any replies will be appreciated.

Thanks.

Tags (4)
0 Kudos
1 Reply

280 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I just want to double check. Do all the memory regions generate this problem?

After cheking the 0x020A_8000 address

"0x0080_0000-0x0fff_ffff 248 0x8080_0000 Reserved CM4 DDR code alias"

It seems to be resereve for the Cortex-A5.

Best Regards,

Alejandro

0 Kudos