在6657上IPC通信出现问题,单步调试时看IPCGRx寄存器,对其写数值后该寄存器value还是0,没有改变;对KICK寄存器进行了UNLOCK,数值还是不变
#define CHIP_LEVEL_REG 0x02620000
// Boot cfg registers
#define KICK0 *(unsigned int*)(CHIP_LEVEL_REG + 0x0038)
#define KICK1 *(unsigned int*)(CHIP_LEVEL_REG + 0x003C)
#define KICK0_UNLOCK 0x83E70B13
#define KICK1_UNLOCK 0x95A4F1E0
#define KICK_LOCK 0
........
// Unlock Config
KICK0 = KICK0_UNLOCK;
KICK1 = KICK1_UNLOCK;
*(volatile uint32_t *) iIPCGRInfo[iNextCore] = interruptInfo;
*(volatile uint32_t *) iIPCGRInfo[iNextCore] |= 1;
// lock Config
KICK0 = KICK_LOCK;
KICK1 = KICK_LOCK;