AnsweredAssumed Answered

S32V234 access to OALSRAM gives Bus error (QNX)  

Question asked by Ankitkumar Gandhi on Feb 28, 2019
Latest reply on Mar 1, 2019 by Mike Doidge

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

Outcomes