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.

TMS570LS1227: Programming spec for TMS570LS1227

Part Number: TMS570LS1227

Dear Sir,

This is Jack from IC programmer manufacturer.

I'm writing the email that we need the programming spec of TMS570LS1227.

This device should use JTAG for programming, but we don't know the protocol and process. 

Could you help to provide the detail information or documents to us for development?

Thank you.

Jack Hsu. 

  • Hi Jack,

    Here is the flash library for programming and erasing the onchip flash:
    www.ti.com/.../F021FLASHAPI

    The "Advanced F021 Flash API Erase/Program Usage" and "reference guide" are also installed in the folder.
  • Hi QJ,

    Thanks for your information.

    Do you have the sample code or sample project for reference?

    Thanks.

    BR,

    Jack Hsu

  • Hi Jack,

    Please find the bl_flash.c and related header files in Hercules Bootloader:

    www.ti.com/.../spna190.pdf

    The source code discussed in this application report can be downloaded from the
    following URL: www.ti.com/.../spna190.
  • Hi QJ,

    Thanks for your information.

    Our engineer has completed the boot code through CCS, but he don't know how to read/write the boot code to ram of IC through DP programmer.

    We used JTAG interface. Could you help to support it? or help to provide the document about boot code setup through JTAG.

    In addition, we didn't find out the register define of ARM. Could you help to provide this document about this?

    It is helpful to implement to set up programming process.

    Thank you.

    Jack Hsu

  • Hi Jack,

    In CCS,
    1. View --> Target configuation to create configuration file for your target
    2. Launch the target configuration
    3. Connect the device
    4. RUN-->load the code to the flash

    This is a good web to learn the target configuration, load code to the target.
    processors.wiki.ti.com/.../Debug_Handbook_for_CCS
  • Hi QJ,

    Thanks for your information.

    Maybe i didn't explain the situation clearly.

    We are a programmer manufacturer(DediProg), and customer(Alpine) brought our programmer to program their ICs for production.

    We need your help to develop this device into our programmer.

    Now we have completed the boot code through CCS, and it works.

    But we don't know how to write the boot loader into RAM of TMS570xx through our programmer with JTAG.

    We need the detail information to embed the programming process into our programmer.   

    There is our programming process.

    Step 1. Power on and initialize (Maybe we need to know what's setting)

    Step 2. Read JTAG ID and make sure the connection between programmer and IC.

    Step 3. Load Boot code to RAM (we don't know the procedure and need your help)

    Step 4. Set PC and run the boot loader

    Step 5. Send the command to boot loader to do erase/program/verify

    Step 6. finish

    Thanks.

    Jack Hsu

  • HiJack,

    Does the step 3 mean the JTAG protocol?

    In CCS, you can load the code to either flash or to the internal RAM. CCS has one menu called "scripts" which is used to swap flash and data RAM.

    The main flash instruction memory is addressed starting at 0x00000000 by default. The CPU data RAM is addressed starting at 0x08000000 by default.

    The device also supports the swapping of the CPU instruction memory (flash) and data memory (RAM). This can be done by configuring the MEM SWAP field of the Bus Matrix Module Control Register 1 (BMMCR1).

    After swapping, the data RAM is accessed starting from 0x00000000 and the RAM ECC locations are accessed starting from 0x00400000. The flash memory is now accessed starting from 0x08000000.
  • Hi QJ,

    Yes, we use JTAG interface for programming.

    We know how to use CCS to load code to RAM, but it is used on the CCS.

    We have to use our programmer to load boot code to RAM through JTAG, and control the boot code to do programming process.

    Now our engineer use oscilloscope to capture the waveform and analysis the protocol, and then find the information from TI documents.

    It is difficult to support this.

    Could you share your email or Skype or Line or wechat? i want to connect our engineer to discuss this case with you directly.

    Thank you.

    Jack Hsu

  • Hello Jack,

    Please add me as friend
  • Hi QJ,

    Thanks for your support.

    I show you the list which engineer captures the waveform and transform to data from TI tool with CCS.

    I discuss this case with engineer.  Could you share the source code about download to ram and programming from CCS, or share some document as it. we think it is helpful for us.

    In addition, Do you have engineer or FAE can help us in Taipei?

    There is our email.

    Jack Hsu(FAE) : jack.hsu@dediprog.com

    Raphael (Engineer) : raphael.wu@dediprog.com

    Thank you.

    Jack Hsu.

  • Hi Jack,

    Please use this appnote and example as a good reference.

    www.ti.com/.../spna230.pdf