As additional information: when using a linker command file (AM3359_PRU.cmd) 
with following content, entry point function is always located at address 
0x0000 and it is not necessary to do the address initialisation described 
in last step above:

-cr
-stack 0x100
-heap 0x100

MEMORY
{
    PAGE 0:
      PRUIMEM:   o = 0x00000000  l = 0x00001000  /* 8kB PRU0 Instruction 
RAM */
    PAGE 1:
      PRUDMEM:   o = 0x00000000  l = 0x00001000  /* 8kB PRU Data RAM 0 */
}


SECTIONS
{
   GROUP: load = PRUIMEM
   {
      .text:_c_int00* :
      .text           :
   }
   .stack          >  PRUDMEM, PAGE 1
   .bss            >  PRUDMEM, PAGE 1
   .cio            >  PRUDMEM, PAGE 1
   .const          >  PRUDMEM, PAGE 1
   .data           >  PRUDMEM, PAGE 1
   .switch         >  PRUDMEM, PAGE 1
   .sysmem         >  PRUDMEM, PAGE 1
   .cinit          >  PRUDMEM, PAGE 1
}


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to