Other Parts Discussed in Thread: C2000WARE
Hi Team,
Is it possible to load all program(CPU1's & CPU2's) by only using CPU1?
--
Thanks & Regards
Yale Li
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Team,
Is it possible to load all program(CPU1's & CPU2's) by only using CPU1?
--
Thanks & Regards
Yale Li
Yale,
All the programs can be loaded from Flash, and CPU1 controls the booting of CPU2 from Flash
You can take a look at IPC example, and look into STANDALONE build configuration.
File : C:/ti/c2000/C2000Ware_4_02_00_00/driverlib/f2837xd/examples/dual/ipc/ipc_ex1_gpio_toggle_cpu1.c
//
// Send boot command to allow the CPU2 application to begin execution
//
Device_bootCPU2(C1C2_BROM_BOOTMODE_BOOT_FROM_FLASH);
Regards, Santosh
Hi Santosh,
Sorry for the unclear description. The 'load' here is related to programming.
According to sprabv4e_Serial Flash Programming of C2000 Microcontrollers (Rev. E), we can program the device by SCI.
For dual core device, is it possible to program both CPU1's code and CPU2's code only by using CPU1(CPU1's flash kernel)?
--
Thanks & Regards
Yale
Hi Yale,
It is not possible to use CPU1 flash kernel to program CPU2' flash bank.
However, if you want to transfer the CPU2 kernel to CPU2 memory via IPC from CPU1 - you can stream in the kernel using the CPU1 bootloader.
Thanks and regards,
Vamsi
Hi Vamsi,
Thanks.
I have a further question. If customer use custom bootloader, and want to program CPU2's code through CPU1, he can only use IPC to achieve it?
My opinion is yes according to the architecture of memory:

I want to double check with you.
--
Thanks & Regards
Yale
Hi Yale,
Yes, there is no connection between CPU1 flash wrapper and CPU2 flash bank. Hence, you need to use IPC to sync between the two cores to accomplish it.
Thanks and regards,
Vamsi