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.

TMS320F28388D: CPU2 boot from Flash - Bitfield examples

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hello,

The project that i've created in CCS is directly imported from C:\ti\c2000\C2000Ware_5_03_00_00\device_support\f2838x\examples, which is a bitfield example. I'm trying to have the code to run on flash but CPU2 is not booting.

In the driverlib example there's Device_bootCPU2(BOOTMODE_BOOT_TO_FLASH_SECTOR0), but im not seeing any code in the bitfield examples telling CPU2 to boot from flash. I would like to stay with bitfield as much as possible given the code is already done and tested. Where can i find example in bitfield that takes care of this issue? Thank you.

Austin

  • Hi Austin,
    An equivalent API is not used in the bitfield examples. To set the bootmode, you can use the IPC_setBootMode API which is defined in the IPC driver or the same Device_bootCPU2.
    For a similar (but not the same) API that uses bitfield, you can refer to IPCBootCPU2() at \device_support\f2837xd\common\source\F2837xD_Ipc_Driver_Util.c

    Regards,
    Samritha

  • Hello Samritha,

    Are you suggesting that the F28388D can only use driverlib to boot CPU2 since the file that defines IPCBootCPU2() is not available? Thank you.

    Austin

  • Hi Austin,
    ..\device_support\f2838x\common\include\f2838x_ipc_defines.h does not have a define to set the bootmode, so we don't have it used in our examples. I can confirm the reason for its absence once the expert is back (they are currently out of office). 
    However, I hope, since we have the structures defined at ..\device_support\f2838x\headers\include\f2838x_ipc.h , it could be used to write the bitfield code. 

    Regards,

    Samritha