AnsweredAssumed Answered

BF561 simple dual core example

Question asked by dbrsdudk on Jun 3, 2010
Latest reply on Jun 4, 2010 by CraigG

Hi,

 

I'm using gcc (bfin-elf-gcc version 4.1.2) to program the BF561 and I'm trying to get a minimal example using both cores to work.

 

My program consists of a single file containing the two main functions, which simply performs endless loops:

 

int main(void)

{

  while(1);

}

 

int coreb_main(void)

{

  while(1);

}

 

If I disassemble the LDR file it seems to locate the two start procedures at 0xFFA00000 for core A and 0xFF600000 for core B, which as I understand it is as it is supposed to be.

 

However when I run the program it crashes with an external adressing errror.

 

Any suggestions on what I'm missing out. Should there be some special configuration in a linkerscript in order to make this work?

Outcomes