2008-06-12 23:17:15     problem in libbfdsp fft application

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-06-12 23:17:15     problem in libbfdsp fft application

Young Kyle (CHINA)

Message: 57197   

I an using cfft_fr16(),when application is running

error happened:

data access misaligned address violation

  - Attempted misaligned data memory or data cache access

when I used command bfin-uclinux-addr2line to trace the

problem. the result is:

.start_s_butterfly

cfft_fr16.asm:0

the programe is follow:

#define SIZE 512

complex_fract16 twiddle_table[SIZE];

complex_fract16 input[SIZE]; 

complex_fract16 output[SIZE];

int main(int argc, char* argv[]) {

int p;

    twidfftrad2_fr16(twiddle_table, SIZE);

    cfft_fr16(input, output, twiddle_table, 1, SIZE,

&p,0);

  

}

How to solve this preblem????

thanks

 

 

 

QuoteReplyEditDelete

 

 

2008-06-13 12:31:50     Re: problem in libbfdsp fft application

Bernd Schmidt (GERMANY)

Message: 57243   

 

I've committed a fix in both trunk and 08r1 branch.

Attachments

    Outcomes