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.

console appliction using TMS570 USB development Kit

Hi,

I need to develope an interactive boot sequence software, where I need to have an option for enableing/disableing of peripherals before the start of acctual application code. And I need to implement this on TMS570 USB development kit using CCS console. Please let me know how to proceed and prove me if there ara any application notes.

 

Thanks & Regards,

Ajay

  • Ajay,

    You want this interactive mode to work when CCS is use to debug your application?

    If this is the case, CCS supports all standard I/O routine to print message to the console and enter data via the console.

    When the standard I/Os routine are used, a section named .sysmem is created and has to be mapped to your internal RAM via the linker command file.
    Here is an example of linker command file:

    MEMORY
    {
        VECTORS (X)  : origin=0x00000000 length=0x00000020
        FLASH0  (RX) : origin=0x00000020 length=0x0007FFE0
        FLASH1  (RX) : origin=0x00080000 length=0x00080000
        FLASH2  (RX) : origin=0x00100000 length=0x00080000
        FLASH3  (RX) : origin=0x00180000 length=0x00080000
        STACKS  (RW) : origin=0x08000000 length=0x00001500
        RAM     (RW) : origin=0x08001500 length=0x00026B00

    /* USER CODE BEGIN (2) */
    /* USER CODE END */
    }

    /* USER CODE BEGIN (3) */
    /* USER CODE END */


    /*----------------------------------------------------------------------------*/
    /* Section Configuration                                                      */

    SECTIONS
    {
        .intvecs : {} > VECTORS
        .text    : {} > FLASH0 | FLASH1 | FLASH2 | FLASH3
        .const   : {} > FLASH0 | FLASH1 | FLASH2 | FLASH3
        .cinit   : {} > FLASH0 | FLASH1 | FLASH2 | FLASH3
        .pinit   : {} > FLASH0 | FLASH1 | FLASH2 | FLASH3
        .bss     : {} > RAM
        .data    : {} > RAM

    /* USER CODE BEGIN (4) */

        .sysmem  : {} > RAM

    /* USER CODE END */
    }

    You can also have a look to the following thread for additional details:

    http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/196871.aspx

    Thanks and Regards,

    Jean-Marc


  • Thanks Marc.

    Now I am able to the debug using console. And the link provide (http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/196871.aspx) helped in removing the warning.

    Thanks & Regards,

    Ajay

     

  • Ajay,

    Can you mark my answer as "Verified Answer" so I can close this thread?

    Thanks and Regards.

    Jean-Marc

  • Hi Mrac,

     

    I am not much used-to to use this TI form, So please let me know where can I see this "Verified Answer" opetion.

     

    Thanks & Regards,

    Ajay.