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/TMS320F28075: TMS320F28075

Part Number: TMS320F28075

Tool/software: Code Composer Studio

Hello.
I would like to know if it is possible to put my board in the boot mode from my application with an appropriate jump command or software function. Can you give me an example code? I work with Piccolo TMS320 F28075. Thank you.

  • Hi Mik Brigante, 

    Please have  look at the following training material for the class of device that you are using:

    http://processors.wiki.ti.com/index.php/C2000_Archived_Workshops#F28069_Workshops 

  • I reproduce device hardware reset via watchdog with this code without problem:

    EALLOW;

    WdRegs.SCSR.all = 0;

    ...

    WdRegs.WDCR.all = 0x2F;

    WdRegs.WDCR.all = 0x78;
    EDIS;

     Now I want to overwite BMODE and KEY registers but my code doesn't work.

    In my linker file I made these changes:

    BOOTCTRL    : origin = 0x05F004, length = 0x000002 // 0x05F004 is origin address of BOOTCTRL BMODE and KEY registers

    and then: 

    BootMode : > BOOTCTRL,  PAGE = 0

    BootMode is defined in my C source code:

    const Uint16 BootControl = 0x5A01; // for SCI boot in 1-1 GET MODE bootload
    #pragma DATA_SECTION(BootControl, "BootMode");

    BMODE and KEY registers remain equal to FF values and so my code doesn't work correctly.

    Practically I want to start SCI bootloading procedure without BOOT and RESET buttons pressure on my board, but I want to use only a software command. 

  • Hi,

    BOOTCTRL register is READ ONLY. You can not modify it from application code. It's get loaded from value programmed at BOOTCTRL location in USRE OTP so you can not change the BOOT mode like this. Even if you program USEROTP location, it's one time programmable hence you can not change it again.

    In this case what you need to do is have secondary boot loader in your application which can recognize some specific command and then jump to SCI boot loading.

    Regards,

    Vivek Singh

  • Ok thank you Vivek. I undestand.

    But are there examples on this application jump to SCI boot procedure?

    Thanks

    MiK