I need to achieve SPI nor boot(2 cores are used) on TMDSEVM6678L
first I managed to write the master_core code, it works well both on emulator and by SPI nor boot
Before trying the slave_core code, I need to fix the _c_int00, write its address on the end of each core's SRAM and write IPC interruption.
In order to fix _c_int00, I modified the platform information :(add BOOT_CORE0 BOOT_CORE1)
and .cfg file with the reference of SYS/BIOS FAQs
Program.sectMap[".myboot { boot.ae66< boot.oe66> (.text) }"] = new Program.SectionSpec();
Program.sectMap[".myboot { boot.ae66< boot.oe66> (.text) }"].loadSegment = "BOOT_CORE0";
Program.sectMap[".myboot { boot.ae66< boot.oe66> (.text) }"].loadAlign = 0x800;
although there is no error during the build, as soon as I connect core0 with emulator and load the program, it runs automatically and abort with the console information as follow
******************************
[C66xx_0] EVM_init
current_id= 0
A0=0x1 A1=0x80000448
A2=0x81e1a8 A3=0x1
A4=0x81e19c A5=0x81e18c
A6=0x81e1a4 A7=0x81e194
A8=0x81e1a0 A9=0x81e1ac
A10=0x1 A11=0x81e1b4
A12=0x81e190 A13=0x81e1b0
A14=0x81e180 A15=0x81e188
A16=0x81e17c A17=0x1
A18=0x81e17c A19=0x1
A20=0x81e178 A21=0xc0c57d9
A22=0x81e170 A23=0xc014f5a
A24=0x81e168 A25=0x1b
A26=0xbd381bef A27=0xc068420
A28=0x2 A29=0x81e178
A30=0x81e170 A31=0x0
B0=0x81e174 B1=0x81e17c
B2=0xc0c585e B3=0x81e098
B4=0xc06627c B5=0x0
B6=0x0 B7=0xc068e00
B8=0x810000 B9=0x81e100
B10=0x0 B11=0x81e100
B12=0xffffffff B13=0xffffffff
B14=0xfffffff7 B15=0x0
B16=0x66666666 B17=0x30666666
B18=0xfff717e6 B19=0x0
B20=0xffffffe8 B21=0xc0c5912
B22=0x2 B23=0x0
B24=0x5e204028 B25=0xc015d5c
B26=0xc063a10 B27=0xffbb273f
B28=0xc06ab30 B29=0x7fffff0a
B30=0xc06a9f0 B31=0xffffff0a
NTSR=0x1800c
ITSR=0x81e198
IRP=0xa
SSR=0x81e14c
AMR=0xc0c59a4
RILC=0x0
ILC=0x0
Exception at 0x1080e1b8
EFR=0x2 NRP=0x1080e1b8
Internal exception: IERR=0x8
Opcode exception
ti.sysbios.family.c64p.Exception: line 255: E_exceptionMin: pc = 0x0c0c590a, sp = 0x00000000.
To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
xdc.runtime.Error.raise: terminating execution
**********************
I am out of ways to figure out the specific fault
thanks for the notice and help