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.

Problem with the form that are load a program in a Control CARD DVR8301-69M-KIT

Other Parts Discussed in Thread: CONTROLSUITE

Hi good day,

I finished my program in this control card and my project operated very well, but i have some inconvenient with the form that is loaded the program in the MCU.

In fact i had my program configurated to operate in real time, i have active the DEBUG option in the build configurations for this, and i can work with my PC. But in this moment i need load the program that i developed in the control card or more exactly in the MCU, for develop this code my project without PC. For this, i changed the build confuguration to active REALISE, and i can work without my PC perfect, but when i turn off the power source of the control card and after this i turn on the power source, the program is lost, the program not are in the MCU. The program is erased when i turn off the power source.

I need that this program can be loaded always in the MCU, independient if i turn off or not the power source of my card. I need that this program can will be save in the MCU alway,

Thanks for your help.

Please tell me if have a solution.

Regards

David Becerra

  • Hi David,

    david becerra said:
    need that this program can be loaded always in the MCU, independient if i turn off or not the power source of my card. I need that this program can will be save in the MCU alway,

    This issue pertains to the linker file (.cmd file). I guess you're cmd file has RAM configurations and what you require for standalone operation is flash based cmd file. Check the example code present in this folder to do the same: 

    C:\ti\controlSUITE\device_support\f2806x\v136\F2806x_examples_ccsv5\flash_f28069

    Regards,

    Gautam

  • Hi Gautam,

    I check this example but i don't undestand if the problem for me is with the boot mode of the controlCARD or with the code of programing the RAM registers.

    I undestand that in this example enable or disable the GPIO34 with the interrupts of the ePWM to use the RAM memory, ¿its is true?, ¿is the same that change the swith SW1 (boot mode) to wait mode?

    Bood mode:

  • In fact, i don't have any configuration of the RAM registers.

    If you can see my program for help me, i will thank you.

    Link program: 

    https://www.dropbox.com/s/tvbaq16bf2fu0gn/Run_Motor.c?dl=0 

    And i am going to show you, the positions of the switches that i have in this moment:

    SW1:

    SW2:

    SW3:

    Thanks for your help