AnsweredAssumed Answered

How to Compile Multicore Program?

Question asked by pengpeng on Oct 30, 2013
Latest reply on Nov 4, 2013 by Aaronwu

Hi, all


I am testing the multicore feature of bf609. I was able to run the demo (msg1 on linux-coreA, mcapi_msg1 on bare-metal coreB). Previously I was able to write and compile simple programs like TCP/IP applications. Now I changed mcapi_msg1.c and the modification took effect when I compile. But somehow whatever change I made to msg1.c is ignored by the kernel compilation.


Following I found this msg1 under /usr/bin of bf609, and the corresponding file (5852B) type is:

msg1: ELF 32-bit LSB executable, Analog Devices Blackfin, version 1 (SYSV), dynamically linked (uses shared libs), stripped

So I tried to strip the msg1.o under /output/build/libmcapi-668/libmcapi-2.0/tests/msg1, using bfin-linux-uclibc-strip. But the resulting size doesn't match (1600B).


So in other words, how do I get the right msg1? Then maybe I can ftp it to the DSP and execute.


Any ideas? Thank you very much,