AnsweredAssumed Answered

Segemtation Fault while trying to acess WeimNor memory in QT

Question asked by nishad kamdar on Apr 13, 2014
Latest reply on Apr 13, 2014 by Fabio Estevam

Hi all,

 

I have a custom board having iMX6q processor and i am using Ltib L3.0.35_4.1.0

 

i have a Weimnor connected to it, at the base address 0x08000000.

 

I am able to read and write to it using memtools. However when i write try reading the same memory location using QT application,  it gives me a Segmentation fault.

 

I guess it does not allow me to access the location. Can anyone suggest how i can read the Weim Nor flash using the Qt?

 

I have attached the Qt code.

 

Help would be appreciated.

 

regards,

nishad

Original Attachment has been moved to: mainwindow.cpp.zip

Outcomes