MQX Memory Direct Access ISSUE

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

MQX Memory Direct Access ISSUE

850件の閲覧回数
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.

タグ(4)
0 件の賞賛
返信
1 返信

726件の閲覧回数
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 件の賞賛
返信