S32V234 access to OALSRAM gives Bus error (QNX)

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

S32V234 access to OALSRAM gives Bus error (QNX)

761 Views
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

Tags (3)
0 Kudos
1 Reply

588 Views
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 Kudos