Hi,
I'm looking for Boot_magic_address from CSL !!
CSL_BootCfgSetDSPBootAddress() should be not the right function after Ethernet Boot
instead I have to use this one. But I'm unable to found this magic address in C6670 data manual!
DEVICE_REG32_W( BOOT_MAGIC_ADDR(core_idx), 0x00800000);
from this example http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/291351/1086924.aspx#1086924
Thanks
Mehly
--------------------------------------
if (DNUM == 0)
{
// unlock BOOTCFG
CSL_BootCfgUnlockKicker();
for (core_idx = 1; core_idx < core_count; core_idx++)
{
CSL_BootCfgSetDSPBootAddress( core_idx, 0x00800000 );
// Generate inter DSP interrupt to slave cores 1..3 with the source ID as 0
CSL_BootCfgGenerateInterDSPInterrupt( core_idx, 0);
CycleDelay (100000000);
}
// lock BOOTCFG
CSL_BootCfgLockKicker();
--------------------------------------
#define DEVICE_REG32_W(x,y) *(volatile uint32_t *)(x)=(y)
#define DEVICE_REG32_R(x) (*(volatile uint32_t *)(x))
/* Magic address RBL is polling */
#define MAGIC_ADDR 0x8ffffc
#define BOOT_MAGIC_ADDR(x) (MAGIC_ADDR + (1<<28) + (x<<24))
DEVICE_REG32_W( BOOT_MAGIC_ADDR(core_idx), 0x00800000);