2008-07-29 06:56:53     stand application using dual core

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

2008-07-29 06:56:53     stand application using dual core

Pranay Upadhyay (INDIA)

Message: 59540   

 

Hello sir,

 

           I have tested the standalone application in single core for audio application from bfin-elf-gcc compiler and it is working correctly on BF 561Ez-kit after loading the elf file using u-boot.I had loaded and compile the recently used u-boot2008 version that support BF 561.

 

      Now I am using the core A and core B as used in the VDSP program. Is it posiible now that we can use both core at a time one core for video in and other core for the video out as used by the VDSP program? I have write the code for that type of application .The function which is used by coreb i have written lik this

 

void InitInterrupts_coreB(void) __attribute__ ((section (".b.text")));

void InitInterrupts_coreB(void)

 

But when we compile the program using  bfin-elf-gcc the isr function which used in the coreb , giving error that

 

No rule to make target 'isrb.o', needed by video ,stop.

 

I have written the MAKEFILE like this

 

 

OBJS= isra.o main.o I2C.o  isrb.o coreb.o

SRCS=$(SRCS:%.o=%.c)

CFLAGS=-g

 

all: video

 

.c.o:

bfin-elf-gcc -c -mcpu=bf561 $(CFLAGS) $< -o $@

 

codec: $(OBJS)

bfin-elf-gcc -o $@ -mcpu=bf561 -mmulticore $(OBJS)

 

clean:

rm -f video *.o *.i *.s

 

 

Is it possible to use core A and core B for using the video in-out apllication as used by the VDSP code.

 

-Regards

 

Pranay

Attachments

    Outcomes