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.

TMS320F28377D: Flash Boot Problem

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

Hello.

I am developing with the TMS320F28377D MCU.
I have a problem, so I am writing this post.

When I connect the XDS200 debugger, download to Flash, and run, the program works normally.
However, when I disconnect the debugger and turn off/on the power, it does not work. I can tell that it is not working properly by the LED on the Test Board.

Can you give me some advice on what might be wrong?

My project settings are as follows:

1) The base example used for the project was located in the following path:
    PATH = "C:\ti\c2000\C2000Ware_5_00_00_00\driverlib\f2837xd\examples\dual\ipc"
    Here, I used the "ipc_ex4_msgqueue_sysconfig_multi" project.

2) The project settings for CPU1 and CPU2 are set to "FLASH".
    This can be confirmed by checking that "Project-Properties-Genera-Configuration" is set to "FLASH[Active]".

3) When debugging, I am using the Multi project, not the projects for CPU1 and CPU2.
    When I check the "system.xml" file of the Multi project, I can see that the "Build Configuration" for CPU1/CPU2 is set to "FLASH".

4) When I check the CMD files for CPU1/CPU2, I can see that the location of BEGIN is pointing to address 0x80000.

5) When I look at the SECTIONS of the CMD file, I can see that codestart is allocated to BEGIN.

6) After calling the "Device_init();" function in CPU1 Code, I am executing the command "Device_bootCPU2(C1C2_BROM_BOOTMODE_BOOT_FROM_FLASH);" to allow CPU2 to boot from Flash.

7) When I look at the "Project-Properties-Build-C2000 Complier-Predefined Symbols" for CPU1 and CPU2, I can see that the "_FLASH" symbol is defined.

8) GPIO72/GPIO84 are in the HIGH state at boot. Based on this, I think the BOOT MODE of CPU1 is "Get Mode".

I don't know what other parts I should check.
I thought it would boot from Flash with the above settings.
Can you give me some advice?


  • If the content of my writing is too long and difficult to understand,
    As an alternative, could you tell me how to do a Flash boot with both CPU1/CPU2 using the TMS320F28377D?

    Please let me know which example project to use and which parts to modify to make Flash boot possible.

    For Example,  Code, Project Setting, and so on.
    If there is a definite method, First, I will create the development environment for it and then gradually add my current codes to it.

  • Hello Jaejun,

    Apologies for the delay, our expert is on emergency leave. Do you still need help with this?

  • Hi Jaejun,

    For reference example projects, you can look to the Blinky_DC or F2837xD_sci_flash_kernel projects (C:\ti\c2000\C2000Ware_5_01_00_00\device_support\f2837xd\examples\dual).

    For modifications, are you using the controlCard or LaunchPad? One thing to check with either project is the device header file (device.h) which can control the LED output as well as the source oscillating frequency for configuration. 

    Have you checked the device support repo for this device yet? I gather some more information on this request and update you tomorrow.

    Thanks and regards,

    Charles

  • Hi,

    It's been a while since I posted my question, and I've found the problem in the meantime.

    Thank you for your attention and response.