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.

Compiler/TMS570LS3137: TMS570LS31x

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN, TMS570LS3134

Tool/software: TI C/C++ Compiler

I have the TMS570LS31x development kit. There is supposedly a basic demo SW package already installed and running in the board.

Where can I find the software project for that demo? I would like to be able to modify it, then  recompile in Code Composer.

The Quick Start Guide does not tell you whre to find this project.

There are numerous Hercules demos but I need some documentation to be able to run them in CCS.

Can someone enlighten me on where such documentation would be? Especially any documentation for the project already installed and  running in the board, upon unwrapping it?.

Thank You,

Nolan

  • Hello Nolan,

    I believe the SW you are referring to is the Hercules MCU Safety Demo SW. It should be included in the kit on the CD but it would probably be an older version. The latest version can be downloaded at this link: www.ti.com/.../hercules_safety_mcu_demos

    Note that the Safety Demo is a fairly dated application and the code supplied may not reflect the current code generated by our latest tools. However, it can be used as a learning guide.

    In addition you can download the latest version of HalCoGen for HAL SW generation at this link: www.ti.com/.../halcogen

    Halcogen is a GUI based IP configuration tool that allows you to configure the peripherals specifically for your application use case. Once configured, the tool can generate the HAL for your project. The HAL functions can then be called directly from main/within your application.

    Additionally there is a wiki with some training materials linked on the page. This is a link to that page: processors.wiki.ti.com/.../Category:TMS570
    This wiki has one and three day training slides along with some labs that will walk you through using Halcogen, importing to CCS, compile and programming into the device and running the application. Again, the material is a bit dated so tool versions mentioned may not be the latest but still it is a good step by step intro.

    There is also a series of videos for Hercules MCUs on this page: processors.wiki.ti.com/.../Videos. Again, a bit dated but still good materials to help ramp up on Hercules.

    Hopefully this information helps bring you up to speed where you can leverage the examples more effectively to understand Hercules and the peripherals on the chip.

    Also, please note that the part number you have mentioned -- TMS570LS3134 -- does not exist. The part number used on the HDK is the TMS570LS3137ZWT
  • Thanks a lot, Chuck
  • I was unable to download that reference from the TI website, for the latest demo version, my Virus SW at work claims it is a virus of course- A Gateway Anti_Virus Alert\ yet/ IT strikes again.

     

    But I was able to load off the demo project, compile, and load it/run successfully using the old project on the install disk.

     

    But that just leads to the question… what does it do?

     

    Can someone please give me a reference for some kind of write-up or user instructions for this project.  In the old days such items  were called “user documentation”.

     

    This project can apparently do great things, but without any documentation of HOW to run it, what to expect and what is required,  it’s kind of useless.

     

    I DO see in sys_main.c some switch statements keying off TaskNumber, which include cool tasks.

     

    However TaskNumber is always 0  there so none are ever done: I guess you have to manually change the task number. I can and did do that, but without any user documentation on what the tasks are actually supposed to do, and what command data  must send via UARt for example, really what have I accomplished..

    Thanks Again

    Nolan

  • Nolan,

    Don't put too much stock into the safety demo. It really is just a UART driven demo where the GUI (Labview application) is used to select a specific safety feature and execute that feature on the device showing a positive result when everything runs as expected and injection of an error to show the illumination of the nERRO R LED when a fault is injected.

    AS I said this is simply a demo with some SCI based protocol infrastructure to execute these tests. If you ca decipher the commands in the code you could probably use a telnet program to send packets and receive status updates. The LabView GUI has always been a bit particular and problem prone. This demo code is really not usable for more than a demonstration of some of the features/capability on the device.

    For real work and and less flash/GUI stuff, we have our SafeTI Diagnostic Library that can be integrated into your safety projects for real time diagnostics and fault injection capability in accordance with our safety manual. This library is available for free here www.ti.com/.../safeti_diag_lib.

    Note that the library isn't glamorous but allows for use in production code in safety projects. For general getting familiar with Hercules, there are alot of examples included in Halcogen (HELP-->EXAMPLES). The code examples provided there have better instruction on them with graphics in the integrated manual HELP-->Help Topics-->Content-->Examples
  • OK well I don't care if it is fancy, It's just a leaning tool. The problem is it has no documentation so you have to reverse engineer it, and no human has time for that.

    You say  it's just a UART  example but what are the port specifics on the UART?  Baudrate? Data Bits? Polarity? etc

    I am wasting  a lot of time guessing and poking around. I WOULD like to use it as a UART example but my psychic powers are running out.

    It has a LED demo and a CAN demo too, which I would like to see and explore , but there is no documentation on how to actually create and run any of these demos. When main starts you have to send it via UART 12 byes of command data but where is that command data defined.

    Since I DID spend some time tracking down this demo, getting it running, and it IS the demo for the board we are buying, could someone  PLEASE advise me of me some user docs to actually make use of this demo, versus telling me to just forget it?

    Thanks,

    Nolan

  • When you click on the URL you quoted (www.ti.com/.../safeti_diag_lib) ,it is rejected as a bad address. It must have been moved, Any idea of what the correct address is?