Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hi,
There is an issue with my project that I'm thinking you guys could help me with.
Background:
The project is being developed on two cpus. Codes are load in flash memories of both CPU while some of the time-oriented applications copied into RAM before running.
In CPU1, IPCBootCPU2(C1C2_BROM_BOOTMODE_BOOT_FROM_FLASH); command was used to boot CPU2 from FLASH.
When CPU1 and CPU2 both were connected with CCS and loaded with codes, the debug process was error-free. The application was running as it was designed.
Issue:
Step1: Some modifications had to be made in CPU1 application. After done that, I connected CPU1 to CCS while CPU2 remained disconnected(since I didn't change anything in CPU2 and it needn't to be debugged) with CCS to debug my codes in CPU1.
Step2: Under this condition, an IPC0 interrupt was received by CPU1 every time after IPCBootCPU2(C1C2_BROM_BOOTMODE_BOOT_FROM_FLASH) ; was executed.
Step3: If CPU2 and CPU1 were both connected and loaded with codes, the issue disappeared. There was no IPC0 interrupt fired from CPU2 to CPU1.
Question:
I was wondering what state the CPU2 was in when it was not connected with CCS(when only CPU1 was connected), so that it fired an IPC0 interrupt to CPU1.
I also looked through CPU2 bootrom code, and found out that there was no IPC0 interrupt fired. Normally it just run through the bootrom and in wait boot mode waiting for IPC command from CPU1.
I'm looking at the 'blinky_dc_cpu1' and 'blinky_dc_cpu2' dual-core example project provided in c2000_ware. It has the same issue if only CPU1 was connected and CPU2 disconnected.
Many thanks.
Best regards,
John
