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.

CCS/C2000-F28004X-POWER-EST-CALC: the "flash" mode doesn't work

Part Number: C2000-F28004X-POWER-EST-CALC

Tool/software: Code Composer Studio

hello,

I control motor with my TI card and i aim to use it without PC. Following the start of my program, if i unplug and reconnect the current to the card, it doesn't work anymore. However my goal is to make it work. One of your expert advise me to read the 20 page of this link : https://dev.ti.com/tirex/explore/node?node=AB7tA2xX4yXlPxzl5o3s1w__0.jXikd__LATEST . So i apply it and nothing happen more than before. i was on "RAM" mod instead of "Flash". There is no error messages though.

best regards,

Nicolas Grangier

  • Nicolas,

    Just to confirm:  You are now using Flash build configuration and the blinky is not working upon power cycle - correct?

    Take a look at this FAQ post: e2e.ti.com/.../878674

    Please try the suggestions (especially the boot mode pin configuration should be set to boot to flash) mentioned in above FAQ and let us know if it does not help.

    Thanks and regards,
    Vamsi

  • Hello,

    I’m using is07 instead of os01 which was proposed in the link.

    How to find TRM’s BootROM chapter ?

    How to run thé app in standalone mode without debugger ? (1)

    In is07 i have 2 variables that i need to change values in the initial variables (the 2 first expressions)

    maybe my problem comes from there.

    3(a) : i really have no idea how to verify it.

    How to find the f28x_codestartbranch.asm ? (b)

    how to find the linker cmd file ?(c)

    i apply the (d) but without succes.

  • Nicolas,

    1. BootROM Chapter: Please see Chapter 4 ROM Code and Peripheral Booting in TRM (https://www.ti.com/lit/pdf/sprui33).

    2. Running standalone mode: Once you load the code to flash and set the boot pins to flash boot, you can remove the debugger and power cycle the board. This is what we meant standalone mode. 

    3. (3a) -> In CCS debug window, click on "On-chip Flash". In the On-chip Flash plugin window, make sure the AutoEccGeneration is enabled (it is enabled by default).

    4. (3b and 3c): Take a look at the files included in your project in the CCS project view.  You will find these files.

    I suggest you to take the F28004x workshop to learn the basics: training.ti.com/c2000-f28004x-microcontroller-workshop

    Thanks and regards,

    Vamsi