Hi,
I want to use Linux-c6x as the master and run mcoreloader to loade and boot other coers. I use ccs 5.3 compile a very simple code with ELF format, but I cannot load successful. However, the erros is as follows:
/mnt/nfs # /usr/bin/mcoreloader 1 led.out
ELF: ELF
ELF file header entry point: 8385a0
Program entry address: 0x8385a0
Program entry address not 10bit aligned trying to use reset vector table
Reset vector address: 0x0
ERROR: write to mcore control failed: Bad address
Failed to load on core '1'
However, I can load *.xe66 sucessfully in syslink demo. Tell me how to creat *.xe66 format file,thanks.
-----------------------------------------------------------
The example code is : :
int main()
{
*( volatile unsigned long *)(0x11800200) = 0xAAAA;
return 0;
}
------------------------------------------------------------------------------
link.cmd
-stack 0x8000
-heap 0x8000
MEMORY
{
DDR3 : o = 0x80000000, l = 0x10000000
L2 : o = 0x00830000, l = 0x00040000
}
SECTIONS
{
.text > L2
.cio > L2
.const > L2
.far > L2
.fardata > L2
.neardata > L2
.stack > L2
.switch > L2
.sysmem > L2
platform_lib > L2
.cinit > L2
.stack > L2
}
another simliar quesion is :http://e2e.ti.com/support/embedded/linux/f/354/p/249755/875697.aspx#875697
not be answered.
Thank you!