UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor avanthi_84
Visitor
5,369 Views
Registered: ‎06-17-2008

Problem with APU Interface on ML403 PPC running Linux 2.4

Hi all,

 

I have designed one Xilinx EDK(version 10.1) project which has UART16550, SYSACE with interrupts and added Tripple DES core(From Impulse Co-developer) with APU interface. This has worked fine in the standalone environment. So i have generated BSP from this project and Configured the linux kernel. Linux is booting successfully with the combined bitstream. 

 

I am trying to test the compiled (GCC PowerPC cross compiler) impulse C software executable in the linux environment.

When i try to run my software , Processor hanged after the 15th character in the first printf statement as shown below.

 

@#./3DES

@#

Impulse C 3DES D

 

 all other programs working fine.

 

 

Please see the Software main() function  below...

 

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

{

unsigned char * key = (unsigned char *) "Gflk jqo40978J0dmm$%@878"; /* 24 bytes */

co_architecture my_arch;

printf("Impulse C 3DES DEMO\n\r");

des3key(Ks, key, 0); /* Create a keyschedule for encryption */

printf("Running encryption test on FPGA ...\n\r");

my_arch = co_initialize((void *)Iterations);

co_execute(my_arch);

printf("Running encryption test on CPU ...\n\r");

des_c();

IF_SIM(printf("Press Enter key to continue...\n");)

IF_SIM(c=getc(stdin);)

return(0)

}

 

What could be the problem.

 

Any help would be appreciated

 

 

Thanks,

 

Reddy

 

 

 

 

0 Kudos