S32V234 access to OALSRAM gives Bus error (QNX)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32V234 access to OALSRAM gives Bus error (QNX)

860 次查看
ankitkumar_gand
Contributor I

I am trying use VSDK for S32V234 on QNX. OAL kernel driver looks fine, but while accessing it through OAL library gives bus error.

I am creating these memory regions

  {"/memory/below4G/ram/oalddr0", 0x8B000000, 0x05000000, 0, 0x1000, 0 ,1},

  {"/memory/below4G/ram/oalddr1", 0xCB000000, 0x05000000, 1, 0x1000, 0, 1},

  {"/memory/below4G/oalsramS", 0x3E800000, 0x00300000, 2, 0x8, 1, 0},

  {"/memory/below4G/oalsramM", 0x3EB00000, 0x00100000, 3, 0x8, 1, 0}

Access to OALDDR0/1 is fine, but access to OALSRAMS/M doesn't work.

 

handle_oal = OAL_MemoryAllocFlag(1024, OAL_MEMORY_FLAG_ALIGN(ALIGN2_CACHELINE)|OAL_ALLOC_SRAM_SINGLE);

Thanks

标记 (3)
0 项奖励
回复
1 回复

687 次查看
mikedoidge
NXP Employee
NXP Employee

Hi ankitkumar.gandhi@nio.io,

This is not the correct community to post S32V2 questions.

Moreover, we have stopped supporting S32V2 community group. But we still support S32V2 question using our ticketing system.

For future questions, please create the request at www.nxp.com/support using Support Requests option. Our experts will help you.

Thank you for understanding.

Mike

0 项奖励
回复